Skip to content

Limit

  • To get limited data objects user should provide a 'limit' in the request.
  • limit takes integer number values.

URL

With the below request, the user only gets 2 data objects in the response.

  • Schema based API url

    /api/schema/user-path/instance/database/table?limit=2
    

  • schemaless API url

    /api/gen/user-path/instance/database/table?limit=2
    

Got only two records in response.

{
    "data": [
        {
            "customer_id": 1,
            "first_name": "Bob",
            "last_name": "Lin"
        },
        {
            "customer_id": 2,
            "first_name": "Alice",
            "last_name": "Page"
        }
    ]
}