Per comments from @thebaer, to remove a post from a collection (i.e., turn it into a Draft):
Basically, you pass an array of post IDs to POST /api/posts/disperse. That un-associates them with any collection.
And the result is sent back in the same format as the /collect endpoint.
Currently, the method signature for moving a post to a collection is:
Per comments from @thebaer, to remove a post from a collection (i.e., turn it into a Draft):
Currently, the method signature for moving a post to a collection is:
Make the
collectionAlias
parameter an optional, and then pass innil
if we want to disperse a post to Drafts.