POST
/
create-folder
curl --request POST \
  --url http://dolphinflashcards.com/api/create-folder \
  --header 'Content-Type: application/json' \
  --data '{
  "userID": "user1",
  "folder": "firstFolder"
}'
{
  "success": "Folder \"folderName\" created"
}

Body

application/json
userID
string
required

The unique identity of the user creating a folder.

Example:

"user1"

folder
string
required

The name or title of the folder to be created.

Example:

"firstFolder"

Response

200
application/json
OK
success
string

Indicates that the folder has been successfully created.

Example:

"Folder \"folderName\" created"