Pinned Posts not in Retrieve Collection Posts Endpoint
Open, NormalPublic



When you use the API to retrieve a collection's posts, the pinned posts are not in that returned list.


Trying to help a user with pinned posts (context) - it occurred when using the WriteFreely API to retrieve all of a collection's posts, post them to a collection, and then iterating through the pinned posts' slugs like so:

list = [about, contact, support, archive]

for x in list:
    post = c.retrieveCPost('collection', x)


The error was that the posts could not be found in the collection, meaning that the pinned posts did not transition over.




If resolved, it could lead to a reconsideration of the way we handle pinned posts, both with the API endpoint and in the UX for the end user.

Event Timeline

cjeller created this task.Aug 26 2019, 11:13 PM
matt added projects: WriteFreely, Restricted Project.Aug 27 2019, 12:00 AM