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