Create a folder

post/project/{projectName}/folders

Creates a subfolder within a specified folder that is in a project package.

Request Samples

1

Response Samples

1{
2 "id": "UHJvamVjdDEvMC4xL2hvbWUvYW5hbHl0aWNzL2E=",
3 "name": "/home/analytics/astore",
4 "type": "file",
5 "version": 2
6}

Path Parameters

NameTypeRequiredDescription
projectName
string
true

The project name.

Query Parameters

NameTypeRequiredDescription
path
string
true

The path to the folder. Example: /test_files/sub_folder/.

Request Body

Responses

StatusMeaningDescription
201Created

The request succeeded.

HeadersSchema
400Bad Request

The request was invalid. Additional information is available in the application logs if the environment variable LOGGING_LEVEL_ORG_SPRINGFRAMEWORK is set to DEBUG.

Schema
403Forbidden

The user did not have the necessary permissions.

Schema
404Not Found

No resource exists at the requested path.

Schema
409Conflict

The request could not be completed due to a conflict with the current state of the resource.

Schema