Stage Deployment
- Print
- PDF
Stage Deployment
- Print
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
Delete stage deployment history
URL
DELETE https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/stages/{stage-id}/deployments/{deployment-no}
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
stageId | path | Y | String | Stage Id Length(Min/Max): 0/10 |
deploymentNo | path | Y | Long | Deployment No |
Request Body
- None
Response Code
- 204
Response Body
- None
Get published stage document
URL
GET https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/stages/{stage-id}/swagger-json
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
stageId | path | Y | String | Stage Id Length(Min/Max): 0/10 |
Request Body
- None
Response Code
- 200
Response Body
{
"documentJson" : "documentJson"
}
Get stage document
URL
GET https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/stages/{stage-id}/deployments/{deployment-no}
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
stageId | path | Y | String | Stage Id Length(Min/Max): 0/10 |
deploymentNo | path | Y | Long | Deployment No |
Request Body
- None
Response Code
- 200
Response Body
{
"documentJson" : "documentJson"
}
List stage deploy history
URL
GET https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/stages/{stage-id}/deployments
Request Parameter
Name | Position | Required | Type | Description |
---|---|---|---|---|
productId | path | Y | String | Product Id Length(Min/Max): 0/10 |
apiId | path | Y | String | Api Id Length(Min/Max): 0/10 |
stageId | path | Y | String | Stage Id Length(Min/Max): 0/10 |
offset | query string | N | Long | Offset Min: 0 Max: 9,223,372,036,854,775,807 |
limit | query string | N | Long | Limit Min: 1 Max: 9,223,372,036,854,775,807 |
Request Body
- None
Response Code
- 200
Response Body
{
"total" : 1,
"content" : [ {
"deployedTime" : "2000-01-23T04:56:07.000+00:00",
"deploymentDescription" : "deploymentDescription",
"stageDeploymentNo" : 0,
"documentJson" : "documentJson",
"stageId" : "stageId"
} ],
"defaultDeploymentNo" : 6
}
Was this article helpful?