Expand description
Yandex Wiki: a second host reached with the same account and organisation.
The Wiki takes the token and the organisation header Tracker does, so one
client carries both and only the address differs
(docs/adr/0007-yandex-wiki.md). Pages are addressed by slug — the path in
their URL — because that is what anyone has to hand.
Structs§
- Access
Entry - One grant: a role, held by a user or a group.
- Cursor
Page - One page of a Wiki listing.
- Grid
Column - Grid
Query - What to read of a grid. The Wiki does the filtering, so a narrow question costs a narrow answer.
- GridRow
- Operation
Status - Where an operation has got to.
- Upload
Session - An upload the Wiki has opened for one file.
- Wiki
Access - Who can read and edit a page, in our schema.
- Wiki
Attachment - A file attached to a page, in our schema.
- Wiki
Comment - One comment, in our schema.
- Wiki
Grid - One dynamic table, in our schema.
- Wiki
Grid Ref - A grid named by a listing.
- WikiHit
- One search hit: a page, or a file attached to one.
- Wiki
Hits - A page of search hits.
- Wiki
Operation - Work the Wiki does after it has answered: a clone.
- Wiki
Page - One page, in our schema.
- Wiki
Page Ref - A page named by a listing: the Wiki sends its id and slug, and no title.
- Wiki
Resource - One thing a page holds: a file or a grid, told apart by
kind. - Wiki
Restored - A page brought back from deletion.
Enums§
- Comment
Scope - Which comments to list.
Constants§
- DEFAULT_
WIKI_ URL - Default Wiki API root. Overridable so tests can point at a
wiremockserver. - LAST_
SEARCH_ PAGE - The last page of hits the Wiki’s search will serve.
- UPLOAD_
PART - The size of each part of an upload but the last.
Functions§
- slug_of
- The slug in whatever was pasted: a slug already, or a page’s full address.
- upload_
parts - The byte ranges an upload of
lenbytes is sent in: one part for a file smaller than a part, otherwise parts ofsizeand a shorter last one.