| Variable | Type | Description |
|---|---|---|
| draft_id | string | The ID of the draft for which to get the info |
| Parameter | Description |
|---|---|
| _id | The id of the draft |
| list_id | The list_id of the draft |
| last_updated | Time of last update (timestamp) |
| subject | The subject of the draft |
| html | The html content of the draft |
| text | The text content of the draft |
| segments | The segments of the draft (array of int ids) |
{ "_id": "my_draft_id", "list_id": 1, "last_updated": 1565261588, "subject": "Test v1", "html": "html", "text": "text", "segments": [ 47 ] }
| Code | Message | Description |
|---|---|---|
| 407 | Missing required param draft_id | draft_id param is required |
| 201 | Database ERROR loading draft. | Invalid access to draft_id |
{ "err": true, "message": "Missing required param draft_id", "code": 407 }
{ "err": true, "message": "Database ERROR loading draft.", "code": 201 }