MENU
      Create temporary domain

        Create temporary domain


        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.

        Creates a temporary domain to use in Cloud Search.

        You need to validate a schema before creating a temporary domain.

        POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain
        HTTP

        Request

        Request Body

        FieldRequiredTypeLimitationsDescription
        nameRequiredStringOnly English alphabet, numbers, "_" and "-" are allowed. The name must start with an alphabetical character or "_", and must be between 3 and 20 characters in length.Domain name
        typeOptionalStringSelect one of the following: small, medium, large, xlarge, xxlarge, and xxxlarge (default: small).Scale of containers
        descriptionOptionalString0-100 charactersDomain description
        indexerCountOptionalNumberThe only available value is 1 for now.Number of containers for indexes
        searcherCountOptionalNumberMin: 1, Max: 4Number of containers for searches
        schema.documentOptionalSchemaValid schema (A schema can be validated via Validate schema)Search settings

        Response

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

        Examples

        Request Example

        POST https://cloudsearch.apigw.ntruss.com/CloudSearch/real/v1/tempdomain
        
        POST /CloudSearch/real/v1/tempdomain HTTP/1.1
        Host:cloudsearch.apigw.ntruss.com
        accept:application/json
        x-ncp-apigw-signature-v2: LssXAuyQepxO4ie/XFnCKTJQZzDpOD0GyNQFz9OKhjY=
        x-ncp-apigw-timestamp: 1545957229164
        x-ncp-iam-access-key: teGTwtcSEGA7fu28BGGi
        
        {
          "name": "pet_temp",
          "description" : "search engine for pet",
          "type" : "small",
          "indexerCount": 1,
          "searcherCount": 1
        }
        HTTP

        Request Example

        {"result":"ok"}
        JSON

        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.