{"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-marketplaceordering/marketplace-agreements-get":{"get":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_get","summary":"Get marketplace terms.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for the request.","schema":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription ID that identifies an Azure subscription.","schema":{"type":"string","description":"The subscription ID that identifies an Azure subscription."}},{"name":"offerType","in":"query","required":true,"description":"Offer Type, currently only virtualmachine type is supported.","schema":{"type":"string","enum":["virtualmachine"],"description":"Offer Type, currently only virtualmachine type is supported."}},{"name":"publisherId","in":"query","required":true,"description":"Publisher identifier string of image being deployed.","schema":{"type":"string","description":"Publisher identifier string of image being deployed."}},{"name":"offerId","in":"query","required":true,"description":"Offer identifier string of image being deployed.","schema":{"type":"string","description":"Offer identifier string of image being deployed."}},{"name":"planId","in":"query","required":true,"description":"Plan identifier string of image being deployed.","schema":{"type":"string","description":"Plan identifier string of image being deployed."}}],"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-marketplaceordering/marketplace-agreements-create":{"post":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_create","summary":"Save marketplace terms.","description":"PUT /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/offerTypes/{offerType}/publishers/{publisherId}/offers/{offerId}/plans/{planId}/agreements/current","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["offerType","subscriptionId","publisherId","offerId","planId","body"],"properties":{"api-version":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."},"offerType":{"type":"string","enum":["virtualmachine"],"description":"Offer Type, currently only virtualmachine type is supported."},"subscriptionId":{"type":"string","description":"The subscription ID that identifies an Azure subscription."},"publisherId":{"type":"string","description":"Publisher identifier string of image being deployed."},"offerId":{"type":"string","description":"Offer identifier string of image being deployed."},"planId":{"type":"string","description":"Plan identifier string of image being deployed."},"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-marketplaceordering/operations-list":{"get":{"operationId":"cloud_azure_arm_marketplaceordering_operations_list","summary":"Lists all of the available Microsoft.MarketplaceOrdering REST API operations.","description":"GET /providers/Microsoft.MarketplaceOrdering/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for the request.","schema":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."}}],"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-marketplaceordering/marketplace-agreements-sign":{"post":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_sign","summary":"Sign marketplace terms.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/sign","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","publisherId","offerId","planId"],"properties":{"api-version":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."},"subscriptionId":{"type":"string","description":"The subscription ID that identifies an Azure subscription."},"publisherId":{"type":"string","description":"Publisher identifier string of image being deployed."},"offerId":{"type":"string","description":"Offer identifier string of image being deployed."},"planId":{"type":"string","description":"Plan identifier string of image being deployed."}}}}}},"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-marketplaceordering/marketplace-agreements-cancel":{"post":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_cancel","summary":"Cancel marketplace terms.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}/cancel","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","publisherId","offerId","planId"],"properties":{"api-version":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."},"subscriptionId":{"type":"string","description":"The subscription ID that identifies an Azure subscription."},"publisherId":{"type":"string","description":"Publisher identifier string of image being deployed."},"offerId":{"type":"string","description":"Offer identifier string of image being deployed."},"planId":{"type":"string","description":"Plan identifier string of image being deployed."}}}}}},"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-marketplaceordering/marketplace-agreements-get-agreement":{"get":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_get_agreement","summary":"Get marketplace agreement.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements/{publisherId}/offers/{offerId}/plans/{planId}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for the request.","schema":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription ID that identifies an Azure subscription.","schema":{"type":"string","description":"The subscription ID that identifies an Azure subscription."}},{"name":"publisherId","in":"query","required":true,"description":"Publisher identifier string of image being deployed.","schema":{"type":"string","description":"Publisher identifier string of image being deployed."}},{"name":"offerId","in":"query","required":true,"description":"Offer identifier string of image being deployed.","schema":{"type":"string","description":"Offer identifier string of image being deployed."}},{"name":"planId","in":"query","required":true,"description":"Plan identifier string of image being deployed.","schema":{"type":"string","description":"Plan identifier string of image being deployed."}}],"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-marketplaceordering/marketplace-agreements-list":{"get":{"operationId":"cloud_azure_arm_marketplaceordering_marketplace_agreements_list","summary":"List marketplace agreements in the subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.MarketplaceOrdering/agreements","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for the request.","schema":{"type":"string","default":"2021-01-01","description":"The API version to use for the request."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription ID that identifies an Azure subscription.","schema":{"type":"string","description":"The subscription ID that identifies an Azure subscription."}}],"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"}}}}}}}