account

Publish Private Scan

Owner-gated opt-in: publish a private repo's grade to the public catalog + search.

Private scans (POST /account/private-scan) deliberately never reach the public catalog. This endpoint lets the repo owner choose to make a private repo's grade public and searchable. The supplied GitHub token proving read access to the repo IS the authorization — a private repo can't be topic-claimed (our PAT can't read its topics), so access-via-token is the ownership proof.

Re-scans the repo with the token (transient — never stored or logged, matching the private_scan guarantees), then upserts the result into CommunityScan so it appears in the browse catalog and global search. On scan failure / no access → 502/404.

post/api/v1/account/private-scan/publish

Request

  • Base URL: https://agentavow.com (the document declares no server; this is the origin it was published from)
  • URL: https://agentavow.com/api/v1/account/private-scan/publish
  • Auth: HTTP bearer

Headers

x-api-keystring nullable

Request body

ownerstring required
repostring required
tokenstring required

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.