Get Rows
Retrieves all rows from the specified table.
To retrieve rows, you need to make a GET request to the API endpoint, and the server will respond with the requested results.
Example:
curl https://v1.appbackend.io/v1/rows/TABLE_ID
If you have enabled the API key, the format of the API endpoint will be as follows.
curl https://v1.appbackend.io/v1/rows/TABLE_ID?api_key=API_KEY
Query Paramters:
Params | Description |
---|---|
page | Pagination number to get next page data |
limit | Limit to your search results. Default 100 |
filterKey | Key name to filter. filterValue also required with this query param |
filterValue | Value to filter results. filterKey also required with this query param |
Let me provide you with another example. Suppose you want to retrieve the results for page 2, with 10 results per page. In this case, the API endpoint format will be as follows.
curl https://v1.appbackend.io/v1/rows/TABLE_ID?api_key=API_KEY&page=2&perPage=10
Here is response example.
The results contain data — (table rows), page — (what page is this), count — (total rows in the table), & perPage — (per page results you wants with limit query params)