Skip to content

admin add_post_to_collection.json

Timothy Duffy edited this page Mar 8, 2015 · 1 revision

###admin/add_post_to_collection.json###

All admin api's require a token to be passed in. See get_access_token.json for more information.

admin/add_post_to_collection.json?token=238236fa-0e1a-499c-8051-c46e2f416387

This is a HTTP POST end point, and includes the following fields:

collection_id
    This is the ID of the collection that the post should be added to.

post_id
    This is the ID of the post being added to the collection.

Note: posts may exist within multiple collections.

A valid response looks like this:

{
    "post_id": 1,
    "success": true,
    "collection_id": 1
}
Clone this wiki locally