All Products
Search
Document Center

OpenSearch:CreateFolder

Last Updated:Jul 16, 2024

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request syntax

POST /openapi/ha3/instances/{instanceId}/sql-studio/databases/{database}/folders

Request parameters

ParameterTypeRequiredDescriptionExample
bodyobjectNo
typestringYes

table, instance, template, function

instance

Response parameters

ParameterTypeDescriptionExample
object
requestIdstring

id of request

E7B7D598-B080-5C8E-AA35-D43EC0D5F886
resultobject

NodeVO

typestring

table, instance, template, function

instance

Examples

Sample success responses

JSONformat

{
  "requestId": "E7B7D598-B080-5C8E-AA35-D43EC0D5F886",
  "result": {
    "id": 25030,
    "gmtCreate": "1719221186114",
    "gmtModified": "1719221186114",
    "name": "test",
    "parent": -1,
    "isDir": 0,
    "type": "instance",
    "instanceId": 0,
    "templateId": 1
  }
}

Error codes

For a list of error codes, visit the Service error codes.