API Endpoint
PUT /v1/cards/{cardId}/extended
URL Parameters
cardIdthe ID of the card, which will be of the formxxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
Request Headers
Along with a appropriate authentication headers, you must provide a Content-Type header with a value of application/json
Request Body
Required Fields
preferredPhrasethe title of the cardcontentthe content of the cardshareStatusthe visibility setting for the card. Acceptable values areTEAM,PRIVATE, andPUBLIC. More information on these sharing settings can be found here
Other Fields
verificationIntervalthe frequency (in days) that this card needs to be verified. Acceptable values are7,14,30,90180,365. If no value is specified, the verification interval will default to90daysboardsThe boards to add this card to. NOTE - If this field is missing, existing collaborators will NOT be removed from the cardcollaboratorsFor cards that have ashareStatusofPRIVATE, the collaborators can be used to give specific users access to the card. NOTE - If this field is missing, existing collaborators will NOT be removed from the card.tagsThe tags to be added to the new card. To get a list of available Tags, see the documentation on listing tag categories. NOTE - If a tag is on a card but not listed in this array on an updated, that tag will be removed from the cardverifiersThe user or group that is responsible for verifying this card. This field is an array, but only one value may be specified in the array. If this field is missing, the verifier will not be changed. To specify a user as the verifier, specify a user object with atypeofuserand with the user's email address
{
"type" : "user",
"user" : {
"email" : "user@email.com"
}
}
To specify a group as a verifier, specify a group object with a type of user-group and with the group's ID
{
"type" : "user-group",
"userGroup" : {
"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
}
Sample Request
{
"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"preferredPhrase": "What is Guru",
"content": "Instant access to the knowledge your team needs to do its job, everywhere it's done. Move faster and more confidently, together.",
"verificationInterval": 90,
"shareStatus": "TEAM",
"boards": [{"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}],
"collaborators": [{
"user": {
"email": "user@email.com"
},
"type": "user"
}],
"tags" : [{
"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}],
"verifiers": [{
"user": {
"email": "user@email.com"
},
"type": "user"
}]
}
Response
The response will include all content sent in the request.
Sample Response
{
"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"preferredPhrase": "What is Guru",
"content": "Instant access to the knowledge your team needs to do its job, everywhere it's done. Move faster and more confidently, together.",
"verificationInterval": 90,
"shareStatus": "TEAM",
"boards": [{"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}],
"collaborators": [{
"user": {
"email": "user@email.com"
},
"type": "user"
}],
"tags" : [{
"id" : "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}],
"verifiers": [{
"user": {
"email": "user@email.com"
},
"type": "user"
}]
}
Comments
0 comments
Please sign in to leave a comment.