Versions

Manage configuration versions. Create, list, find, and update versions in your account.

GET
/rest/v1/versions
AuthorizationBearer <token>

Clerk Organization API key

In: header

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.oursprivacy.com/rest/v1/versions"
[
  {
    "id": "string",
    "name": "string",
    "versionNumber": 0,
    "isPublished": true,
    "createdAt": "string",
    "publishedAt": "string"
  }
]
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
POST
/rest/v1/versions
AuthorizationBearer <token>

Clerk Organization API key

In: header

Request Body

application/json

includeAllowedEvents?array<>|
includeConsentSettings?array<>|
includeDestinations?array<>|
includeExternalAllowedEventData?array<>|
includeGlobalDispatchCenters?array<>|
includeMappings?array<>|
includeReplaySettings?array<>|
includeSources?array<>|
includeTagManagerTags?array<>|
includeTagManagerTriggers?array<>|
includeTagManagerVariables?array<>|
name?|
notes?|

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://app.oursprivacy.com/rest/v1/versions" \  -H "Content-Type: application/json" \  -d '{}'
{
  "success": true,
  "error": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
GET
/rest/v1/versions/{id}
AuthorizationBearer <token>

Clerk Organization API key

In: header

Path Parameters

id*string

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.oursprivacy.com/rest/v1/versions/string"
{
  "id": "string",
  "name": "string",
  "versionNumber": 0,
  "isPublished": true,
  "notes": "string",
  "createdAt": "string",
  "publishedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
PATCH
/rest/v1/versions/{id}
AuthorizationBearer <token>

Clerk Organization API key

In: header

Path Parameters

id*string

Request Body

application/json

name?|
notes?|

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://app.oursprivacy.com/rest/v1/versions/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "id": "string",
  "name": "string",
  "versionNumber": 0,
  "isPublished": true,
  "notes": "string",
  "createdAt": "string",
  "publishedAt": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}
{
  "error": "string",
  "details": "string"
}

How is this guide?