{"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/cloud:azure-arm-subscription/subscription-cancel":{"post":{"operationId":"cloud_azure_arm_subscription_subscription_cancel","summary":"The operation to cancel a subscription","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/cancel","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId"],"properties":{"subscriptionId":{"type":"string","description":"Subscription Id."},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}}}}},"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-arm-subscription/subscription-rename":{"post":{"operationId":"cloud_azure_arm_subscription_subscription_rename","summary":"The operation to rename a subscription","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/rename","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","body"],"properties":{"subscriptionId":{"type":"string","description":"Subscription Id."},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"},"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-arm-subscription/subscription-enable":{"post":{"operationId":"cloud_azure_arm_subscription_subscription_enable","summary":"The operation to enable a subscription","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.Subscription/enable","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId"],"properties":{"subscriptionId":{"type":"string","description":"Subscription Id."},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}}}}},"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-arm-subscription/subscription-operation-get":{"get":{"operationId":"cloud_azure_arm_subscription_subscription_operation_get","summary":"Get the status of the pending Microsoft.Subscription API operations.","description":"GET /providers/Microsoft.Subscription/subscriptionOperations/{operationId}","tags":["cloud"],"parameters":[{"name":"operationId","in":"query","required":true,"description":"The operation ID, which can be found from the Location field in the generate recommendation response header.","schema":{"type":"string","description":"The operation ID, which can be found from the Location field in the generate recommendation response header."}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/operations-list":{"get":{"operationId":"cloud_azure_arm_subscription_operations_list","summary":"Lists all of the available Microsoft.Subscription API operations.","description":"GET /providers/Microsoft.Subscription/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/alias-get":{"get":{"operationId":"cloud_azure_arm_subscription_alias_get","summary":"Get Alias Subscription.","description":"GET /providers/Microsoft.Subscription/aliases/{aliasName}","tags":["cloud"],"parameters":[{"name":"aliasName","in":"query","required":true,"description":"AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any…","schema":{"type":"string","description":"AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any…"}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/alias-create":{"post":{"operationId":"cloud_azure_arm_subscription_alias_create","summary":"Create Alias Subscription.","description":"PUT /providers/Microsoft.Subscription/aliases/{aliasName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["aliasName","body"],"properties":{"aliasName":{"type":"string","description":"AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any…"},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"},"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-arm-subscription/alias-delete":{"post":{"operationId":"cloud_azure_arm_subscription_alias_delete","summary":"Delete Alias.","description":"DELETE /providers/Microsoft.Subscription/aliases/{aliasName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["aliasName"],"properties":{"aliasName":{"type":"string","description":"AliasName is the name for the subscription creation request. Note that this is not the same as subscription name and this doesn’t have any…"},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}}}}},"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-arm-subscription/alias-list":{"get":{"operationId":"cloud_azure_arm_subscription_alias_list","summary":"List Alias Subscription.","description":"GET /providers/Microsoft.Subscription/aliases","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/subscription-accept-ownership":{"post":{"operationId":"cloud_azure_arm_subscription_subscription_accept_ownership","summary":"Accept subscription ownership.","description":"POST /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnership","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","body"],"properties":{"subscriptionId":{"type":"string","description":"Subscription Id."},"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"},"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-arm-subscription/subscription-accept-ownership-status":{"get":{"operationId":"cloud_azure_arm_subscription_subscription_accept_ownership_status","summary":"Accept subscription ownership status.","description":"GET /providers/Microsoft.Subscription/subscriptions/{subscriptionId}/acceptOwnershipStatus","tags":["cloud"],"parameters":[{"name":"subscriptionId","in":"query","required":true,"description":"Subscription Id.","schema":{"type":"string","description":"Subscription Id."}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/subscription-policy-get-policy-for-tenant":{"get":{"operationId":"cloud_azure_arm_subscription_subscription_policy_get_policy_for_tenant","summary":"Get the subscription tenant policy for the user's tenant.","description":"GET /providers/Microsoft.Subscription/policies/default","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/subscription-policy-add-update-policy-for-tenant":{"post":{"operationId":"cloud_azure_arm_subscription_subscription_policy_add_update_policy_for_tenant","summary":"Create or Update Subscription tenant policy for user's tenant.","description":"PUT /providers/Microsoft.Subscription/policies/default","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["body"],"properties":{"api-version":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"},"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-arm-subscription/subscription-policy-list-policy-for-tenant":{"get":{"operationId":"cloud_azure_arm_subscription_subscription_policy_list_policy_for_tenant","summary":"Get the subscription tenant policy for the user's tenant.","description":"GET /providers/Microsoft.Subscription/policies","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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-arm-subscription/billing-account-get-policy":{"get":{"operationId":"cloud_azure_arm_subscription_billing_account_get_policy","summary":"Get Billing Account Policy.","description":"GET /providers/Microsoft.Billing/billingAccounts/{billingAccountId}/providers/Microsoft.Subscription/policies/default","tags":["cloud"],"parameters":[{"name":"billingAccountId","in":"query","required":true,"description":"Billing Account Id.","schema":{"type":"string","description":"Billing Account Id."}},{"name":"api-version","in":"query","required":false,"description":"Version of the API to be used with the client request. Current version is 2021-10-01","schema":{"type":"string","default":"2021-10-01","description":"Version of the API to be used with the client request. Current version is 2021-10-01"}}],"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"}}}}}}}