Read a Wikilink preview page
GET
/api/v1/notes/wikilinks/{id}
const url = 'https://example.com/api/v1/notes/wikilinks/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/wikilinks/example \ --header 'Authorization: Bearer <token>'Requires the User who created the preview. It returns 404 when the preview is missing or has expired. Route: /api/v1/notes/wikilinks/{id}. Inputs: id, cursor, limit. Safe reads can use bounded retries.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Conversion operation ID
Query Parameters
Section titled “Query Parameters”cursor
string
Opaque page cursor returned by the previous response.
limit
integer format: int64
Number of Note previews. The server caps this at 20.
Responses
Section titled “Responses”Media typeapplication/json
object
change_count
required
integer format: int64
changed_notes
required
integer format: int64
examined_notes
required
integer format: int64
id
required
string
items
required
Array<object>
object
changes
required
Array<object>
object
after
required
string
before
required
string
line
required
integer
id
required
string
path
required
string
unresolved
required
Array<object>
object
ambiguous
required
boolean
line
required
integer
source
required
string
next_cursor
string | null
state
required
string
unresolved_count
required
integer format: int64
Examplegenerated
{ "change_count": 1, "changed_notes": 1, "examined_notes": 1, "id": "example", "items": [ { "changes": [ { "after": "example", "before": "example", "line": 1 } ], "id": "example", "path": "example", "unresolved": [ { "ambiguous": true, "line": 1, "source": "example" } ] } ], "next_cursor": "example", "state": "example", "unresolved_count": 1}Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}