💾 Archived View for jb55.com › ward.asia.wiki.org › about-json-api-keys captured on 2022-01-08 at 14:18:53. Gemini links have been rewritten to link to archived content
⬅️ Previous capture (2021-12-04)
-=-=-=-=-=-=-
The JSON plugin allows writes from remote computers provided they include a header with a valid API key. Here we describe how a server administrator can manage keys.
Valid keys are kept in a tokens.json file, one file for each site hosted by the server. If server data is kept in the customary ~/.wiki directory, look to these locations.
The tokens are listed by slug, where * means all slugs.
A complete tokens.json file might look like this.
The info fields are for the convenience of administrators. The id might be returned to requesters in some situations while the nb field will remain private.
Longer keys are encouraged.