Exports
Create an export
POST /v1/workshops/:workshop_id/exports
Parameters
Name | Type | Description |
---|---|---|
type | string | Required the type of the export (pdf, xlsx, docx, csv or stormz) |
Example
{
"mimetype": "pdf"
}
Response
201 Created
{
"id": "5007d396eb7abf319a000047",
"created_at": "2012-04-12T14:14:23+02:00",
"type": "pdf",
"state": "success",
"url": "https://stormz.me/workshops/5007d396eb7abf319a000047/exports/5007d396eb7abf319a000047/download"
}
List all exports
List the current exports for the workshop.
GET /v1/workshops/:workshop_id/exports
Response
200 OK
[
{
"id": "5007d396eb7abf319a000047",
"created_at": "2012-04-12T14:14:23+02:00",
"type": "pdf",
"state": "success",
"url": "https://stormz.me/workshops/5007d396eb7abf319a000047/exports/5007d396eb7abf319a000047/download"
}
]
Get an export
GET /v1/workshops/:workshop_id/exports/:id
Response
200 OK
{
"id": "5007d396eb7abf319a000047",
"created_at": "2012-04-12T14:14:23+02:00",
"type": "pdf",
"state": "success",
"url": "https://stormz.me/workshops/5007d396eb7abf319a000047/exports/5007d396eb7abf319a000047/download"
}
Download an export
GET /v1/workshops/:workshop_id/exports/:id/download
Response
200 OK
Delete an export
DELETE /v1/workshops/:workshop_id/exports/:id
Response
204 No Content