{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/cloud:aliyun-vpcpeer/accept-vpc-peer-connection":{"post":{"operationId":"cloud_aliyun_vpcpeer_accept_vpc_peer_connection","summary":"Accepts a VPC peering connection request","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"ResourceOwnerAccount":{"type":"string","description":"The ResourceOwnerAccount"},"InstanceId":{"type":"string","description":"The ID of VPC peering connection"},"DryRun":{"type":"string","description":"Specifies whether to perform a dry run. Valid values: true: Sends a request without accepting the VPC peering connection request. The…"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. Generate a token from your client to make sure that it is unique…"},"ResourceGroupId":{"type":"string","description":"The ID of the resource group. For more information, see https://help.aliyun.com/document_detail/94475.html"},"Tag":{"type":"string","description":"The tags (JSON-encoded)"}}}}}},"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-vpcpeer/create-vpc-peer-connection":{"post":{"operationId":"cloud_aliyun_vpcpeer_create_vpc_peer_connection","summary":"Creates a VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["RegionId","VpcId","AcceptingAliUid","AcceptingRegionId","AcceptingVpcId"],"properties":{"RegionId":{"type":"string","description":"The ID of the region where you want to create a VPC peering connection. Call the https://help.aliyun.com/document_detail/36063.html…"},"VpcId":{"type":"string","description":"The ID of the requester VPC"},"AcceptingAliUid":{"type":"integer","description":"The ID of the Alibaba Cloud account to which the accepter VPC belongs. To create a VPC peering connection within your Alibaba Cloud…"},"AcceptingRegionId":{"type":"string","description":"The region ID of the accepter VPC of the VPC peering connection that you want to create. To create an intra-region VPC peering connection,…"},"AcceptingVpcId":{"type":"string","description":"The ID of the accepter VPC"},"Name":{"type":"string","description":"The name of the VPC peering connection. The name must be 2 to 128 characters in length, and can contain digits, underscores (_), and…"},"Description":{"type":"string","description":"The description of the VPC peering connection. The description must be 2 to 256 characters in length. The description must start with a…"},"DryRun":{"type":"string","description":"Specifies whether to perform only a dry run, without performing the actual request. Valid values: true: performs only a dry run. The…"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. You can use the client to generate the token, but you must make…"},"ResourceGroupId":{"type":"string","description":"The ID of the resource group. For more information about resource groups, see https://help.aliyun.com/document_detail/94475.html"},"Bandwidth":{"type":"integer","description":"The bandwidth of the VPC peering connection. Unit: Mbit/s. The value must be an integer greater than 0. Before you specify this parameter,…"},"LinkType":{"type":"string","description":"The link type of the VPC peering connection that you want to create. Valid values: Platinum. Gold: default value. If you need to specify…"},"Tag":{"type":"string","description":"The tags (JSON-encoded)"}}}}}},"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-vpcpeer/delete-vpc-peer-connection":{"post":{"operationId":"cloud_aliyun_vpcpeer_delete_vpc_peer_connection","summary":"Deletes a VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"InstanceId":{"type":"string","description":"The ID of the VPC peering connection"},"Force":{"type":"string","description":"Specifies whether to force delete the VPC peering connection. Valid values: false (default): does not force delete the VPC peering…"},"DryRun":{"type":"string","description":"Specifies whether to perform a dry run. Valid values: true: performs a dry run but does not delete the VPC peering connection. The system…"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. Generate a value for this parameter from your client to make sure…"}}}}}},"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-vpcpeer/get-vpc-peer-connection-attribute":{"post":{"operationId":"cloud_aliyun_vpcpeer_get_vpc_peer_connection_attribute","summary":"Queries the attributes of a specified VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"ResourceOwnerAccount":{"type":"string","description":"The ResourceOwnerAccount"},"InstanceId":{"type":"string","description":"The ID of the VPC peering connection"}}}}}},"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-vpcpeer/list-tag-resources":{"post":{"operationId":"cloud_aliyun_vpcpeer_list_tag_resources","summary":"Queries the tags that are attached to a VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceType","RegionId"],"properties":{"ResourceType":{"type":"string","description":"The resource type. Valid value: PeerConnection. This value specifies a VPC peering connection"},"ResourceId":{"type":"string","description":"The IDs of the resources. You can specify up to 20 resource IDs (JSON-encoded)"},"Tag":{"type":"string","description":"The tags (JSON-encoded)"},"MaxResults":{"type":"integer","description":"The number of entries to return on each page. Valid values: 1 to 50. Default value: 50"},"NextToken":{"type":"string","description":"The token that is used to start the next query. Valid values: If this is the first query or no subsequent query is to be sent, do not…"},"RegionId":{"type":"string","description":"The ID of the region where the resource is deployed. See https://help.aliyun.com/document_detail/36063.html"},"Category":{"type":"string","description":"The type of the tag. All (default) Custom System"}}}}}},"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-vpcpeer/list-vpc-peer-connections":{"post":{"operationId":"cloud_aliyun_vpcpeer_list_vpc_peer_connections","summary":"Queries VPC peering connections","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"type":"object","required":[],"properties":{"RegionId":{"type":"string","description":"The region ID of the VPC peering connection. You can call the https://help.aliyun.com/document_detail/36063.html operation to obtain the…"},"InstanceId":{"type":"string","description":"The ID of the VPC peering connection"},"VpcId":{"type":"string","description":"The ID of a VPC in the peering connection. You can specify the ID of the requester or accepter VPC. If you specify only one VPC ID, the…"},"Name":{"type":"string","description":"The name of the VPC peering connection"},"NextToken":{"type":"string","description":"The token that is used for the next query. Valid values: Do not specify this parameter for the first request. You must specify the token…"},"MaxResults":{"type":"integer","description":"The number of entries to return on each page. Valid values: 1 to 100. Default value: 20"},"Tags":{"type":"string","description":"The tags (JSON-encoded)"},"ResourceGroupId":{"type":"string","description":"The ID of the resource group. For more information about resource groups, see https://help.aliyun.com/document_detail/94475.html"}}}}}},"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-vpcpeer/modify-vpc-peer-connection":{"post":{"operationId":"cloud_aliyun_vpcpeer_modify_vpc_peer_connection","summary":"Modifies the name or description of a VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"InstanceId":{"type":"string","description":"The ID of the VPC peering connection"},"Name":{"type":"string","description":"The new name of the VPC peering connection. The name must be 1 to 128 characters in length and cannot start with `http://` or `https://`"},"Description":{"type":"string","description":"The new description of the VPC peering connection. The description must be 1 to 256 characters in length and cannot start with `http://`…"},"Bandwidth":{"type":"integer","description":"The new bandwidth of the VPC peering connection. Unit: Mbps. The value must be an integer greater than 0"},"DryRun":{"type":"string","description":"Specifies whether to perform a dry run. Valid values: true: Performs a dry run. The system checks the required parameters, request format,…"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. Generate a unique token on your client for each request. The token…"},"LinkType":{"type":"string","description":"The link type. Valid values: Platinum and Gold. The default value is Gold. If you specify this parameter, make sure that you create 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-vpcpeer/move-resource-group":{"post":{"operationId":"cloud_aliyun_vpcpeer_move_resource_group","summary":"Moves a VPC peering connection to a different resource group","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceId","ResourceType","NewResourceGroupId","RegionId"],"properties":{"ResourceId":{"type":"string","description":"The ID of the peering connection instance"},"ResourceType":{"type":"string","description":"The resource type. Set the value to PeerConnection for a VPC peering connection"},"NewResourceGroupId":{"type":"string","description":"The ID of the resource group to which you want to move the peering connection instance. This feature lets you manage resources under your…"},"RegionId":{"type":"string","description":"The ID of the region to which the resource belongs. You can call the https://help.aliyun.com/document_detail/36063.html operation to…"}}}}}},"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-vpcpeer/reject-vpc-peer-connection":{"post":{"operationId":"cloud_aliyun_vpcpeer_reject_vpc_peer_connection","summary":"Rejects a connection request for a VPC peering connection","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["InstanceId"],"properties":{"ResourceOwnerAccount":{"type":"string","description":"The ResourceOwnerAccount"},"InstanceId":{"type":"string","description":"The ID of the VPC peering connection"},"DryRun":{"type":"string","description":"Specifies whether to perform a dry run. Valid values: true: Sends a check request without rejecting the connection request. The system…"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. Generate a parameter value from your client to make sure that 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-vpcpeer/tag-resources":{"post":{"operationId":"cloud_aliyun_vpcpeer_tag_resources","summary":"Creates and attaches tags to VPC peering connections","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceId","Tag","ResourceType","RegionId"],"properties":{"ResourceId":{"type":"string","description":"The ID of the resource. You can specify up to 20 resource IDs (JSON-encoded)"},"Tag":{"type":"string","description":"The tag details (JSON-encoded)"},"ResourceType":{"type":"string","description":"The resource type. Set the value to PeerConnection"},"ClientToken":{"type":"string","description":"The client token that is used to ensure the idempotence of the request. Generate a unique token for each request from your client. The…"},"RegionId":{"type":"string","description":"The ID of the region where the resource is located. For more information, see https://help.aliyun.com/document_detail/36063.html"}}}}}},"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-vpcpeer/un-tag-resources":{"post":{"operationId":"cloud_aliyun_vpcpeer_un_tag_resources","summary":"Detaches tags from VPC peering connections","description":"POST /","tags":["cloud"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["ResourceId","ResourceType","RegionId"],"properties":{"ResourceId":{"type":"string","description":"The resource ID. You can specify up to 20 resource IDs (JSON-encoded)"},"TagKey":{"type":"string","description":"The key of the tag to detach. You can specify up to 20 tag keys. An empty string is supported. The tag key can be up to 128 characters in…"},"All":{"type":"string","description":"Specifies whether to detach all tags from the resource. Valid values: true: Detaches all tags from the resource. false (default): Does not…"},"ResourceType":{"type":"string","description":"The resource type. Set the value to PeerConnection, which specifies a VPC peering connection"},"ClientToken":{"type":"string","description":"A client token to ensure that the request is idempotent. Generate a unique token from your client for each request. The token can contain…"},"RegionId":{"type":"string","description":"The ID of the region where the resource is located. For more information, see https://help.aliyun.com/document_detail/36063.html"}}}}}},"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-vpcpeer/version":{"post":{"operationId":"cloud_aliyun_vpcpeer_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"}}}}}}}