{"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:aliyun-mhub/create-app":{"post":{"operationId":"cloud_aliyun_mhub_create_app","summary":"Creates a new application in a specified workspace","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId","Name"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ProductId":{"type":"string","description":"The ID of the workspace in which the application is created"},"Name":{"type":"string","description":"The application name. The name can be up to 26 characters in length and cannot contain special characters other than underscores (_)"},"Type":{"type":"integer","description":"The application type. Valid values: 1: iOS 2: Android 8: MoPen web 9: MoPen mobile"},"BundleId":{"type":"string","description":"The iOS application ID. This parameter is required when you create an iOS application"},"PackageName":{"type":"string","description":"The Android application package name. This parameter is required when you create an Android application"},"EncodedIcon":{"type":"string","description":"The Base64-encoded string of the image"},"IndustryId":{"type":"string","description":"The industry ID of the application. Valid values: * 0: Social * 1: Photo & Video * 2: Productivity * 3: Lifestyle * 4: Food & Drink * 5:…"}}}}}},"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:aliyun-mhub/create-product":{"post":{"operationId":"cloud_aliyun_mhub_create_product","summary":"Creates a workspace. A workspace is a group of applications that is used to manage a set of related…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["Name"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"Name":{"type":"string","description":"The name of the project. The name must be 1 to 30 characters in length and can contain Chinese characters, letters, digits, and…"},"Description":{"type":"string","description":"The brief description of the project"}}}}}},"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:aliyun-mhub/delete-app":{"post":{"operationId":"cloud_aliyun_mhub_delete_app","summary":"Deletes an application. Deleted applications cannot be recovered. If you delete an application that has been…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppKey"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"AppKey":{"type":"string","description":"The AppKey of the application. This parameter uniquely identifies an application in API requests"}}}}}},"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:aliyun-mhub/delete-product":{"post":{"operationId":"cloud_aliyun_mhub_delete_product","summary":"Calls DeleteProduct to delete a workspace","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ProductId":{"type":"string","description":"The ID of the project to delete"}}}}}},"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:aliyun-mhub/describe-dashboard":{"post":{"operationId":"cloud_aliyun_mhub_describe_dashboard","summary":"Retrieves the dashboard information of an application across various services","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ServiceName":{"type":"string","description":"The product name"},"AppKey":{"type":"string","description":"The AppKey of the application, which uniquely identifies the application"},"AppType":{"type":"integer","description":"The application type. Valid values: 1: iOS. 2: Android. 8: Mobi web client. 9: Mobi mobile client"},"AppVersion":{"type":"string","description":"The application version. Default value: the latest version"},"Keyword":{"type":"string","description":"An unused field"},"StartTime":{"type":"integer","description":"The start time of the query. The value is a UNIX timestamp accurate to milliseconds"},"EndTime":{"type":"integer","description":"The end time of the query. The value is a UNIX timestamp accurate to milliseconds"},"ProxyAction":{"type":"string","description":"The sub-query action. This parameter takes effect only when ServiceName is set to apm. Valid sub-queries: query application versions,…"}}}}}},"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:aliyun-mhub/list-apps":{"post":{"operationId":"cloud_aliyun_mhub_list_apps","summary":"Queries the list of applications in a specified workspace","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ProductId":{"type":"string","description":"The workspace ID"},"Page":{"type":"string","description":"The page number. Default value: 1"},"PageSize":{"type":"string","description":"The number of applications per page. Default value: 20. Valid values: 1 to 100"},"OsType":{"type":"integer","description":"The application type. Valid values: 1: iOS 2: Android 8: MoPen web 9: MoPen mobile"}}}}}},"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:aliyun-mhub/list-products":{"post":{"operationId":"cloud_aliyun_mhub_list_products","summary":"Queries a list of workspaces","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"Offset":{"type":"integer","description":"The current page number"},"Size":{"type":"integer","description":"The number of items to display on each page. Valid values: 1 to 100"},"Simple":{"type":"string","description":"Specifies whether to enable simplified query. true: Simplified query is enabled. The encodedIcon and Platforms fields are not returned.…"},"ProductName":{"type":"string","description":"The keyword used to perform a fuzzy search by project name"},"SearchKeyWord":{"type":"string","description":"The search keyword for project names, used to perform a fuzzy search on the project list"},"PageNum":{"type":"integer","description":"The page number to query"},"PageSize":{"type":"integer","description":"The number of items to return on each page"}}}}}},"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:aliyun-mhub/modify-app":{"post":{"operationId":"cloud_aliyun_mhub_modify_app","summary":"Modifies application information","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppKey"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"AppKey":{"type":"string","description":"The AppKey of the application. This parameter uniquely identifies an application in API requests"},"Name":{"type":"string","description":"The application name"},"BundleId":{"type":"string","description":"The iOS application ID"},"PackageName":{"type":"string","description":"The Android application package name"},"EncodedIcon":{"type":"string","description":"The Base64-encoded string of the image"},"IndustryId":{"type":"integer","description":"The industry ID. Valid values: 0: social networking 1: photography and video 2: productivity 3: lifestyle 4: food and drink 5: utilities…"}}}}}},"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:aliyun-mhub/modify-product":{"post":{"operationId":"cloud_aliyun_mhub_modify_product","summary":"Modifies the basic information of a workspace","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId","Name"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ProductId":{"type":"string","description":"The project ID"},"Name":{"type":"string","description":"The project name. The name must be 1 to 30 characters in length and can contain Chinese characters, uppercase and lowercase letters,…"},"Description":{"type":"string","description":"The brief description of the project"}}}}}},"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:aliyun-mhub/open-emas-service":{"post":{"operationId":"cloud_aliyun_mhub_open_emas_service","summary":"Activates the Enterprise Mobile Application Studio (EMAS) service. You can use the service only after it is…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"}}}}}},"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:aliyun-mhub/query-app-info":{"post":{"operationId":"cloud_aliyun_mhub_query_app_info","summary":"Queries the details of an application by calling QueryAppInfo","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppKey"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"AppKey":{"type":"string","description":"The AppKey of the application, which uniquely identifies the application"}}}}}},"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:aliyun-mhub/query-app-security-info":{"post":{"operationId":"cloud_aliyun_mhub_query_app_security_info","summary":"Queries the AppSecret of a specified application. The AppSecret is a secret key used to verify permissions…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["AppKey"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"AppKey":{"type":"string","description":"The AppKey of the specified application, which uniquely identifies the application"}}}}}},"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:aliyun-mhub/query-product-info":{"post":{"operationId":"cloud_aliyun_mhub_query_product_info","summary":"Queries the details of a workspace","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ProductId"],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"},"ProductId":{"type":"string","description":"The ID of the project"}}}}}},"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:aliyun-mhub/version":{"post":{"operationId":"cloud_aliyun_mhub_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"endpoint":{"type":"string","enum":["https://mhub.cn-shanghai.aliyuncs.com"],"default":"https://mhub.cn-shanghai.aliyuncs.com","description":"Regional endpoint, for example https://mhub.cn-shanghai.aliyuncs.com"}}}}}},"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"}}}}}}}