{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://zieapi.vercel.app"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/analytics:googleapis-iamcredentials/iamcredentials-projects-service-accounts-get-allowed-locatio":{"get":{"operationId":"analytics_googleapis_iamcredentials_iamcredentials_projects_service_accounts_get_allowed_locatio","summary":"Returns the trust boundary info for a given service account.","description":"GET /v1/{+name}/allowedLocations","tags":["analytics"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. Resource name of service account. Format: `projects/-/serviceAccounts/{service_account_email}`","schema":{"type":"string","description":"Required. Resource name of service account. Format: `projects/-/serviceAccounts/{service_account_email}`"}}],"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-iamcredentials/iamcredentials-projects-service-accounts-generate-access-tok":{"post":{"operationId":"analytics_googleapis_iamcredentials_iamcredentials_projects_service_accounts_generate_access_tok","summary":"Generates an OAuth 2.0 access token for a service account.","description":"POST /v1/{+name}:generateAccessToken","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the service account for which the credentials are requested, in the following format:…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iamcredentials/iamcredentials-projects-service-accounts-generate-id-token":{"post":{"operationId":"analytics_googleapis_iamcredentials_iamcredentials_projects_service_accounts_generate_id_token","summary":"Generates an OpenID Connect ID token for a service account.","description":"POST /v1/{+name}:generateIdToken","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the service account for which the credentials are requested, in the following format:…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iamcredentials/iamcredentials-projects-service-accounts-sign-blob":{"post":{"operationId":"analytics_googleapis_iamcredentials_iamcredentials_projects_service_accounts_sign_blob","summary":"Signs a blob using a service account's system-managed private key.","description":"POST /v1/{+name}:signBlob","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the service account for which the credentials are requested, in the following format:…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/analytics:googleapis-iamcredentials/iamcredentials-projects-service-accounts-sign-jwt":{"post":{"operationId":"analytics_googleapis_iamcredentials_iamcredentials_projects_service_accounts_sign_jwt","summary":"Signs a JWT using a service account's system-managed private key.","description":"POST /v1/{+name}:signJwt","tags":["analytics"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Required. The resource name of the service account for which the credentials are requested, in the following format:…"},"body":{"type":"object","description":"JSON request body"}}}}}},"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":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"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"}}}}}}}