List lists
client.list.list(ListListParams { limit, offset } query?, RequestOptionsoptions?): ListListResponse { data, object, totalCount }
GET/v1/lists
Returns a paginated list of lists. Use offset and limit to paginate through results. See List endpoints for more information about pagination.
Required scope: lists:read
Rate limit category: Search
List lists
import Lightfield from 'lightfield';
const client = new Lightfield({
apiKey: 'My API Key',
});
const listListResponse = await client.list.list();
console.log(listListResponse.data);{
"data": [
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}
],
"object": "object",
"totalCount": 0
}Returns Examples
{
"data": [
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink"
}
],
"object": "object",
"totalCount": 0
}