Manage Object Storage documents
    • PDF

    Manage Object Storage documents

    • PDF

    Article summary

    We are preparing a localization service for the content. We will do our best to provide the localization service as soon as possible.

    With Object Storage, you can upload large documents (up to 100 MB). Please see Document Management for a detailed description of the document.

    • Documents containing BOM (Byte Order Mark) can not be uploaded.
    • If autocomplete is enabled, you should update autocomplete indexes by using Enable and edit autocomplete after this operation is performed.
    POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/domain/{name}/document/manage/object_storage
    

    Request

    Request Parameters

    ParameterRequiredTypeLimitationsDescription
    nameYstringDomain name

    Request Body

    FieldRequiredTypeLimitationsDescription
    bucketYesstringThe name of the bucket where the document to upload is located
    objectPathYesstringThe path of the document to upload
    regionYesstring"kr", "us", "sg", "jp", "de"Bucket region information
    pruningYesbooleanWhether or not to delete the existing indexed document (if true, delete the existing indexed documents and index the requested document)

    Response status

    HTTP statusDescription
    200OK (Successfully requested)
    400Bad Request
    401Unauthorized, There is no authorization to read the object file
    403Forbidden
    404Not Found
    500Internal Server Error

    Examples

    Request Example

    POST /CloudSearch/real/v1/domain/car/document/manage/object_storage HTTP/1.1
    Host:cloudsearch.apigw.ntruss.com
    accept:application/json
    x-ncp-apigw-signature-v2: cDwtHuQeGmwWyNmwlN6XIGA66zge4iMXvfoDQNna05g=
    x-ncp-apigw-timestamp: 1545817618751
    x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
    
    {
      "bucket": "my-test",
      "objectPath": "doc/car_upsert.json",
      "region": "kr",
      "pruning": false
    }
    

    Response Example

    {"result":"ok"}
    

    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.