{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://www.apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:azure-keyvault-secrets/get-deleted-secrets":{"get":{"operationId":"cloud_azure_keyvault_secrets_get_deleted_secrets","summary":"Lists deleted secrets for the specified vault.","description":"GET /deletedsecrets","tags":["cloud"],"parameters":[{"name":"vaultBaseUrl","in":"query","required":true,"description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com","schema":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"7.6","description":"The API version to use for this operation."}},{"name":"maxresults","in":"query","required":false,"description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results.","schema":{"type":"integer","description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results."}}],"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/cloud:azure-keyvault-secrets/get-deleted-secret":{"get":{"operationId":"cloud_azure_keyvault_secrets_get_deleted_secret","summary":"Gets the specified deleted secret.","description":"GET /deletedsecrets/{secret-name}","tags":["cloud"],"parameters":[{"name":"vaultBaseUrl","in":"query","required":true,"description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com","schema":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"7.6","description":"The API version to use for this operation."}},{"name":"secret-name","in":"query","required":true,"description":"The name of the secret.","schema":{"type":"string","description":"The name of the secret."}}],"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/cloud:azure-keyvault-secrets/purge-deleted-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_purge_deleted_secret","summary":"Permanently deletes the specified secret.","description":"DELETE /deletedsecrets/{secret-name}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the secret."}}}}}},"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/cloud:azure-keyvault-secrets/recover-deleted-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_recover_deleted_secret","summary":"Recovers the deleted secret to the latest version.","description":"POST /deletedsecrets/{secret-name}/recover","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the deleted secret."}}}}}},"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/cloud:azure-keyvault-secrets/get-secrets":{"get":{"operationId":"cloud_azure_keyvault_secrets_get_secrets","summary":"List secrets in a specified key vault.","description":"GET /secrets","tags":["cloud"],"parameters":[{"name":"vaultBaseUrl","in":"query","required":true,"description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com","schema":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"7.6","description":"The API version to use for this operation."}},{"name":"maxresults","in":"query","required":false,"description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results.","schema":{"type":"integer","description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results."}}],"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/cloud:azure-keyvault-secrets/set-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_set_secret","summary":"Sets a secret in a specified key vault.","description":"PUT /secrets/{secret-name}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name","body"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the secret. The value you provide may be copied globally for the purpose of running the service. The value provided should not…"},"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/cloud:azure-keyvault-secrets/delete-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_delete_secret","summary":"Deletes a secret from a specified key vault.","description":"DELETE /secrets/{secret-name}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the secret."}}}}}},"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/cloud:azure-keyvault-secrets/get-secret":{"get":{"operationId":"cloud_azure_keyvault_secrets_get_secret","summary":"Get a specified secret from a given key vault.","description":"GET /secrets/{secret-name}/{secret-version}","tags":["cloud"],"parameters":[{"name":"vaultBaseUrl","in":"query","required":true,"description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com","schema":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"7.6","description":"The API version to use for this operation."}},{"name":"secret-name","in":"query","required":true,"description":"The name of the secret.","schema":{"type":"string","description":"The name of the secret."}},{"name":"secret-version","in":"query","required":true,"description":"The version of the secret. This URI fragment is optional. If not specified, the latest version of the secret is returned.","schema":{"type":"string","description":"The version of the secret. This URI fragment is optional. If not specified, the latest version of the secret is returned."}}],"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/cloud:azure-keyvault-secrets/update-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_update_secret","summary":"Updates the attributes associated with a specified secret in a given key vault.","description":"PATCH /secrets/{secret-name}/{secret-version}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name","secret-version","body"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the secret."},"secret-version":{"type":"string","description":"The version of the secret."},"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/cloud:azure-keyvault-secrets/backup-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_backup_secret","summary":"Backs up the specified secret.","description":"POST /secrets/{secret-name}/backup","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","secret-name"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"secret-name":{"type":"string","description":"The name of the secret."}}}}}},"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/cloud:azure-keyvault-secrets/get-secret-versions":{"get":{"operationId":"cloud_azure_keyvault_secrets_get_secret_versions","summary":"List all versions of the specified secret.","description":"GET /secrets/{secret-name}/versions","tags":["cloud"],"parameters":[{"name":"vaultBaseUrl","in":"query","required":true,"description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com","schema":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"}},{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"7.6","description":"The API version to use for this operation."}},{"name":"secret-name","in":"query","required":true,"description":"The name of the secret.","schema":{"type":"string","description":"The name of the secret."}},{"name":"maxresults","in":"query","required":false,"description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results.","schema":{"type":"integer","description":"Maximum number of results to return in a page. If not specified the service will return up to 25 results."}}],"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/cloud:azure-keyvault-secrets/restore-secret":{"post":{"operationId":"cloud_azure_keyvault_secrets_restore_secret","summary":"Restores a backed up secret to a vault.","description":"POST /secrets/restore","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["vaultBaseUrl","body"],"properties":{"vaultBaseUrl":{"type":"string","description":"Your KeyVaultClient endpoint URL, for example https://myresource.azure.com"},"api-version":{"type":"string","default":"7.6","description":"The API version to use for this operation."},"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"}}}}}}}