logo

arkejs/ui

Params

Offset and Limit

For each GET methods on Arke, Units, Parameters etc. are available dedicated parameters to limits the response

client.arke
    .getAll({ params: {
        offset: 0,
        limit: 20,
    }})
    .then((res) => {
        // limit response to 20 Arke
    })

Sorting

For each GET methods on Arke, Units, Parameters etc. is available a order parameters to sort the response through the asc or desc order for a specific parameter

client.arke
    .getAll({ params: {
        order: 'label;asc'
    }})
    .then((res) => {
        // get Arke sorted by label with ascended order
    })