Skip to content
Suomi

The project's values for a finding's status, priority, type, stage and labels

GET
/v1/projects/{projectId}/finding-values
Code sample: Shell / cURL
curl --request GET \
--url https://api.whatsbuilt.fi/v1/projects/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/finding-values \
--header 'Authorization: Bearer <token>'

The values the app offers on the project’s findings. Send topic_status, priority, topic_type and stage as one of them.

projectId
required
string format: uuid

The values

Media typeapplication/json

FindingValues: the values the app offers on the project’s findings.

object
topic_statuses
required

Values for topic_status

Array<string>
priorities
required

Values for priority

Array<string>
topic_types
required

Values for topic_type

Array<string>
stages
required

Values for stage

Array<string>
topic_labels
required

The labels the app offers for labels

Array<string>

Example generated

{
"topic_statuses": [
"example"
],
"priorities": [
"example"
],
"topic_types": [
"example"
],
"stages": [
"example"
],
"topic_labels": [
"example"
]
}

VALIDATION_ERROR for a malformed project id

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_PROJECT_ROLE when the project is not the integration’s; PUBLIC_API_DISABLED when the project’s owning organisation has turned the API off

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"
}