error_tracking

Create a client key

Creates a client key for integrated error tracking in a specified project. The public key attribute is generated automatically.

post/api/v4/projects/{id}/error_tracking/client_keys

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the project owned by the authenticated user

Response

Create a client key

idinteger required
activeboolean required
public_keystring required
sentry_dsnstring required

Example response

{
  "id": 1,
  "public_key": "glet_aa77551d849c083f76d0bc545ed053a3",
  "sentry_dsn": "https://glet_aa77551d849c083f76d0bc545ed053a3@example.com/errortracking/api/v1/projects/5"
}

Changes

No recorded changes to this operation across all 5 revisions of this API.