Read a note by its public link
GET
/api/v1/public/notes/{token}
const url = 'https://api.yggy.tech/api/v1/public/notes/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://api.yggy.tech/api/v1/public/notes/example \ --header 'Authorization: Bearer <token>'No sign-in. Read-only. Every link that does not work answers the same way.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” token
required
string
Responses
Section titled “ Responses ”The note
Media type application/json
object
title
required
string
content
required
string
createdAt
required
string
ownerName
required
string
isAudio
required
boolean
isImage
required
boolean
file
required
The note’s own file, for an image or file note.
object
name
required
string
contentType
required
string
sizeBytes
required
integer | null
downloadPath
required
string
attachments
required
Array<object>
object
id
required
string
name
required
string
contentType
required
string | null
sizeBytes
required
integer | null
downloadPath
required
string
entities
required
Array<object>
object
label
required
string
group
required
string
Example
{ "entities": [ { "group": "people" } ]}Note not found
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}Too many requests
Media type application/json
object
success
required
boolean
error
required
object
message
required
string
code
required
string
details
Example
{ "success": false, "error": { "code": "INTERNAL_ERROR" }}