전체 목록 조회
    • 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": "네이버 클라우드",
        "monitoringType": "URL",
        "interval": 1,
        "requestTimeout": 5000,
        "runTimeout": 30000,
        "serviceType": "PC",
        "serviceYn": true,
        "methodType": "GET",
        "url": "https://www.ncloud.com",
        "historyId": 1
      }
    ]
    
    항목Type설명비고
    scenarioIdInteger시나리오 아이디
    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.