Skip to content

Keep a saved view as a tab above its list

PUT
/api/views/{id}/pin
curl --request PUT \
--url https://forge.example.com/api/views/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/pin \
--header 'Authorization: Bearer <token>'

For you alone: your own views or the organization’s, six a list at most. Answers the view.

id
required
string format: uuid

OK

Media typeapplication/json
object
id
required
string format: uuid
list
required
string
name
required
string
query
required
string
shared
required
boolean
owner
required
object
id
required
string format: uuid
displayName
required
string
canChange
required
boolean
updatedAt
required
string format: date-time
version
required
integer | string format: int32
/^-?(?:0|[1-9]\d*)$/
pinned
boolean
pinnedAt
null | string format: date-time

Example

{
"pinned": false
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}