Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.
Input
Encoding
application/jsondraft
reftown.delve.draft.defs#draft
Required
No description available.
Output
Encoding
application/jsonid
stringtid
Required
The ID of the created draft.
Errors
DraftLimitReached
Trying to insert a new draft when the limit was already reached. Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Inserts a draft using private storage (stash). An upper limit of drafts might be enforced. Requires authentication.",
"errors": [
{
"description": "Trying to insert a new draft when the limit was already reached.",
"name": "DraftLimitReached"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"draft": {
"ref": "town.delve.draft.defs#draft",
"type": "ref"
}
},
"required": [
"draft"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"id": {
"description": "The ID of the created draft.",
"format": "tid",
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
},
"type": "procedure"
}