trusted_publishing
Create a new Trusted Publishing configuration for GitHub Actions.
post/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
Request body
Example request
{
"github_config": {
"crate": "regex",
"repository_name": "regex",
"repository_owner": "rust-lang",
"workflow_filename": "ci.yml"
}
}Response
Successful Response
Example response
{
"github_config": {
"crate": "regex",
"id": 42,
"repository_name": "regex",
"repository_owner": "rust-lang",
"repository_owner_id": 5430905,
"workflow_filename": "ci.yml"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.