全体リストの照会
    • PDF

    全体リストの照会

    • PDF

    Article Summary

    概要

    URL及びSCENARIOの全体リストを照会します。

    リクエスト例

    GET https://wms.apigw.ntruss.com/api/v1/scenarios
    
    Content-Type: application/json; charset=utf-8
    x-ncp-apigw-timestamp: {Timestamp}
    x-ncp-iam-access-key: {Access Key}
    x-ncp-apigw-signature-v2: {API Gateway Signature}
    

    レスポンス例

    [
      {
        "scenarioId": 9,
        "name": "NAVERクラウド",
        "monitoringType": "URL",
        "interval": 1,
        "requestTimeout": 5000,
        "runTimeout": 30000,
        "serviceType": "PC",
        "serviceYn": true,
        "methodType": "GET",
        "url": "https://www.ncloud.com",
        "historyId": 1
      }
    ]
    
    項目Type説明備考
    scenarioIdIntegerシナリオID
    nameStringサービス名
    monitoringTypeStringモニタリングタイプURL / SCENARIO
    intervalIntegerモニタリング周期
    requestTimeoutIntegerリクエスト制限時間(millisecond)
    runTimeoutInteger実行制限時間(millisecond)
    serviceTypeStringサービスタイプPC / MOBILE
    serviceYnBooleanモニタリングの状態true:開始
    false:停止
    methodTypeStringリクエストタイプGET / POST / DELETE / PUT
    urlStringURL
    historyIdInteger履歴管理番号

    エラーコード

    WMS APIをリクエストする際に発生する共通エラーコードです。

    HTTPステータスコードエラーコードエラーメッセージ説明
    403E011Permission not foundNo permissions.
    404E010Could not find the scenario.Not Found.

    レスポンス例

    {
      "errCode": "E010",
      "errMessage": "Could not find the scenario."
    }
    
    パラメータ説明
    errCodeエラーコード
    errMessageエラーメッセージ

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

    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.