Gateway Response Header
    • PDF

    Gateway Response Header

    • PDF

    Article Summary

    ゲートウェイの応答ヘッダーを追加する

    URL

    POST https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/responses/{response-type}/headers
    

    リクエストパラメータ

    名前位置必須かどうかタイプ説明
    productIdpathYStringProduct Id
    長さ(最大/最小):0 / 10
    apiIdpathYStringApi Id
    長さ(最大/最小):0 / 10
    responseTypepathYStringResponse Type
    長さ(最大/最小):0 / 45

    リクエストボディ

    {
      "headerName" : "headerName",
      "headerValue" : "headerValue"
    }
    

    応答コード

    • 201

    応答ボディ

    {
      "responseType" : "responseType",
      "headerName" : "headerName",
      "headerValue" : "headerValue",
      "apiId" : "apiId"
    }
    

    ゲートウェイの応答ヘッダを削除

    URL

    DELETE https://apigateway.apigw.ntruss.com/api/v1/products/{product-id}/apis/{api-id}/responses/{response-type}/headers/{header-name}
    

    リクエストパラメータ

    名前位置必須かどうかタイプ説明
    productIdpathYStringProduct Id
    長さ(最大/最小):0 / 10
    apiIdpathYStringApi Id
    長さ(最大/最小):0 / 10
    responseTypepathYStringResponse Type
    長さ(最大/最小):0 / 45
    headerNamepathYStringHeader Name
    長さ(最大/最小):0 / 45

    リクエストボディ

    • なし

    応答コード

    • 204

    応答ボディ

    • なし

    この記事は役に立ちましたか?

    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.