tagPosts
Description
No description
Response
Returns a PaginatedPost
Arguments
| Name | Description |
|---|---|
| after - String | |
| before - String | |
| limit - Int! | |
| offset - Int | |
| reverse - Boolean | |
| spaceId - ID | |
| tagId - ID | Required if tagSlug is not provided. Takes precedence over tagSlug. |
| tagSlug - String | Required if tagId is not provided. Will be ignored if tagId is present. |
Query
query tagPosts(
$after: String,
$before: String,
$limit: Int!,
$offset: Int,
$reverse: Boolean,
$spaceId: ID,
$tagId: ID,
$tagSlug: String
) {
tagPosts(
after: $after,
before: $before,
limit: $limit,
offset: $offset,
reverse: $reverse,
spaceId: $spaceId,
tagId: $tagId,
tagSlug: $tagSlug
) {
totalCount
}
}
Variables
{
"after": "xyz789",
"before": "abc123",
"limit": 123,
"offset": 123,
"reverse": false,
"spaceId": 4,
"tagId": "4",
"tagSlug": "abc123"
}
Response
{
"data": {
"tagPosts": {
"edges": [
"PostEdge"
],
"nodes": [
"Post"
],
"pageInfo": "PageInfo",
"totalCount": 987
}
}
}