{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-protected-resources-search":{"get":{"operationId":"analytics_googleapis_kmsinventory_kmsinventory_projects_protected_resources_search","summary":"Returns metadata about the resources protected by the given Cloud KMS CryptoKey in the given Cloud…","description":"GET /v1/{+scope}/protectedResources:search","tags":["analytics"],"parameters":[{"name":"cryptoKey","in":"query","required":false,"description":"Required. The resource name of the CryptoKey.","schema":{"type":"string","description":"Required. The resource name of the CryptoKey."}},{"name":"pageSize","in":"query","required":false,"description":"The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be…","schema":{"type":"integer","description":"The maximum number of resources to return. The service may return fewer than this value. If unspecified, at most 500 resources will be…"}},{"name":"pageToken","in":"query","required":false,"description":"A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page.…","schema":{"type":"string","description":"A page token, received from a previous KeyTrackingService.SearchProtectedResources call. Provide this to retrieve the subsequent page.…"}},{"name":"resourceTypes","in":"query","required":false,"description":"Optional. A list of resource types that this request searches for. If empty, it will search all the [trackable resource…","schema":{"type":"string","description":"Optional. A list of resource types that this request searches for. If empty, it will search all the [trackable resource…"}},{"name":"scope","in":"query","required":true,"description":"Required. A scope can be an organization or a project. Resources protected by the crypto key in provided scope will be returned. The…","schema":{"type":"string","description":"Required. A scope can be an organization or a project. Resources protected by the crypto key in provided scope will be returned. The…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-crypto-keys-list":{"get":{"operationId":"analytics_googleapis_kmsinventory_kmsinventory_projects_crypto_keys_list","summary":"Returns cryptographic keys managed by Cloud KMS in a given Cloud project. Note that this data is sourced…","description":"GET /v1/{+parent}/cryptoKeys","tags":["analytics"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be…","schema":{"type":"integer","description":"Optional. The maximum number of keys to return. The service may return fewer than this value. If unspecified, at most 1000 keys will be…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. Pass this into a subsequent request in order to receive the next page of results.","schema":{"type":"string","description":"Optional. Pass this into a subsequent request in order to receive the next page of results."}},{"name":"parent","in":"query","required":true,"description":"Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/*`","schema":{"type":"string","description":"Required. The Google Cloud project for which to retrieve key metadata, in the format `projects/*`"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-kmsinventory/kmsinventory-projects-locations-key-rings-crypto-keys-get-pr":{"get":{"operationId":"analytics_googleapis_kmsinventory_kmsinventory_projects_locations_key_rings_crypto_keys_get_pr","summary":"Returns aggregate information about the resources protected by the given Cloud KMS CryptoKey. By default,…","description":"GET /v1/{+name}/protectedResourcesSummary","tags":["analytics"],"parameters":[{"name":"fallbackScope","in":"query","required":false,"description":"Optional. The scope to use if the kms organization service account is not configured.","schema":{"type":"string","enum":["FALLBACK_SCOPE_UNSPECIFIED","FALLBACK_SCOPE_PROJECT"],"description":"Optional. The scope to use if the kms organization service account is not configured."}},{"name":"name","in":"query","required":true,"description":"Required. The resource name of the CryptoKey.","schema":{"type":"string","description":"Required. The resource name of the CryptoKey."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}