generated from github/welcome-to-github
-
-
Notifications
You must be signed in to change notification settings - Fork 12
10. API
Ludovic edited this page Nov 1, 2024
·
33 revisions
Repomanager exposes an API that allows performing certain actions.
From a client host:
- Register or unregister a host into Repomanager
- Send general host informations to Repomanager
- Send packages informations to Repomanager
- Retrieve the configuration of a host profile from Repomanager
From a desktop:
- Import source repositories
- Upload a package to a repository
- Rebuild repository metadata
An API key can be retrieved from userspace.
Once generated, copy the key and keep it safe. This key is used to authenticate with the API and to perform certain actions when there is no host Id+token pair available.
If a new API key is generated, then all old keys become invalid and unusable.
API URL: https://<FQDN>/api/v2