{"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-windowsiot/operations-list":{"get":{"operationId":"cloud_azure_arm_windowsiot_operations_list","summary":"Lists all of the available Windows IoT Services REST API operations.","description":"GET /providers/Microsoft.WindowsIoT/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The version of the API.","schema":{"type":"string","default":"2019-06-01","description":"The version of the API."}}],"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-windowsiot/services-get":{"get":{"operationId":"cloud_azure_arm_windowsiot_services_get","summary":"Get the non-security related metadata of a Windows IoT Device Service.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The version of the API.","schema":{"type":"string","default":"2019-06-01","description":"The version of the API."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription identifier.","schema":{"type":"string","description":"The subscription identifier."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group that contains the Windows IoT Device Service.","schema":{"type":"string","description":"The name of the resource group that contains the Windows IoT Device Service."}},{"name":"deviceName","in":"query","required":true,"description":"The name of the Windows IoT Device Service.","schema":{"type":"string","description":"The name of the Windows IoT Device Service."}}],"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-windowsiot/services-create-or-update":{"post":{"operationId":"cloud_azure_arm_windowsiot_services_create_or_update","summary":"Create or update the metadata of a Windows IoT Device Service.","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","deviceName","body"],"properties":{"api-version":{"type":"string","default":"2019-06-01","description":"The version of the API."},"subscriptionId":{"type":"string","description":"The subscription identifier."},"resourceGroupName":{"type":"string","description":"The name of the resource group that contains the Windows IoT Device Service."},"deviceName":{"type":"string","description":"The name of the Windows IoT Device Service."},"If-Match":{"type":"string","description":"ETag of the Windows IoT Device Service. Do not specify for creating a new Windows IoT Device Service. Required to update an existing…"},"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-windowsiot/services-update":{"post":{"operationId":"cloud_azure_arm_windowsiot_services_update","summary":"Updates the metadata of a Windows IoT Device Service.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","deviceName","body"],"properties":{"api-version":{"type":"string","default":"2019-06-01","description":"The version of the API."},"subscriptionId":{"type":"string","description":"The subscription identifier."},"resourceGroupName":{"type":"string","description":"The name of the resource group that contains the Windows IoT Device Service."},"deviceName":{"type":"string","description":"The name of the Windows IoT Device Service."},"If-Match":{"type":"string","description":"ETag of the Windows IoT Device Service. Do not specify for creating a brand new Windows IoT Device Service. Required to update an existing…"},"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-windowsiot/services-delete":{"post":{"operationId":"cloud_azure_arm_windowsiot_services_delete","summary":"Delete a Windows IoT Device Service.","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices/{deviceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","deviceName"],"properties":{"api-version":{"type":"string","default":"2019-06-01","description":"The version of the API."},"subscriptionId":{"type":"string","description":"The subscription identifier."},"resourceGroupName":{"type":"string","description":"The name of the resource group that contains the Windows IoT Device Service."},"deviceName":{"type":"string","description":"The name of the Windows IoT Device Service."}}}}}},"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-windowsiot/services-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_windowsiot_services_list_by_resource_group","summary":"Get all the IoT hubs in a resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.WindowsIoT/deviceServices","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The version of the API.","schema":{"type":"string","default":"2019-06-01","description":"The version of the API."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription identifier.","schema":{"type":"string","description":"The subscription identifier."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group that contains the Windows IoT Device Service.","schema":{"type":"string","description":"The name of the resource group that contains the Windows IoT Device Service."}}],"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-windowsiot/services-list":{"get":{"operationId":"cloud_azure_arm_windowsiot_services_list","summary":"Get all the IoT hubs in a subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/deviceServices","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The version of the API.","schema":{"type":"string","default":"2019-06-01","description":"The version of the API."}},{"name":"subscriptionId","in":"query","required":true,"description":"The subscription identifier.","schema":{"type":"string","description":"The subscription identifier."}}],"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-windowsiot/services-check-device-service-name-availability":{"post":{"operationId":"cloud_azure_arm_windowsiot_services_check_device_service_name_availability","summary":"Check if a Windows IoT Device Service name is available.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.WindowsIoT/checkDeviceServiceNameAvailability","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","body"],"properties":{"api-version":{"type":"string","default":"2019-06-01","description":"The version of the API."},"subscriptionId":{"type":"string","description":"The subscription identifier."},"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"}}}}}}}