Module ipx::admin
Server settings, accounts, the log and the directory’s administration. Admins only.
Endpoints
- GET /api/settings
- The server’s settings. Anyone signed in may read them.
- PATCH /api/settings
- Change the server’s settings. They take effect at once.
- GET /api/users
- Every account.
- POST /api/users
- Add an account.
- PATCH /api/users/{id}
- Make an account an admin, or not.
- DELETE /api/users/{id}
- Remove an account, with its subscriptions and read state. Files stay.
- GET /api/logs
- The newest lines of the server’s log, or those after a given one.
- GET /api/directory-status
- Who the directory takes this server’s token to be, and how the last share went.
- DELETE /api/directory/{id}
- Remove a feed from the directory and keep it out.
- POST /api/directory/{id}/refresh
- Have the directory check a feed now. Needs an
rwatoken. - GET /api/directory-admin
- The servers sharing with the directory, and the feeds it keeps out. Needs
rwa. - DELETE /api/directory-blocked/{id}
- Let a feed the directory keeps out back in. Needs
rwa. - DELETE /api/directory-instances/{name}
- Drop a server’s share from the directory until it next shares. Needs
rwa.