CentralCSP
APIInventory Origins

Get an inventory origin

Returns one origin with its classification, description, and the tags carried by its scripts.

Requires the viewer role on the website and the compliance plan feature.

GET
/v1/workspaces/{workspaceId}/websites/{websiteId}/compliance/origins/{originId}

Authorization

AuthorizationBearer <token>

An OpenID Connect access token issued by Keycloak, acting as the signed-in user.

In: header

Path Parameters

workspaceId*string
websiteId*string
originId*string

Response Body

application/json

curl -X GET "https://api-next.centralcsp.com/v1/workspaces/string/websites/string/compliance/origins/string"
{  "id": "string",  "workspaceId": "string",  "websiteId": "string",  "origin": "https://js.stripe.com",  "description": "string",  "originType": "first-party",  "tags": [    {      "id": "string",      "name": "string",      "color": "slate"    }  ],  "createdAt": "2019-08-24T14:15:22Z",  "updatedAt": "2019-08-24T14:15:22Z"}