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

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)
  • URL: /api/projects/{project_id}/dsns/get-or-create
  • 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

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