POST
/
api
/
v1
/
list-entries
/
{listId}
/
query

Description

This API endpoint enables the retrieval of list entries. The structure of the list entries is dynamic and varies depending on the list and attributes, with no fixed response keys within the data.

Path

listId
string
required

A unique identifier for the list.

Body

filter
array

An array that will eventually allow users to define specific criteria for filtering data. Currently, it is an empty array, indicating that no filtering is applied at this time.

sort
array

An array that will eventually enable users to specify sorting criteria for the data. Like the filter array, it is currently empty, implying that no sorting is applied in the current context.

limit
number
required

he number of entries to be returned, set to 10 in this instance. This parameter restricts the response to a specific quantity of entries.

offset
number
required

The starting point from which the entries are to be fetched within the entire dataset. In this case, it is set to 0, indicating that retrieval should commence from the beginning of the dataset.

Response

status
boolean

Indicates the success or failure of the response. In this case, true signifies a successful operation.

message
string

Provides a human-readable message accompanying the response. In this instance, it confirms the successful retrieval of the entries with the message “List Entries fetched successfully”

data
array_object

The structure of the list entries is dynamic and varies depending on the list and attributes, with no fixed response keys within the data.