- API reference
- Knowledge pages
Hide a page from replies' links
PUThttps://app.notert.io/api/v1/knowledge-pages/{id}/hidden
Keeps a website's page out of the pages replies link, or offers it again, as the View dialog's Hide from replies does. Otto still reads it either way. A file's page is NOT_FOUND.
A token with knowledge:write. How to send one
Request
curl -X PUT https://app.notert.io/api/v1/knowledge-pages/7e9a1c3e-5b7d-4f9a-8c1e-3a5c7e9b1d28/hidden \
-H "Authorization: Bearer $NOTERT_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"hidden": true
}'Response 200
{
"id": "7e9a1c3e-5b7d-4f9a-8c1e-3a5c7e9b1d28",
"hiddenFromLinks": false
}Path parameters
idstringRequiredThe page's id.
At most 64 characters.
Body
hiddenbooleanRequiredtrue keeps it out of replies' links; false offers it again.
Response 200
idstringThe page's id.
hiddenFromLinksbooleanWhether a teammate kept the page out of the pages replies link. Otto reads it either way.
Errors
- 400
BAD_REQUESTInput validation failed. - 401
UNAUTHORIZEDSend a valid API token as a Bearer token. - 403
FORBIDDENThe teammate who holds this API token's secret can't change Otto's knowledge. Only an owner or admin can. - 403
HOLDER_NOT_ALLOWEDThe teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. - 403
INSUFFICIENT_SCOPEThis API token can't add or crawl websites for Otto, or hide their pages. Create one that may in the workspace's settings. - 403
NETWORK_NOT_ALLOWEDThis API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. - 403
NO_SEATThis workspace's plan has no seat for you. - 403
WORKSPACE_SUSPENDEDThis workspace is suspended. - 404
NOT_FOUNDNot Found. - 409
CHANGED_MEANWHILESomething changed meanwhile. Try again. - 429
TOO_MANY_REQUESTSToo Many Requests. Its data holdsretryAfter.
A refusal names its code beside a message. Rate limits says when to try again.