Code references

Create extinction

POST
/api/v2/code-refs/repositories/{repo}/branches/{branch}/extinction-events

Create a new extinction.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

repo*string

The repository name

Formatstring
branch*string

The URL-encoded branch name

Formatstring

Request Body

application/json

[index: integer]?

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v2/code-refs/repositories/string/branches/string/extinction-events" \  -H "Content-Type: application/json" \  -d '[    {      "revision": "a94a8fe5ccb19ba61c4c0873d391e987982fbbd3",      "message": "Remove flag for launched feature",      "time": "1636558831870",      "flagKey": "enable-feature",      "projKey": "default"    }  ]'
Empty