{"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-sts/assume-role":{"post":{"operationId":"cloud_aliyun_sts_assume_role","summary":"Obtains a Security Token Service (STS) token to assume a Resource Access Management (RAM) role","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RoleArn","RoleSessionName"],"properties":{"DurationSeconds":{"type":"integer","description":"The validity period of the STS token. Unit: seconds. Minimum value: 900. Maximum value: the value of the `MaxSessionDuration` parameter.…"},"Policy":{"type":"string","description":"The policy that specifies the permissions of the returned STS token. This allows you to implement more fine-grained access control. If you…"},"RoleArn":{"type":"string","description":"The Alibaba Cloud Resource Name (ARN) of the RAM role. The trusted entity of the RAM role is an Alibaba Cloud account. For more…"},"RoleSessionName":{"type":"string","description":"The name of the role session. The value is user-defined. In most cases, you can set this parameter to the identity of the user who calls…"},"ExternalId":{"type":"string","description":"The external ID of the RAM role. The value of this parameter is provided by an external party and is used to prevent the confused deputy…"},"SourceIdentity":{"type":"string","description":"The source identity information. When a user assumes a role, the source identity of the user can be specified as the initial identity of a…"}}}}}},"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-sts/assume-role-with-oidc":{"post":{"operationId":"cloud_aliyun_sts_assume_role_with_oidc","summary":"Obtains a Security Token Service (STS) token for assuming a RAM role during OIDC-based role SSO by calling…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"OIDCProviderArn":{"type":"string","description":"The Alibaba Cloud Resource Name (ARN) of the OIDC IdP. You can view the ARN of the OIDC IdP in the Resource Access Management (RAM)…"},"RoleArn":{"type":"string","description":"The ARN of the RAM role to assume. You can view the role ARN in the Resource Access Management (RAM) console or by calling an API…"},"OIDCToken":{"type":"string","description":"The OIDC token issued by the external IdP. Length: 4 to 20,000 characters. Provide the original OIDC token without Base64 decoding"},"Policy":{"type":"string","description":"An additional permission policy attached to the STS token to further restrict its permissions: If you specify access policy, the final…"},"DurationSeconds":{"type":"integer","description":"The validity period of the token. Unit: seconds. Default value: 3600. Minimum value: 900. Maximum value: the value specified by…"},"RoleSessionName":{"type":"string","description":"The role session name. This is a user-defined parameter. Set this parameter to the identity of the API caller, such as a username. In…"}}}}}},"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-sts/assume-role-with-saml":{"post":{"operationId":"cloud_aliyun_sts_assume_role_with_saml","summary":"For role-based single sign-on (SSO) that uses Security Assertion Markup Language (SAML), call the…","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"SAMLProviderArn":{"type":"string","description":"The Alibaba Cloud Resource Name (ARN) of the SAML IdP that is created in RAM. Format: `acs:ram:: :saml-provider/ `. You can view the ARN…"},"RoleArn":{"type":"string","description":"The ARN of the RAM role to assume. The trusted entity of the RAM role is a SAML IdP. For more information, see…"},"SAMLAssertion":{"type":"string","description":"The Base64-encoded SAML assertion. The value must be 4 to 100,000 characters in length. Obtain the complete SAML response from the IdP. Do…"},"Policy":{"type":"string","description":"An access policy to further limit the permissions of the STS token. This parameter works as follows: If you specify this policy, the…"},"DurationSeconds":{"type":"integer","description":"The expiration duration of the token. Unit: seconds. The minimum value is 900 seconds. The maximum value is the value of the…"}}}}}},"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-sts/get-caller-identity":{"post":{"operationId":"cloud_aliyun_sts_get_caller_identity","summary":"A call to the GetCallerIdentity operation returns information about the identity of the current caller","description":"POST /","tags":["cloud"],"parameters":[],"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-sts/version":{"post":{"operationId":"cloud_aliyun_sts_version","summary":"version","description":"POST /","tags":["cloud"],"parameters":[],"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"}}}}}}}