Stormz

Developer


Comments

Create a comment

POST /v1/workshops/:workshop_id/cards/:card_id/comments

Parameters

Name Type Description
content string Required the content of the comment

Response

201 Created
{
  "id": "5007d396eb7abf319a000047",
  "created_at": "2012-04-12T14:14:23+02:00",
  "content": "The content of the comment",
  "user_id": "5007d396eb7abf319a000047"
}

List comments

GET /v1/workshops/:workshop_id/cards/:card_id/comments

Response

200 OK
[
  {
    "id": "5007d396eb7abf319a000047",
    "created_at": "2012-04-12T14:14:23+02:00",
    "content": "The content of the comment",
    "user_id": "5007d396eb7abf319a000047"
  }
]

Get a comment

GET /v1/workshops/:workshop_id/cards/:card_id/comments/:id

Response

200 OK
{
  "id": "5007d396eb7abf319a000047",
  "created_at": "2012-04-12T14:14:23+02:00",
  "content": "The content of the comment",
  "user_id": "5007d396eb7abf319a000047"
}

Delete a comment

DELETE /v1/workshops/:workshop_id/cards/:card_id/comments/:id

Response

204 No Content