Posts
Approve a post
POST
Approves a post a contributor submitted, so it goes out at its scheduled time. Needs a key with the editor role or higher. Only a post whose status is pending_approval can be approved.
header
AuthorizationBearer <token>Send your key as Authorization: Bearer eksis_sk_....
postId*stringThe post is scheduled.
application/json- response
data?curl -X POST 'https://api.eksis.io/v1/posts/string/approve' \ -H 'Authorization: Bearer eksis_sk_...'{ "data": { "id": "string", "status": "draft", "scheduledAt": "2019-08-24T14:15:22Z" }}