Publish Item

This endpoint publishes an unpublished item.

On a published item, this endpoint will publish its pending draft copy.

Request

POST https://v2.api.uberflip.com/items/{itemId}/publish
Path Parameters Description
itemId The unique identifier of the item
Body Parameters Type Description
published_at Date (Optional) The date and time the item was published. Default: current date

Examples

curl -X POST -H "Content-Type: application/json" -H "Authorization: Bearer [Token]" -d "{ \
        \"published_at\": \"2016-04-06T10:57:50-0400\" }" \
-i https://v2.api.uberflip.com/items/56516/publish

Sample response:

HTTP/1.1 204 NO CONTENT
Content-Type: application/json