Get a Daily note and its Log
GET
/api/v1/notes/journal/{date}
const url = 'https://example.com/api/v1/notes/journal/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”date
required
string
Responses
Section titled “Responses”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" } ]}