Js-snippet
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
PATCH |
Retrieve js snippet resolve
Preview what a given pin would resolve to, without saving it.
Example request
GET /api /projects /:project_id /js-snippet /resolveExample response
Status 200
Retrieve js snippet version
Return the team's current version pin and resolved version.
Example request
GET /api /projects /:project_id /js-snippet /versionExample response
Status 200
Update js snippet version
Update the team's version pin.
Request parameters
- js_snippet_versionstring
Example request
PATCH /api /projects /:project_id /js-snippet /version