Create a note
$ lightfield note create
POST/v1/notes
Creates a new note record.
The note author is automatically set to the API key owner.
Supports idempotency via the Idempotency-Key header.
Required scope: notes:create
Rate limit category: Write
Parameters
--fields: object { "$title", "$content" }
Field values for the new note. $title is required; $content is optional. See Fields and relationships for value type details.
Create a note
lightfield note create \
--api-key 'My API Key' \
--fields '{$title: $title}'{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}Returns Examples
{
"id": "id",
"createdAt": "createdAt",
"fields": {
"foo": {
"value": "string",
"valueType": "ADDRESS"
}
},
"httpLink": "httpLink",
"relationships": {
"foo": {
"cardinality": "cardinality",
"objectType": "objectType",
"values": [
"string"
]
}
},
"updatedAt": "updatedAt",
"externalId": "externalId"
}