Skip to content

Usage reporting ​

GET /api/usage ​

Super-administrator reporting consent and GitHub connection state

  • Access: Administrator

PUT /api/usage/config ​

Configure the public intake coordinates; no private key or app secret is accepted

  • Access: Administrator
  • Body: repository:string, clientId:string, publicKeyBase64:string

POST /api/usage/connect ​

Begin GitHub App device authorization after explicit consent

  • Access: Administrator

POST /api/usage/connect/poll ​

Poll the bounded GitHub authorization challenge

  • Access: Administrator

POST /api/usage/consent ​

Review the current notice, opt in or withdraw

  • Access: Administrator
  • Body: consent:boolean, noticeVersion:number

Released under the AGPL-3.0-only license.