trusted_publishing

post/api/v1/trusted_publishing/gitlab_configs

Request

  • Base URL: https://crates.io
  • URL: https://crates.io/api/v1/trusted_publishing/gitlab_configs
  • Auth: one of:
    • API key in cookie cargo_session
    • API key in header authorization

Request body

Example request

{
  "gitlab_config": {
    "crate": "regex",
    "namespace": "rust-lang",
    "project": "regex",
    "workflow_filepath": ".gitlab-ci.yml"
  }
}

Response

Successful Response

Example response

{
  "gitlab_config": {
    "crate": "regex",
    "id": 42,
    "namespace": "rust-lang",
    "project": "regex",
    "workflow_filepath": ".gitlab-ci.yml"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.