curl --request GET \
--url https://api.campsite.com/v2/posts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"title": "<string>",
"created_at": "<string>",
"last_activity_at": "<string>",
"url": "<string>",
"content": "<string>",
"comments_count": 123,
"channel": {
"id": "<string>",
"name": "<string>"
},
"author": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
},
"resolution": {
"resolved_at": "<string>",
"resolved_html": "<string>",
"resolved_by": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
},
"resolved_comment": {
"id": "<string>",
"content": "<string>",
"created_at": "<string>",
"replies_count": 123,
"parent_id": "<string>",
"subject_id": "<string>",
"subject_type": "<string>",
"author": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
}
}
}
}
],
"total_count": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}Lists posts.
curl --request GET \
--url https://api.campsite.com/v2/posts \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "<string>",
"title": "<string>",
"created_at": "<string>",
"last_activity_at": "<string>",
"url": "<string>",
"content": "<string>",
"comments_count": 123,
"channel": {
"id": "<string>",
"name": "<string>"
},
"author": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
},
"resolution": {
"resolved_at": "<string>",
"resolved_html": "<string>",
"resolved_by": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
},
"resolved_comment": {
"id": "<string>",
"content": "<string>",
"created_at": "<string>",
"replies_count": 123,
"parent_id": "<string>",
"subject_id": "<string>",
"subject_type": "<string>",
"author": {
"avatar_urls": {
"xs": "<string>",
"sm": "<string>",
"base": "<string>",
"lg": "<string>",
"xl": "<string>",
"xxl": "<string>"
},
"name": "<string>",
"id": "<string>",
"type": "app"
}
}
}
}
],
"total_count": 123,
"next_cursor": "<string>",
"prev_cursor": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Use with next_cursor and prev_cursor in the response to paginate through results.
Specifies how many records to return. The default and maximum is 50.
Filters the posts to only include those from a specific channel.
last_activity_at, published_at asc, desc Successful operation
Show child attributes
Show child attributes
app, member Show child attributes
Show child attributes
Show child attributes
app, member Show child attributes
Show child attributes
Show child attributes
app, member