사용량 제한 조회
    • PDF

    사용량 제한 조회

    • PDF

    Article Summary

    도메인에 설정된 사용량 제한을 조회합니다.

    • document_upload : 업로드한 Document 크기를 보여줍니다 / uploaded documnet byte
    • reindex : 재색인(섹션, 색인 추가시 발생)된 문서 사이즈를 보여줍니다. / reindexed document byte
    • autocomplete_reindex : 자동완성이 적용된 문서의 수를 보여줍니다. / reindexed document count for autocomplete
    • search_response : Search Query 네트워크 사용량을 보여줍니다. / response size of searching, unit is byte
    GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/{name}/quota
    

    요청

    요청 파라미터

    파라미터 명필수 여부타입제약사항설명
    nameYesstring생성되어져 있는 Domain 이름

    응답

    필드명타입설명비고
    [].typestring사용량 제한을 설정한 항목search_response, document_upload, reindex, autocomplete_reindex
    [].statusstring리소스 상태usable, unusable(사용량 초과)
    [].updateTimestring마지막으로 상태 혹은 사용량 제한 설정이 변경된 시간
    [].quotanumber사용량 제한
    [].intervalstring초기화 주기1Month, 1Day
    [].usageQuantitynumber설정한 주기 동안의 사용량

    응답 Status

    HTTP StatusDesc
    200OK(조회 완료)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    예시

    요청 예시

    GET https://cloudsearch.apigw.gov-ntruss.com/CloudSearch/real/v1/domain/my_service/quota
    

    응답 예시

    [
      {
        "type": "search_response",
        "status": "usable",
        "updateTime": "30-04-2019 15:00:01",
        "quota": 10000000000,
        "interval": "1Month",
        "usageQuantity": 6221
      },
      {
        "type": "document_upload",
        "status": "usable",
        "updateTime": "30-04-2019 15:00:05",
        "quota": 1000000,
        "interval": "1Month",
        "usageQuantity": 17736
      }
    ]
    

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

    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.