Parameters
Project detailsExample:
{ "project": { "name": "my new project" } }
curl -X POST https://api.gotolstoy.com/projects \
--header 'Authorization: Bearer <API_KEY>'
{
"id": "1242d2ad-8179-47d2-b6a1-ce0ee8cdc359",
"tolstoy": "https://player.gotolstoy.com/wc9gat7q75fu8?sneakpeek"
}
Create new Tolstoy
curl -X POST https://api.gotolstoy.com/projects \
--header 'Authorization: Bearer <API_KEY>'
{
"id": "1242d2ad-8179-47d2-b6a1-ce0ee8cdc359",
"tolstoy": "https://player.gotolstoy.com/wc9gat7q75fu8?sneakpeek"
}
{ "project": { "name": "my new project" } }
curl -X POST https://api.gotolstoy.com/projects \
--header 'Authorization: Bearer <API_KEY>'
{
"id": "1242d2ad-8179-47d2-b6a1-ce0ee8cdc359",
"tolstoy": "https://player.gotolstoy.com/wc9gat7q75fu8?sneakpeek"
}