Sections
Sections are workshop-wide.
List sections
GET /v1/workshops/:workshop_id/sections
Response
[
{
"id": "5007d396eb7abf319a000047",
"title": "Pros"
}
]
Create a section
POST /v1/workshops/:workshop_id/sections
Parameters
Name |
Type |
Description |
title |
string |
Required the title of the section |
Example
{
"title": "Pros"
}
Response
{
"id": "5007d396eb7abf319a000047",
"title": "Pros"
}
Get a section
GET /v1/workshops/:workshop_id/sections/:id
Response
{
"id": "5007d396eb7abf319a000047",
"title": "Pros"
}
Update a section
PUT /v1/workshops/:workshop_id/sections/:id
Parameters
Name |
Type |
Description |
title |
string |
the title of the section |
Example
{
"title": "Cons"
}
Response
Delete a section
DELETE /v1/workshops/:workshop_id/sections/:id
Response