The admin making the approval.
Array of post references to approve.
Returns true once the provided posts are approved.
Allows a user to create a new post.
The new post to make.
Currently logged in user.
The newly created post.
Allows the author of a post or an admin of the community the post was made on to delete the post.
Reference to the post on the federated network.
Currently logged in user.
True once the call is made.
Allows administrators to delete an array of posts.
The admin deleting the posts.
Array of post references to delete.
Returns true once the provided posts are deleted.
Fetches a post from the federated network.
Post to fetch.
The currently logged in user.
Object representing the post.
Fetches all the posts from a community.
Community to fetch posts from.
The currently logged in user.
Array of posts.
Fetches the list of posts from communities the user is subscribed to.
The currently logged in user.
Array of posts.
Fetches an array of unapproved posts from communities the user moderates (is an admin in).
A community administrator.
Array of of unapproved posts.
Allows a user to report a post and set its approved flag to false.
The post to report
True on report success.
Allows the author of a post or an admin of the community the post was made on to update the content of the post.
Reference to the post in the federated network.
The new body of the post.
Currently logged in user.
The new title of the post.
The updated post.
Generated using TypeDoc
Allows administrators to set the approved flag on the provided posts to true.