Skip to content
Suomi

Who changed an integration, and how

GET
/v1/integrations/{clientId}/changes
Code sample: Shell / cURL
curl --request GET \
--url 'https://api.whatsbuilt.fi/v1/integrations/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/changes?limit=50' \
--header 'Authorization: Bearer <token>'
clientId
required
string format: uuid
limit
integer format: int32
default: 50 >= 1 <= 200

Changes, newest first

Media typeapplication/json

{ data } of Muutokset.

object
data
required

Newest first.

Array<object>

One entry of Muutokset: who changed an integration, and how.

object
id
required

The change.

string format: uuid
at
required

When it was made.

string
actor_user_id
required

Who made it; null once that person is deleted.

string | null
/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/
actor_name
required

That person’s or integration’s name.

string | null
actor_via
required

web, integration or app; new values may come

string
actor_via_client_id
required

The integration or app that made the change through the API

string | null
actor_client_name
required

For app: the app’s registered name. Show the actor as {actor_name} · via {actor_client_name}

string | null
action
required

What changed.

string
before

The values before.

after

The values after.

Example generated

{
"data": [
{
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"at": "example",
"actor_user_id": "example",
"actor_name": "example",
"actor_via": "example",
"actor_via_client_id": "example",
"actor_client_name": "example",
"action": "example",
"before": "example",
"after": "example"
}
]
}

Invalid body or parameters

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

Missing, malformed, expired or revoked token

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

INSUFFICIENT_SCOPE; INSUFFICIENT_ROLE; INTEGRATION_SELF when the integration acts on itself or on an integration up its creator chain; SCOPE_NOT_HELD or PROJECTS_NOT_HELD when the integration created, changed, given a key or enabled would hold a scope or project the caller lacks; INTEGRATION_ON_OTHER_PROJECTS for a key or enable on an integration another organisation’s project admitted; PUBLIC_API_DISABLED

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

No such integration in the organisation

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

INTEGRATION_REVOKED; INTEGRATION_KEY_LIMIT; INTEGRATION_KEY_IN_USE

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}

RATE_LIMITED; wait for Retry-After seconds

Media typeapplication/json

The error body of every /v1 answer of 400 or more.

object
error
required

A sentence for people; it may change

string
code
required

Part of the contract

string
details

What the code names, where it names something

request_id
required

The X-Request-Id of the call

string

Example generated

{
"error": "example",
"code": "example",
"details": "example",
"request_id": "example"
}