A model's removed elements with what is linked to them
curl --request GET \ --url 'https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/removed-elements?status=open&limit=25' \ --header 'Authorization: Bearer <token>'Pages of at most 25; pass next_cursor as cursor. Removed elements stay archived; they also come in listElements with archived_at.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The model’s id
Query Parameters
Section titled “Query Parameters”The tab of the removed list.
The next_cursor of the previous page
Responses
Section titled “Responses”One page
One page of a model’s removed elements.
object
A removed element with what is linked to it.
object
One inspection of a removed element.
object
The workflow.
Its template’s name.
Its plan’s name.
The workflow status.
Steps marked ok or na.
Every step.
One plan that names a removed element.
object
The plan.
Its name.
Only where the organisation has carry-over: the live element proposed to take the data
The proposed target of one removed element.
object
The live element proposed.
Its name, cut to 200 characters.
Its type name, cut to 200 characters.
Its storey, cut to 200 characters.
The tier.
Set when the tier is ristiriita.
Only where the organisation has carry-over: where the data went; remap_id is the carry-over’s id
CarriedTo: the live element a removed one’s data was carried to.
object
The live element.
Its name, at most 200 characters.
When the carry-over was applied, as PostgreSQL text.
Who applied it.
The asset_remaps row.
The batch it was applied in.
Active carry-overs of that batch.
CarryHistoryEntry: one carry-over of a removed element.
object
The asset_remaps row.
The element the data went to.
Its name, at most 200 characters.
As PostgreSQL text.
Who applied it.
As PostgreSQL text; null while active.
Who undid it.
On an undone carry-over: work recorded on the new element after it, which stayed there.
Only where the organisation has carry-over: the most pairs one carryOverElements call takes
Example
{ "data": [ { "proposal": { "tier": "varma", "conflict": "label" } } ]}Invalid body, parameters or Idempotency-Key
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}Missing, malformed, expired or revoked token
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}INSUFFICIENT_SCOPE; INSUFFICIENT_PROJECT_ROLE when the project role the scopes give does not cover the write, or the project is not the integration’s; PUBLIC_API_DISABLED when the project’s owning organisation has turned the API off
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}No such project, model, model version or reference document
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}IDEMPOTENCY_KEY_REUSED: the key was used with another body
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}RATE_LIMITED; wait for Retry-After seconds
The error body of every /v1 answer of 400 or more.
object
A sentence for people; it may change
Part of the contract
What the code names, where it names something
The X-Request-Id of the call
Example generated
{ "error": "example", "code": "example", "details": "example", "request_id": "example"}