Get or create DSN for a project/environment/deployment combination

Changed on
post/projects/{project_id}/dsns/get-or-create

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    HTTP bearer

Path parameters

project_idinteger required

Project ID

Request body

base_urlstring nullable
deployment_idinteger nullable
environment_idinteger nullable

Response

DSN retrieved or created

created_atstring required
deployment_idinteger nullable
dsnstring required
environment_idinteger nullable
event_countinteger required
idinteger required
is_activeboolean required
namestring required
project_idinteger required
public_keystring required

Changes

    • info

      the endpoint scheme security bearer_auth was added to the API

    • info

      api tag dsn removed

    • info

      added the non-success response with the status

    1 more change in this revision