Valyourise Logo

ValYouRise

DevelopmentApi

Create objective link

Creates an objective relation link between two workspace items after validating the requested relationship.

POST
/api/workspaces/{workspaceId}/links

Creates an objective relation link between two workspace items after validating the requested relationship.

PAT<token>

Personal Access Token

In: header

Path Parameters

workspaceId*string

Request Body

application/json

fromItemId*string
toItemId*string
linkType?string
Value in"objective_relation"
clientMutationId?string
[key: string]?never

Response Body

application/json

curl -X POST "https://loading/api/workspaces/string/links" \  -H "Content-Type: application/json" \  -d '{    "fromItemId": "string",    "toItemId": "string"  }'
{
  "$id": "string",
  "$sequence": 0,
  "$updatedAt": "string",
  "organizationId": "string",
  "workspaceId": "string",
  "fromItemId": "string",
  "toItemId": "string",
  "linkType": "objective_relation",
  "deletedAt": "string"
}
Empty
Empty