http://host:port/connect/api-version/resource-root/resource-name/
The current API version is denoted as v1
, symbolically representing version 1
. As new versions are introduced, this number will change accordingly.
Resource roots serve as categorizations for resources. The currently available roots are listed below:
acoounts
: -for managing users and user divices.auth
: -for handling basic authentication.catalogs
:- for holding commonly used basic resources like products,premium etc.forms
:- for managing extra fields and custom fieldssupply-chain
:- for handling supply-chain related entities such as companies, farmers, and their relationships with other resources.transactions
:- for managing product transactions and payments.https://localhost:3000/connect/v1/transactions/product-transactions/V9D3YRRE52/
data
, along with the status code
and success
flag, for example:
count:
- total number of items available in the resource table.next:
- provides a link to the next set of paginated resources; if not available, it indicates the last page.previous:
- link to the previous set of paginated resources.results:
- the actual paginated resource listlimit
and offset
parameters to manage the number of items displayed and the starting point, adhering to server-enforced limits. The server-side default value for pagination can also be defined, for example.
http://host:port/connect/api-version/resource-root/resource-name/?limit=10&offset=0
Tue, 30 Jan 2024 17:02:23 GMT
represented as 1706634143