Get note by ID
Retrieve a note by its ID.
Query Parameters
Default value: true
Specifies whether to include attached entities in the response, defaults to true.
- 200
- 403
- 404
- 422
- 500
Request has been handled successfully.
Schema
- Array [
- ]
data object
The unique identifier of the note.
The creation date of the note.
The last update date of the note.
Possible values: >= 6 characters
and <= 10000 characters
The main content of the note, must be between the specified minimum and maximum length.
The source of the note.
attachedEntities object[]
An array of attached entities associated with the note.
The unique identifier for the attached entity.
Possible values: [reflection
]
The type of the attached entity, must be one of the predefined NoteEntityType values.
entityMetadata object
Additional metadata for the attached entity.
Possible values: Value must match regular expression ^(\d+):(\d+)-(\d+):(\d+)$
An array of verse ranges associated with the note.
{
"success": true,
"data": {
"id": "asdasdqwe1231",
"createdAt": "2023-01-21T07:28:13.023Z",
"updatedAt": "2023-01-22T07:28:13.023Z",
"body": "This is a sample note body.",
"source": "we23412312weq",
"attachedEntities": [
{
"entityId": "entity123",
"entityType": "reflection",
"entityMetadata": {
"key": "value"
}
}
],
"ranges": [
"2:255-2:257"
]
}
}
Forbidden error. Can either be due to access token not being passed, having been expired or the caller trying to access a resource without enough permissions.
Schema
error object
{
"success": false,
"error": {
"code": "ForbiddenError",
"message": "Token expired"
}
}
Not Found. The resource being accessed does not exist.
Schema
error object
{
"success": false,
"error": {
"code": "NotFoundError",
"message": "The resource you're looking for does not exist"
}
}
Validation Error. The request includes one or more invalid params. Please check the request params and try again.
Schema
error object
{
"success": false,
"error": {
"code": "ValidationError",
"message": "`id` is required"
}
}
Server Error. Something went wrong, try again later.
Schema
error object
{
"success": false,
"error": {
"code": "ServerError",
"message": "Something went wrong"
}
}