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.
Path parameters
- project_idstring
Example request
GET /api /projects /:project_id /js-snippet /resolveExample response
Status 200 No response body
Retrieve js snippet version
Return the team's current version pin and resolved version.
Path parameters
- project_idstring
Example request
GET /api /projects /:project_id /js-snippet /versionExample response
Status 200 No response body
Update js snippet version
Update the team's version pin.
Path parameters
- project_idstring
Example request
PATCH /api /projects /:project_id /js-snippet /version