fimfiction-issues icon indicating copy to clipboard operation
fimfiction-issues copied to clipboard

API cannot revoke story submission

Open Lithl opened this issue 7 years ago • 1 comments

PATCH /api/v2/stories/:id
{
    "data": {
        "type": "story",
        "attributes": {
            "submitted": false
        }
    }
}

The above payload with the above endpoint does nothing. "submitted": true does add a story to the approval queue, but revoking the submission does not work.

Lithl avatar Sep 11 '17 20:09 Lithl

Update: Just tested, "submitted": true fails with error 500 for a story with fewer than 1000 published words. (Failing to submit is good, but the error is unhelpful.) However, "submitted": false still fails to do anything, with no error response.

Lithl avatar Jan 28 '20 23:01 Lithl