trusted_publishing
List Trusted Publishing configurations for GitHub Actions.
get/api/v1/trusted_publishing/github_configs
Request
- Base URL: https://crates.io
- URL: https://crates.io/api/v1/trusted_publishing/github_configs
- Auth: one of:
- API key in cookie cargo_session
- API key in header authorization
Query parameters
cratestring
Name of the crate to list Trusted Publishing configurations for.
user_idinteger
User ID to list Trusted Publishing configurations for all crates owned by the user.
pageinteger
The page number to request.
This parameter is mutually exclusive with seek and not supported for all requests.
per_pageinteger
The number of items to request per page.
seekstring
The seek key to request.
This parameter is mutually exclusive with page and not supported for all requests.
The seek key can usually be found in the meta.next_page field of paginated responses.
Response
Successful Response
Example response
{
"github_configs": [
{
"crate": "regex",
"id": 42,
"repository_name": "regex",
"repository_owner": "rust-lang",
"repository_owner_id": 5430905,
"workflow_filename": "ci.yml"
}
],
"meta": {
"next_page": "?seek=abc123",
"total": 42
}
}Changes
No recorded changes to this operation across all 1 revision of this API.