{"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-applicationinsights/workbooks-list-by-subscription":{"get":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_list_by_subscription","summary":"Get all Workbooks defined within a specified subscription and category.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"category","in":"query","required":true,"description":"Category of workbook to return.","schema":{"type":"string","enum":["workbook","TSG","performance","retention"],"description":"Category of workbook to return."}},{"name":"tags","in":"query","required":false,"description":"Tags presents on each workbook returned.","schema":{"type":"array","description":"Tags presents on each workbook returned."}},{"name":"canFetchContent","in":"query","required":false,"description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.","schema":{"type":"boolean","description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks."}}],"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-applicationinsights/workbooks-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_list_by_resource_group","summary":"Get all Workbooks defined within a specified resource group and category.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"category","in":"query","required":true,"description":"Category of workbook to return.","schema":{"type":"string","enum":["workbook","TSG","performance","retention"],"description":"Category of workbook to return."}},{"name":"tags","in":"query","required":false,"description":"Tags presents on each workbook returned.","schema":{"type":"array","description":"Tags presents on each workbook returned."}},{"name":"sourceId","in":"query","required":false,"description":"Azure Resource Id that will fetch all linked workbooks.","schema":{"type":"string","description":"Azure Resource Id that will fetch all linked workbooks."}},{"name":"canFetchContent","in":"query","required":false,"description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.","schema":{"type":"boolean","description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks."}}],"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-applicationinsights/workbooks-get":{"get":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_get","summary":"Get a single workbook by its resourceName.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"resourceName","in":"query","required":true,"description":"The name of the workbook resource. The value must be an UUID.","schema":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."}},{"name":"canFetchContent","in":"query","required":false,"description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.","schema":{"type":"boolean","description":"Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks."}}],"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-applicationinsights/workbooks-create-or-update":{"post":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_create_or_update","summary":"Create a new workbook.","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName","body"],"properties":{"api-version":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"resourceName":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."},"sourceId":{"type":"string","description":"Azure Resource Id that will fetch all linked workbooks."},"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-applicationinsights/workbooks-update":{"post":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_update","summary":"Updates a workbook that has already been added.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"api-version":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"resourceName":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."},"sourceId":{"type":"string","description":"Azure Resource Id that will fetch all linked workbooks."},"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-applicationinsights/workbooks-delete":{"post":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_delete","summary":"Delete a workbook.","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","resourceName"],"properties":{"api-version":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"resourceName":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."}}}}}},"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-applicationinsights/workbooks-revisions-list":{"get":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_revisions_list","summary":"Get the revisions for the workbook defined by its resourceName.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"resourceName","in":"query","required":true,"description":"The name of the workbook resource. The value must be an UUID.","schema":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."}}],"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-applicationinsights/workbooks-revision-get":{"get":{"operationId":"cloud_azure_arm_applicationinsights_workbooks_revision_get","summary":"Get a single workbook revision defined by its revisionId.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}/revisions/{revisionId}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-06-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription. The value must be an UUID.","schema":{"type":"string","description":"The ID of the target subscription. The value must be an UUID."}},{"name":"resourceGroupName","in":"query","required":true,"description":"The name of the resource group. The name is case insensitive.","schema":{"type":"string","description":"The name of the resource group. The name is case insensitive."}},{"name":"resourceName","in":"query","required":true,"description":"The name of the workbook resource. The value must be an UUID.","schema":{"type":"string","description":"The name of the workbook resource. The value must be an UUID."}},{"name":"revisionId","in":"query","required":true,"description":"The id of the workbook's revision.","schema":{"type":"string","description":"The id of the workbook's revision."}}],"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"}}}}}}}