Stage Deployment
    • PDF

    Stage Deployment

    • PDF

    Article Summary

    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

    NamePositionRequiredTypeDescription
    productIdpathYStringProduct Id
    Length(Min/Max): 0/10
    apiIdpathYStringApi Id
    Length(Min/Max): 0/10
    stageIdpathYStringStage Id
    Length(Min/Max): 0/10
    deploymentNopathYLongDeployment 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

    NamePositionRequiredTypeDescription
    productIdpathYStringProduct Id
    Length(Min/Max): 0/10
    apiIdpathYStringApi Id
    Length(Min/Max): 0/10
    stageIdpathYStringStage 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

    NamePositionRequiredTypeDescription
    productIdpathYStringProduct Id
    Length(Min/Max): 0/10
    apiIdpathYStringApi Id
    Length(Min/Max): 0/10
    stageIdpathYStringStage Id
    Length(Min/Max): 0/10
    deploymentNopathYLongDeployment 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

    NamePositionRequiredTypeDescription
    productIdpathYStringProduct Id
    Length(Min/Max): 0/10
    apiIdpathYStringApi Id
    Length(Min/Max): 0/10
    stageIdpathYStringStage Id
    Length(Min/Max): 0/10
    offsetquery stringNLongOffset
    Min: 0
    Max: 9,223,372,036,854,775,807
    limitquery stringNLongLimit
    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?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.