Skip to content

Get a Daily note and its Log

GET
/api/v1/notes/journal/{date}
curl --request GET \
--url https://example.com/api/v1/notes/journal/example \
--header 'Authorization: Bearer <token>'

Requires a signed-in User with the data scope. It returns the Daily note, Log entries and their current ETags. It returns 400 when the day or time zone is invalid. Route: /api/v1/notes/journal/{date}. Inputs: date. Safe reads can use bounded retries.

date
required
string
Media typeapplication/json
object
attachments
required
Array<string>
entries
required
Array<object>
object
attachments
required
Array<object>
object
embed
required
boolean
target
required
string
text
required
string
date
required
string
end
string | null
etag
required
string
id
required
string
start
required
string
tags
required
Array<string>
title
required
string
zone
string | null
log_structure
required
object
duplicate_heading_lines
required
Array<integer>
missing_heading
required
boolean
path
required
string
unparsed
required
Array<object>
object
etag
required
string
hash
required
string
line_index
required
integer
raw
required
string
suggestion
string | null
Examplegenerated
{
"attachments": [
"example"
],
"entries": [
{
"attachments": [
{
"embed": true,
"target": "example",
"text": "example"
}
],
"date": "example",
"end": "example",
"etag": "example",
"id": "example",
"start": "example",
"tags": [
"example"
],
"title": "example",
"zone": "example"
}
],
"log_structure": {
"duplicate_heading_lines": [
1
],
"missing_heading": true
},
"path": "example",
"unparsed": [
{
"etag": "example",
"hash": "example",
"line_index": 1,
"raw": "example",
"suggestion": "example"
}
]
}