Request and response format - Publisher REST API

Created by George R, Modified on Wed, 9 Oct at 5:41 PM by Prerak Jain

All data in request or response from the API is in JSON format. Request and response fields for every API endpoint will be different, and you will know about them individually.

Date Format

All dates and timestamps are returned and expected in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ.

Example: 2022-05-23T14:38:26.133

Pagination

All collections returned are limited to 5 items by default. This limit can be overridden by providing a "length" parameter in your request. You can request up to 100 items per API by overriding the parameter. 

To request first set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=0&length=5

To request second set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=5&length=5

To request third set of data, your request should be:

GET https://api.knorish.com/publisher/{api_version}/user/getusers?start=10&length=5

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article