Create a folder
POST
/folder
Authorizations
BearerAuth
TypeHTTP (bearer)
Request Body
application/json
JSON
{
"name": "string",
"parent": "string"
}
Responses
Folder created
application/json
JSON
{
"folder": {
"id": "string",
"name": "string",
"user_id": "string",
"children": [
{
}
],
"pastes": [
{
"id": "string",
"content": "string",
"title": "string",
"encrypted": true,
"visibility": "string",
"raw_url": "string",
"type": "string",
"created_at": "string",
"expire_at": "string",
"tags": [
"string"
],
"forked_from": "string",
"user_id": "string",
"folder": "string",
"starred": true,
"ai": true
}
],
"created": "string"
}
}