Fictional API example. This page demonstrates documentation features; its operations do not describe a live service.
This reference is generated from the OpenAPI description. It shows the operation contract; follow any related guides below for task steps and context.
OpenAPI for this operation: Download JSON.
GET /notes/{id}
Get a note
Read a saved note from this fictional API.
Servers
https://api.example.test
Parameters
id (path)
Required
string
Known note ID: "note_123"
Responses
200: OK
application/json
The saved note.
A saved note with its author, labels, and display metadata.
7 properties
-
idstringalways present ⓘThe generated note ID.
-
textstringalways present ⓘmaxLength: 280
The saved text.
-
createdAtstringalways present ⓘformat: date-time
When the note was created.
-
archivedAtstringalways present nullable ⓘformat: date-time
When the note was archived, or null while active.
-
metadataobjectmay be absent ⓘOptional display information for a note.
2 properties
-
sourcestringmay be absent ⓘWhere the note came from.
-
pinnedbooleanmay be absent ⓘWhether the note stays at the top.
-
404: Not Found
application/json
No note has that ID.
object
2 properties
-
codestringalways present ⓘ -
messagestringalways present ⓘ
Related guides
- Prepare a note request — Prepare a fictional note payload and follow its linked operation contracts.