{"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-developerhub/operations-list":{"get":{"operationId":"cloud_azure_arm_developerhub_operations_list","summary":"Gets a list of operations.","description":"GET /providers/Microsoft.DevHub/operations","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}}],"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-developerhub/git-hub-oauth":{"post":{"operationId":"cloud_azure_arm_developerhub_git_hub_oauth","summary":"Gets GitHubOAuth info used to authenticate users with the Developer Hub GitHub App.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default/getGitHubOAuthInfo","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","location"],"properties":{"api-version":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"location":{"type":"string","description":"The name of Azure region."},"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-developerhub/git-hub-oauth-callback":{"get":{"operationId":"cloud_azure_arm_developerhub_git_hub_oauth_callback","summary":"Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth/default","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"location","in":"query","required":true,"description":"The name of Azure region.","schema":{"type":"string","description":"The name of Azure region."}},{"name":"code","in":"query","required":true,"description":"The code response from authenticating the GitHub App.","schema":{"type":"string","description":"The code response from authenticating the GitHub App."}},{"name":"state","in":"query","required":true,"description":"The state response from authenticating the GitHub App.","schema":{"type":"string","description":"The state response from authenticating the GitHub App."}}],"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-developerhub/list-git-hub-oauth":{"get":{"operationId":"cloud_azure_arm_developerhub_list_git_hub_oauth","summary":"Callback URL to hit once authenticated with GitHub App to have the service store the OAuth token.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/githuboauth","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"name":"location","in":"query","required":true,"description":"The name of Azure region.","schema":{"type":"string","description":"The name of Azure region."}}],"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-developerhub/workflow-list":{"get":{"operationId":"cloud_azure_arm_developerhub_workflow_list","summary":"Gets a list of workflows associated with the specified subscription.","description":"GET /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/workflows","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target 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"}},"/v1/cloud:azure-arm-developerhub/workflow-list-by-resource-group":{"get":{"operationId":"cloud_azure_arm_developerhub_workflow_list_by_resource_group","summary":"Gets a list of workflows within a resource group.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"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":"managedClusterResource","in":"query","required":false,"description":"The ManagedCluster resource associated with the workflows.","schema":{"type":"string","description":"The ManagedCluster resource associated with the workflows."}}],"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-developerhub/workflow-get":{"get":{"operationId":"cloud_azure_arm_developerhub_workflow_get","summary":"Gets a workflow.","description":"GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}","tags":["cloud"],"parameters":[{"name":"api-version","in":"query","required":false,"description":"The API version to use for this operation.","schema":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."}},{"name":"subscriptionId","in":"query","required":true,"description":"The ID of the target subscription.","schema":{"type":"string","description":"The ID of the target subscription."}},{"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":"workflowName","in":"query","required":true,"description":"The name of the workflow resource.","schema":{"type":"string","description":"The name of the workflow resource."}}],"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-developerhub/workflow-create-or-update":{"post":{"operationId":"cloud_azure_arm_developerhub_workflow_create_or_update","summary":"Creates or updates a workflow","description":"PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","workflowName","body"],"properties":{"api-version":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"workflowName":{"type":"string","description":"The name of the workflow resource."},"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-developerhub/workflow-update-tags":{"post":{"operationId":"cloud_azure_arm_developerhub_workflow_update_tags","summary":"Updates tags on a workflow.","description":"PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","workflowName","body"],"properties":{"api-version":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"workflowName":{"type":"string","description":"The name of the workflow resource."},"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-developerhub/workflow-delete":{"post":{"operationId":"cloud_azure_arm_developerhub_workflow_delete","summary":"Deletes a workflow","description":"DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevHub/workflows/{workflowName}","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","resourceGroupName","workflowName"],"properties":{"api-version":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"resourceGroupName":{"type":"string","description":"The name of the resource group. The name is case insensitive."},"workflowName":{"type":"string","description":"The name of the workflow resource."}}}}}},"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-developerhub/generate-preview-artifacts":{"post":{"operationId":"cloud_azure_arm_developerhub_generate_preview_artifacts","summary":"Generate preview dockerfile and manifests.","description":"POST /subscriptions/{subscriptionId}/providers/Microsoft.DevHub/locations/{location}/generatePreviewArtifacts","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["subscriptionId","location","body"],"properties":{"api-version":{"type":"string","default":"2023-08-01","description":"The API version to use for this operation."},"subscriptionId":{"type":"string","description":"The ID of the target subscription."},"location":{"type":"string","description":"The name of Azure region."},"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"}}}}}}}