Edit a card on a board you can see (fields, list, board, assignee, blocker, completion)
curl --request PATCH \
--url https://pria.praxislxp.com/api/boards/tasks/{taskId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"title": "<string>",
"notes": "<string>",
"columnId": "<string>",
"boardId": "<string>",
"assignee": "<string>",
"priority": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"labels": [
"<string>"
],
"completed": true,
"order": 123,
"blocker": {}
}
'import requests
url = "https://pria.praxislxp.com/api/boards/tasks/{taskId}"
payload = {
"title": "<string>",
"notes": "<string>",
"columnId": "<string>",
"boardId": "<string>",
"assignee": "<string>",
"priority": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"labels": ["<string>"],
"completed": True,
"order": 123,
"blocker": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
notes: '<string>',
columnId: '<string>',
boardId: '<string>',
assignee: '<string>',
priority: '<string>',
dueDate: '2023-11-07T05:31:56Z',
labels: ['<string>'],
completed: true,
order: 123,
blocker: {}
})
};
fetch('https://pria.praxislxp.com/api/boards/tasks/{taskId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/boards/tasks/{taskId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'notes' => '<string>',
'columnId' => '<string>',
'boardId' => '<string>',
'assignee' => '<string>',
'priority' => '<string>',
'dueDate' => '2023-11-07T05:31:56Z',
'labels' => [
'<string>'
],
'completed' => true,
'order' => 123,
'blocker' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/boards/tasks/{taskId}"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://pria.praxislxp.com/api/boards/tasks/{taskId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/boards/tasks/{taskId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}"
response = http.request(request)
puts response.read_bodyBoards
Edit a card on a board you can see (fields, list, board, assignee, blocker, completion)
assignee: null unassigns; anyone else must be able to see the board the card ends up on, and is notified in-app. From an agent, an API key, an impersonation or a consent link, giving the card to someone else is not done: it waits for the person’s OK on the board (202) while the rest of the same edit is saved.
PATCH
/
api
/
boards
/
tasks
/
{taskId}
Edit a card on a board you can see (fields, list, board, assignee, blocker, completion)
curl --request PATCH \
--url https://pria.praxislxp.com/api/boards/tasks/{taskId} \
--header 'Content-Type: application/json' \
--header 'x-access-token: <api-key>' \
--data '
{
"title": "<string>",
"notes": "<string>",
"columnId": "<string>",
"boardId": "<string>",
"assignee": "<string>",
"priority": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"labels": [
"<string>"
],
"completed": true,
"order": 123,
"blocker": {}
}
'import requests
url = "https://pria.praxislxp.com/api/boards/tasks/{taskId}"
payload = {
"title": "<string>",
"notes": "<string>",
"columnId": "<string>",
"boardId": "<string>",
"assignee": "<string>",
"priority": "<string>",
"dueDate": "2023-11-07T05:31:56Z",
"labels": ["<string>"],
"completed": True,
"order": 123,
"blocker": {}
}
headers = {
"x-access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'x-access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
notes: '<string>',
columnId: '<string>',
boardId: '<string>',
assignee: '<string>',
priority: '<string>',
dueDate: '2023-11-07T05:31:56Z',
labels: ['<string>'],
completed: true,
order: 123,
blocker: {}
})
};
fetch('https://pria.praxislxp.com/api/boards/tasks/{taskId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://pria.praxislxp.com/api/boards/tasks/{taskId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'notes' => '<string>',
'columnId' => '<string>',
'boardId' => '<string>',
'assignee' => '<string>',
'priority' => '<string>',
'dueDate' => '2023-11-07T05:31:56Z',
'labels' => [
'<string>'
],
'completed' => true,
'order' => 123,
'blocker' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://pria.praxislxp.com/api/boards/tasks/{taskId}"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("x-access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://pria.praxislxp.com/api/boards/tasks/{taskId}")
.header("x-access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://pria.praxislxp.com/api/boards/tasks/{taskId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["x-access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"notes\": \"<string>\",\n \"columnId\": \"<string>\",\n \"boardId\": \"<string>\",\n \"assignee\": \"<string>\",\n \"priority\": \"<string>\",\n \"dueDate\": \"2023-11-07T05:31:56Z\",\n \"labels\": [\n \"<string>\"\n ],\n \"completed\": true,\n \"order\": 123,\n \"blocker\": {}\n}"
response = http.request(request)
puts response.read_bodyBody
application/json
Response
The card as saved
Was this page helpful?