Youniton Docs

Discovery

Opportunities and their columns.

#The opportunity's detail — description, decision, interview notes, votes and the viewer's rights

GET/opportunities/{opportunityId}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The detail; ETag carries the version.application/json
Errors403404One problem shape

#Change title, description, note, owner or confidence

PATCH/opportunities/{opportunityId}
Session (app only)If-MatchF-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed detail.application/json
Errors403404409412422428One problem shape

#Record or amend the decision; with Build, link an existing ticket or create one (D-090)

POST/opportunities/{opportunityId}/decision
Session (app only)Idempotency-KeyIf-MatchF-DSC-04

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/jsonrequired

Loading the schema…

Responses

200The decided opportunity, its decision and, when one was created, the new ticket's key.application/json
Errors403404409412422428One problem shape

#Interview notes, newest first, 25 per page

GET/opportunities/{opportunityId}/evidence
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of notes.application/json
Errors400403404One problem shape

#Add an interview note as evidence

POST/opportunities/{opportunityId}/evidence
Session (app only)Idempotency-KeyF-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The note.application/json
Errors403404409422One problem shape

#Change one's own interview note

PATCH/opportunities/{opportunityId}/evidence/{evidenceId}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed note.application/json
Errors403404409422One problem shape

#Remove an interview note (its author or a manager)

DELETE/opportunities/{opportunityId}/evidence/{evidenceId}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Removed.

No body.

Errors403404409One problem shape

#Add the caller's own reaction to an interview note (idempotent; XM-1786)

PUT/opportunities/{opportunityId}/evidence/{evidenceId}/reactions/{emoji}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
emojirequiredstring

The emoji, percent-encoded; a catalogue entry (F-WRK-38.R02).

Min length 1 · Max length 64

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The note as the caller now reads it.application/json
Errors403404409422One problem shape

#Remove the caller's own reaction from an interview note (idempotent; XM-1786)

DELETE/opportunities/{opportunityId}/evidence/{evidenceId}/reactions/{emoji}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
emojirequiredstring

The emoji, percent-encoded; a catalogue entry (F-WRK-38.R02).

Min length 1 · Max length 64

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The note as the caller now reads it.application/json
Errors403404409422One problem shape

#Reopen a resolved interview note (its author or a manager; idempotent; XM-1786)

POST/opportunities/{opportunityId}/evidence/{evidenceId}/reopen
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The note, open.application/json
Errors403404409One problem shape

#All the replies of an interview note, oldest first (XM-1786)

GET/opportunities/{opportunityId}/evidence/{evidenceId}/replies
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The replies (at most 100).application/json
Errors403404One problem shape

#Reply to an interview note (XM-1786)

POST/opportunities/{opportunityId}/evidence/{evidenceId}/replies
Session (app only)Idempotency-KeyF-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The reply.application/json
Errors403404409422One problem shape

#Change one's own reply (XM-1786)

PATCH/opportunities/{opportunityId}/evidence/{evidenceId}/replies/{replyId}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
replyIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed reply.application/json
Errors403404409422One problem shape

#Remove a reply (its author or a manager; XM-1786)

DELETE/opportunities/{opportunityId}/evidence/{evidenceId}/replies/{replyId}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
replyIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Removed.

No body.

Errors403404409One problem shape

#Add the caller's own reaction to a reply (idempotent; XM-1786)

PUT/opportunities/{opportunityId}/evidence/{evidenceId}/replies/{replyId}/reactions/{emoji}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
replyIdrequiredstring (uuid)
emojirequiredstring

The emoji, percent-encoded; a catalogue entry (F-WRK-38.R02).

Min length 1 · Max length 64

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The reply as the caller now reads it.application/json
Errors403404409422One problem shape

#Remove the caller's own reaction from a reply (idempotent; XM-1786)

DELETE/opportunities/{opportunityId}/evidence/{evidenceId}/replies/{replyId}/reactions/{emoji}
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)
replyIdrequiredstring (uuid)
emojirequiredstring

The emoji, percent-encoded; a catalogue entry (F-WRK-38.R02).

Min length 1 · Max length 64

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The reply as the caller now reads it.application/json
Errors403404409422One problem shape

#Resolve an interview note (its author or a manager; idempotent; XM-1786)

POST/opportunities/{opportunityId}/evidence/{evidenceId}/resolve
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The note, resolved.application/json
Errors403404409One problem shape

#Move an opportunity to a stage and between neighbours (D-091)

PUT/opportunities/{opportunityId}/position
Session (app only)F-DSC-03

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Request body application/jsonrequired

Loading the schema…

Responses

200The new stage, rank and version.application/json
Errors403404409422One problem shape

#The client requests cited by an opportunity, newest first

GET/opportunities/{opportunityId}/request-evidence
Session (app only)F-DSC-06

Path parameters

opportunityIdrequiredstring (uuid)

Query parameters

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A keyset page of 25.application/json

#Link a help-desk request to an opportunity as evidence

POST/opportunities/{opportunityId}/request-evidence
Session (app only)Idempotency-KeyF-DSC-06

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201The evidence as the actor reads it.application/json
Errors403404409422One problem shape

#Change the summary of one's own request evidence

PATCH/opportunities/{opportunityId}/request-evidence/{evidenceId}
Session (app only)If-MatchF-DSC-06

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

If-Matchrequiredstring

The resource version in quotes (05-api §7.1); missing answers 428, different answers 412.

Pattern ^"[0-9]+"$

Request body application/merge-patch+jsonrequired

Loading the schema…

Responses

200The changed evidence.application/json
Errors403404412422428One problem shape

#Remove a request evidence (its author or a manager)

DELETE/opportunities/{opportunityId}/request-evidence/{evidenceId}
Session (app only)F-DSC-06

Path parameters

opportunityIdrequiredstring (uuid)
evidenceIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

204Removed.

No body.

Errors403404One problem shape

#Vote for the opportunity (one vote per member)

PUT/opportunities/{opportunityId}/vote
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The votes after the change.application/json
Errors403404409One problem shape

#Withdraw the member's vote

DELETE/opportunities/{opportunityId}/vote
Session (app only)F-DSC-05

Path parameters

opportunityIdrequiredstring (uuid)

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The votes after the change.application/json
Errors403404409One problem shape

#The project's discovery board — summary, three columns with counts and their first cards

GET/projects/{projectKey}/opportunities
Session (app only)F-DSC-01

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Query parameters

decidedstring

One of: recent all · Default: "recent"

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200The board.application/json
Errors400403404One problem shape

#Add an opportunity at the end of the Opportunities column

POST/projects/{projectKey}/opportunities
Session (app only)Idempotency-KeyF-DSC-02

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Idempotency-Keyrequiredstring

Durable command receipt key (05-api §7.2); the generated client sends one UUIDv7 per user intent.

Min length 8 · Max length 128 · Pattern ^[A-Za-z0-9._:-]+$

Request body application/jsonrequired

Loading the schema…

Responses

201Created; Location /api/v1/opportunities/{id}.application/json
Errors403404409422One problem shape

#The next cards of one board column ("Load more")

GET/projects/{projectKey}/opportunity-columns/{stage}
Session (app only)F-DSC-01

Path parameters

projectKeyrequiredstring

Pattern ^[A-Za-z][A-Za-z0-9]{1,9}$

stagerequiredstring

One of: opportunity validating decided

Query parameters

decidedstring

One of: recent all · Default: "recent"

page[cursor]string

The opaque cursor of the previous page's links.next (05-api §5).

Max length 512

Headers

X-Kanso-Tenantrequiredstring (uuid)

The tenant id of the call (05-api §8.3); unknown, foreign or inactive answers 404 tenant.not_found.

Responses

200A page of up to 100 cards.application/json
Errors400403404One problem shape

Was this helpful?