yum/zypper config
Changed onReturn a yum/zypper .repo fragment for this repository (with an embedded read token); the server sends it as Content-Type: text/repo. Used by the rpm and zypper setup snippets.
Request
- Base URLhttps://packagecloud.io
- AuthHTTP basic
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The username the repository belongs to.
The name of the repository.
Query parameters
The OS version as detected — a Debian/Ubuntu codename (jammy), an Enterprise-Linux major (9), or, for Alpine, v<major>.<minor> (e.g. v3.18 — note the leading v). See the supported OS list at https://packagecloud.io/docs#os_distro_version.
A unique identifier for the consuming system; a read token created/reused under this name is embedded in the output.
The consuming system's OS, as the setup scripts detect it — e.g. ubuntu, debian, el (the scripts also pass almalinux, centos, etc.), alpine, opensuse. packagecloud maps it to a supported distribution and is lenient about case and family aliases.
Response
A yum/zypper .repo fragment.
Changes
- info
endpoint added
- info