-
Notifications
You must be signed in to change notification settings - Fork 66
Post Types
corsacca edited this page May 28, 2019
·
23 revisions
This page covers endpoints available for all post types like
- contacts
- groups
- custom post types. Click here for more information.
CRUD
- Create post: POST /post-type
- Get post: GET /post-type/id
- Update post: POST /post-type/id
List
- List posts: GET /post-type
- List posts for typeaheads: GET /post-type/compact
Comments
- Get comment: GET /post-type/id/comments
- Create comment: POST/post-type/id/comments
- Update comment: POST /post-type/id/comments/id
- Delete comment: DELETE /post-type/id/comments/id
Activity
- Get all activity: GET /post-type/id/activity
- Get one activity: GET /post-type/id/activity/id
Shares
- Get shares: GET /post-type/id/shares
- Add shares: POST /post-type/id/shares
- Remove shares: DELETE /post-type/id/shares