Stormz

Developer


Sections

Sections are workshop-wide.

List sections

GET /v1/workshops/:workshop_id/sections

Response

200 OK
[
  {
    "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

201 Created
{
  "id": "5007d396eb7abf319a000047",
  "title": "Pros"
}

Get a section

GET /v1/workshops/:workshop_id/sections/:id

Response

200 OK
{
  "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

204 No Content

Delete a section

DELETE /v1/workshops/:workshop_id/sections/:id

Response

204 No Content