Skip to content

Add admin repo list and deregister endpoints#226

Open
LandynDev wants to merge 1 commit into
testfrom
feat/admin-repo-list-deregister
Open

Add admin repo list and deregister endpoints#226
LandynDev wants to merge 1 commit into
testfrom
feat/admin-repo-list-deregister

Conversation

@LandynDev

Copy link
Copy Markdown
Collaborator

Summary

Adds two admin endpoints supporting the gittensor weight-consensus mirror reconciler (entrius/gittensor#1651): the validator's mirror-sync reconciler diffs its voted-repo union against the repo list and acts only on state transitions.

Changes

  • POST /api/v1/admin/repos/deregister — sets registered=false on a repo (case-insensitive match, 404 when no row); does not delete data or touch installation_id
  • GET /api/v1/admin/repos — lists all repo rows as {repoFullName, registered, hasInstallation}, sorted by repoFullName

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant