Folders
REQUIREMENT
The base URL for all API requests is https://api.otterwaiver.comNOTE
The authentication token is required to authorize requests. It MUST be specified in the header parameter for these requestsUpdate Folder
This operation updates the folder title
PUT /folders
{
"id": "1dcd479c-86bf-4dfa-8333-0ed402e9e1df",
"title": "ALL Time"
}
curl --location --request PUT 'https://api.otterwaiver.com/folders' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJlbWFpbCI6InF1YW1lbGV4aXpAZ21haWwuY29tIiwiaWQiOiIxYmFmOGVjZi03OGE4LTQ0ZDItOTI3Mi0zNjkzYjk2OGY4ZTEiLCJwcm92aWRlciI6ImxvY2FsIiwicm9sZSI6eyJsYWJlbCI6Ik9yZ2FuaXphdGlvbiBBZG1pbiIsInZhbHVlIjoiT1JHQU5JWkFUSU9OX0FETUlOIn0sIm9yZ2FuaXphdGlvbklkIjoiZDhlYjRmN2UtZTJlZC00YjhiLTg5ZDUtZGIwMGUzNzI3NjRjIiwiaWF0IjoxNjQyMDc0MzM2LCJleHAiOjE2NzM2MzE5MzZ9.B6kv3lZbateWogmyNVvyfD_-Wr9Wf7kMe2NO-IB2g0c' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": "1dcd479c-86bf-4dfa-8333-0ed402e9e1df",
"title": "ALL Time"
}'
{
"id": "1dcd479c-86bf-4dfa-8333-0ed402e9e1df",
"creatorId": "1baf8ecf-78a8-44d2-9272-3693b968f8e1",
"teamId": "d8eb4f7e-e2ed-4b8b-89d5-db00e372764c",
"folderId": null,
"title": "ALL Time",
"createdAt": "2022-01-18T23:15:42.249Z",
"lastUpdatedAt": "2022-01-18T23:17:24.187Z"
}
REQUEST PARAMETERS
id
This is the unique id of the folder to rename.
title
This is the new folder name.
RESPONSE PARAMETERS
id
This is the unique id of the folder to rename.
creatorId
This is the unique identifier of the creator of this folder.
teamId
This is the unique identifier of the team the creator belongs to.
title
This is the updated title.
createdAt
This is the creation timestamp
lastUpdatedAt
This is the last updated timestamp.