Skip to main content

Content API

What is the pageSize limit on Queries on Content API ?

The maximum pageSize limit is 200 but we suggest to use 100 as a pageSize.


How to send multiple select custom field values in a mutation?

Multiple select custom field values can be sent something like this

"customFields": [
{
"value": "test",
"action": "SET_VALUE",
"groupId": "RmllbGREZWZcwMw=="
},
{
"value": "test1",
"action": "SET_VALUE",
"groupId": "RmllbGREZWZcwMw=="
},
{
"value": "test2",
"action": "SET_VALUE",
"groupId": "RmllbGREZWZcwMw=="
},
{
"value": "test3",
"action": "SET_VALUE",
"groupId": "RmllbGREZWZcwMw=="
},
{
"value": "test4",
"action": "SET_VALUE",
"groupId": "RmllbGREZWZcwMw=="
}
]


What is a cursor and how to use it ?

A cursor is basically a pointer to results of a query. If a query returns multiple results in a list, we get a start cursor which is the beginning of the result list, and an end cursor, which is the end of the current results. This is useful in case we want to fetch certain data after an end cursor value. For example if you want the first 3 results after the person 2, you have to do the query first with cursor option first: 2, then do a second query with the end cursor returned in the response of the first query in the cursor option after


Can we use Google drive image URLs as imageUrl in Swapcard mutations ?

No the URLs needs to be publicly available as direct content. Google drive loads the whole web page.


We have 3 types of exhibitors and we created the 3 group in sawpcard Exhibitor Premium ,Exhibitor Enhance, Exhibitor. How can we assign different groups to Exhibitors?

To assign different groups to exhibitors please use updateExhibitor mutation.