Add a Post to a Set
METHOD: POST
ENDPOINT: /api/v2/sets/:set_id/posts
AUTHENTICATED: No
The request body is a JSON representation of the Sets Posts being created.
POST https://ushv3.dev/api/v2/sets/1/posts/
|
Listing all Sets Posts
METHOD: GET
ENDPOINT: /api/v2/sets/1/posts
AUTHENTICATED: No
Name | Type | Description |
---|---|---|
q | Optional |
|
|
| |
order | Optional | Returned [resources] will be sorted in this order: ASC or DESC. Default: DESC |
order_by | Optional | Returned [resources] will be sorted by this field. Default: created |
limit | Optional | Limit number of results returned. Default: 50. Max: 500 |
offset | Optional | [Resources] returned will be offset by this number of results |
GET https://ushv3.dev/api/v2/sets/1/posts/?limit=50
|
Get a single Set Post
METHOD: GET
ENDPOINT: /api/v2/sets/:set_id/posts/:id
AUTHENTICATED: Yes
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the set post being updated. |
GET http://ushv3.dev/api/v2/sets/1/posts/1
|
Deleting a Set Post
METHOD: DELETE
ENDPOINT: /api/v2/sets/:set_id/posts/
AUTHENTICATED: YES
Name | Type | Description |
---|---|---|
id | Required | The numerical id of the set post being deleted. |
DELETE /api/v2/sets/1/posts
|