레코드 조회
    • PDF

    레코드 조회

    • PDF

    Article Summary

    개요

    레코드 정보를 조회합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입설명
    domainIdYesInteger도메인 ID
    pageYesInteger페이징 번호 (0번부터)
    sizeYesInteger페이징 단위
    recordTypeNoString레코드 타입
    searchContentNoString필터링 레코드 정보

    응답

    응답 바디

    예시

    요청 예시

    GET {DNS_API_URL}/ncpdns/record/{domainId}
    ?page=0
    &size=20
    &recordType=A
    &searchContent=www
    

    응답 예시

        {
          "content": [
            {
              "name": "www.example.com",
              "host": "www",
              "type": "A",
              "content": "1.1.1.1",
              "ttl": 86400,
              "aliasId": null,
              "id": 105,
              "domainName": "example.com",
              "createdDate": 1583292247,
              "modifiedDate": 1591863771,
              "defaultYn": false,
              "applyYn": true,
              "aliasYn": false,
              "lbPlatform": null,
              "lbYn": false,
              "delYn": false
            },
            {
              "name": "ts.example.com",
              "host": "ts",
              "type": "A",
              "content": "www.example.com",
              "ttl": 86400,
              "aliasId": 105,
              "id": 315,
              "domainName": "example.com",
              "createdDate": 1591852795,
              "modifiedDate": 1591863771,
              "defaultYn": false,
              "applyYn": true,
              "aliasYn": true,
              "lbPlatform": null,
              "lbYn": false,
              "delYn": false
            }
          ],
          "pageable": {
            "sort": {
              "sorted": false,
              "unsorted": true,
              "empty": true
            },
            "pageNumber": 0,
            "pageSize": 20,
            "offset": 0,
            "unpaged": false,
            "paged": true
          },
          "last": true,
          "totalPages": 1,
          "totalElements": 2,
          "sort": {
            "sorted": false,
            "unsorted": true,
            "empty": true
          },
          "first": true,
          "numberOfElements": 2,
          "size": 20,
          "number": 0,
          "empty": false
        }
    
    

    오류 코드 예시

    {
      "result": "FAIL",
      "error": {
        "errorCode": "X00006",
        "message": "권한이 없습니다.",
         "devMessage": "권한이 없습니다."
       }
    }
    

    이 문서가 도움이 되었습니까?

    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.