Ex.Pnut v0.1.0 ExPnut.Posts.Lookup View Source

Get single, multiple or revisions of posts.

Link to this section Summary

Functions

Retrieve a list of specified post objects. Only retrieves the first 200 found.

Retrieve a list of previous versions of a post, not including the most recent. Currently a post can only have one previous version.

Link to this section Functions

Link to this function

get_post(client, post_id, post_params \\ %PostParams{}) View Source

Retrieve a post object.

Link to this function

get_posts(client, post_ids, post_params \\ %PostParams{}) View Source

Retrieve a list of specified post objects. Only retrieves the first 200 found.

Link to this function

get_revisions(client, post_id, post_params \\ %PostParams{}) View Source

Retrieve a list of previous versions of a post, not including the most recent. Currently a post can only have one previous version.

Revisions returned will have revision as a String number indicating which version of the post it is. Revisions start at "0".