Get a Log entry by block ID
GET
/api/v1/notes/journal/entries/{block_id}
const url = 'https://example.com/api/v1/notes/journal/entries/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/entries/example \ --header 'Authorization: Bearer <token>'Requires a signed-in User with the data scope. It returns the current day and content for the Log entry. It returns 404 when the entry is missing or not available to the User. Route: /api/v1/notes/journal/entries/{block_id}. Inputs: block_id. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”block_id
required
string
Responses
Section titled “Responses”Media typeapplication/json
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
Examplegenerated
{ "attachments": [ { "embed": true, "target": "example", "text": "example" } ], "date": "example", "end": "example", "etag": "example", "id": "example", "start": "example", "tags": [ "example" ], "title": "example", "zone": "example"}No Log entry has this block ID