Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Create Target Board

POST/api/v2/targetWorkbench/targetBoards
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

By default, create a TargetBoard with default columns: IDENTIFIED TARGET, PRIORITIZED TARGET, IN COORDINATION, IN EXECUTION, COMPLETE. Returns the RID of the created TargetBoard. The security.spaceRid field defaults to your user's space if there is only one. Use the List Spaces endpoint at /api/v2/filesystem/spaces to get the spaces your user has access to.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:target-write.

Query parameters

preview
boolean
optional

Enables the use of preview functionality.

Request body

CreateTargetBoardRequest
object
Hide child attributes

Hide child attributes

security
object

Security settings for the board

Show child attributes

Show child attributes

highPriorityTargetList
string
optional
configuration
object
optional

Configuration for a target board

Show child attributes

Show child attributes

name
string
description
string
optional

Response body

TargetBoard
object

The created TargetBoard

Hide child attributes

Hide child attributes

rid
string

The unique identifier for a Target Board

name
string
description
string
optional
highPriorityTargetList
string
optional
configuration
object
optional

Configuration for a target board

Show child attributes

Show child attributes

security
object

Security settings for the board

Show child attributes

Show child attributes

Examples

Request

Copied!
1 2 3 4 5 curl -X POST \ \t-H "Content-type: application/json" \ \t-H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/targetWorkbench/targetBoards?preview=true" \ -d '{"security":{"portionMarkings":["SENSITIVE"],"spaceRid":"ri.compass.main.folder.12345"},"highPriorityTargetList":"ri.gotham-artifact.0-0.hptl.example","configuration":{"columns":[{"id":"EXECUTION","name":"IN PROGRESS","color":"RED"}],"targetIdentifiers":["CUSTOM"]},"name":"Example target board name.","description":"Example target board description."}'

Response

Copied!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 { "security": { "portionMarkings": [ "SENSITIVE" ], "spaceRid": "ri.compass.main.folder.12345" }, "highPriorityTargetList": "ri.gotham-artifact.0-0.hptl.example", "configuration": { "columns": [ { "id": "EXECUTION", "name": "IN PROGRESS", "color": "RED" } ], "targetIdentifiers": [ "CUSTOM" ] }, "name": "Example target board name.", "description": "Example target board description.", "rid": "ri.gotham-artifact.0-0.target-board.example" }

Error responses

Error Name
InvalidClassificationPortionMarkingsError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe specified portion markings are not valid.
ParametersportionMarkings
InvalidSpaceRidError CodeINVALID_ARGUMENT
Status Code400
DescriptionThe space rid is missing or invalid.
ParametersspaceRid
MultitenantModeUnknownError CodeINTERNAL
Status Code500
DescriptionMultitenant mode is currently unknown.
Parameters
CreateTargetBoardPermissionDeniedError CodePERMISSION_DENIED
Status Code403
DescriptionCould not create the TargetBoard.
Parameters