Search DB upload
    • PDF

    Search DB upload

    • PDF

    Article summary

    Search the usage history of the DB upload feature for the domain.

    Data is only output when the DB upload feature is used for the domain.

    GET https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/document/manage/db_upload
    

    Request

    Request parameters

    Parameter nameRequirement statusTypeRestrictionsExplanation
    nameYesstringDomain name createdDomain name to search autocomplete history
    limitYesnumberMin:1 MAX:30Pagination Limit
    pageYesnumberPagination Offset

    Response

    Response body

    Field nameRequirement statusTypeExplanationRemarks
    cntYesnumberTotal data count
    pageYesnumberPage
    limitYesnumberLimit
    userDbUploadListYesList<UserDbUpload>DB upload call information

    Response statuses

    HTTP statusDesc
    200OK (Successfully searched)
    400Bad Request
    401Unauthorized
    403Forbidden
    404Not Found
    500Internal Server Error

    Example

    Request example

    GET /CloudSearch/real/v1/domain/eeee/document/manage/db_upload?limit=10&page=0 HTTP/1.1
    Host: cloudsearch.apigw.ntruss.com
    accept:application/json
    

    Response example

    {
      "cnt": 9,
      "page": 0,
      "limit": 2,
      "userDbUploadList": [
        {
          "name": "db_upload",
          "dbKind": "mysql",
          "host": "",
          "port": 3306,
          "user": "root",
          "password": "0708",
          "db": "cloud_search",
          "charset": "utf8",
          "keyField": "id",
          "indexTypeField": "index_type",
          "sql": "select * from test_data",
          "connectTimeout": 4,
          "createdDate": "2020-11-02T06:26:15.792Z",
          "updatedDate": "2020-11-02T06:26:15.792Z"
        },
        {
          "name": "db_upload",
          "dbKind": "mysql",
          "host": "",
          "port": 3306,
          "user": "root",
          "password": "0708",
          "db": "cloud_search",
          "charset": "utf8",
          "keyField": "id",
          "indexTypeField": "index_type",
          "sql": "select * from test_data",
          "connectTimeout": 4,
          "createdDate": "2020-11-02T06:14:07.255Z",
          "updatedDate": "2020-11-02T06:14:07.255Z"
        }
      ]
    }
    

    Was this article helpful?

    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.