Metadata for one repository
Accepted credentials: User token, Plugin installation token.
Returns one repository’s display metadata and its settings flags. Access fields describe the caller: for a plugin installation token, the installation’s access. An anonymous caller reads the read tier, with runners_enabled, auto_run_on_push and public_sharing_enabled false and is_provider_admin omitted; trails_enabled is the stored value.
Use an own-account bearer token (including supported service accounts) or a Core-issued plugin installation bearer token, subject to the permissions and restrictions below. Plugin assertion JWTs and plugin OAuth user-delegation tokens are not accepted here.
Requires live repository pull permission (contents:read for plugin installations). Other authorized automation principals can also use this operation. Separate anonymous exception: with no bearer, X-Anon-Repo naming this repository authorizes the read when the repository is public and anonymous signing is configured. This exception is outside the user/plugin credential labels.
Response
OK