Excludes docs/ from deno fmt and deno lint so the Bruno files don't break formatting and lint checks in CI.
62 lines
888 B
Plaintext
62 lines
888 B
Plaintext
meta {
|
|
name: List discoverable notes across all users
|
|
type: http
|
|
seq: 1
|
|
}
|
|
|
|
get {
|
|
url: {{baseUrl}}/notes
|
|
body: none
|
|
auth: inherit
|
|
}
|
|
|
|
params:query {
|
|
~cursor:
|
|
~limit:
|
|
}
|
|
|
|
example {
|
|
name: 200 Response
|
|
description: A page of notes ordered by rkey descending.
|
|
|
|
request: {
|
|
url: {{baseUrl}}/notes
|
|
method: GET
|
|
mode: none
|
|
params:query: {
|
|
~cursor:
|
|
~limit:
|
|
}
|
|
}
|
|
|
|
response: {
|
|
headers: {
|
|
Content-Type: application/json
|
|
}
|
|
|
|
status: {
|
|
code: 200
|
|
text: OK
|
|
}
|
|
|
|
body: {
|
|
type: json
|
|
content: '''
|
|
{
|
|
"notes": [
|
|
{
|
|
"did": "",
|
|
"rkey": "",
|
|
"title": "",
|
|
"publishedAt": "",
|
|
"createdAt": "",
|
|
"language": ""
|
|
}
|
|
],
|
|
"cursor": ""
|
|
}
|
|
'''
|
|
}
|
|
}
|
|
}
|