Skip to content

Create Folder

POSThttps://portal-prod.rosettalab.top/rosetta-open/folder/create

This page will help you get started with creating a folder on Rosetta, which is a set of projects, and return the folder id.

body params

*namestring
Folder name, must be distinct and the maximum length limit is 60 bytes.
externalIdstring
The mapping ID in your platform, the maximum length limit is 60 bytes.
Examples
shell
curl https://portal-prod.rosettalab.top/rosetta-open/folder/create \
 -X POST \
 -H "Content-Type: application/json" \
 -H "X-STARDUST-KEY: <X-STARDUST-KEY>" \
 -H "X-TS: <X-TS>" \
 -H "X-SIGN: <X-SIGN>"

responses

200
{
"code": 200,
"message": "Success",
"data": {
"folderId": 1
},
"date": "2024-05-16 19:03:34",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": true
}
5836
{
"code": 5836,
"data": null,
"message": "Folder name already exists",
"date": "2024-05-16 19:03:34",
"requestId": "864b70706a7349ea83e177a49800464f",
"success": false
}