Api / Tasks
Method | Description |
---|---|
🔹 assign() | Assign to user |
🔹 create() | Create task |
🔹 delete() | Delete task |
🔹 discoveryCreate() | Create discovery |
🔹 discoveryDelete() | Delete discovery |
🔹 discoveryUpdate() | Update discovery |
🔹 feedbackCreate() | Create feedback |
🔹 feedbackDelete() | Delete feedback |
🔹 feedbackReply() | Reply to feedback |
🔹 feedbackUpdate() | Update feedback |
🔹 list() | List tasks |
🔹 listCandidates() | List candidates |
🔹 read() | Fetch task |
🔹 update() | Update task |
Getting started
// Place your API Key 👇 here
$sdk = new \Kronup\Sdk();
// API Call
$sdk->api()->tasks();
assign()
Assign task to user
#️⃣ Execute example in terminal
Request
PUT
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/users/{userId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->assign(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $user_id
): \Kronup\Model\Task
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$user_id | string | User ID |
Return type
create()
Add a task to feature
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks
Type signature
(new \Kronup\Sdk())->api()->tasks()->create(
string $team_id,
string $channel_id,
string $feature_id,
\Kronup\Model\PayloadTaskCreate $payload_task_create
): \Kronup\Model\TaskExpanded
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$payload_task_create | \Kronup\Model\PayloadTaskCreate |
Return type
delete()
Delete a task from a feature
#️⃣ Execute example in terminal
Request
DELETE
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->delete(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id
): bool
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
Return type
bool
discoveryCreate()
Add a discovery to task
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries
Type signature
(new \Kronup\Sdk())->api()->tasks()->discoveryCreate(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
\Kronup\Model\PayloadTaskDiscoveryCreate $payload_task_discovery_create
): \Kronup\Model\MinuteDiscovery
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$payload_task_discovery_create | \Kronup\Model\PayloadTaskDiscoveryCreate |
Return type
discoveryDelete()
Delete a task discovery
#️⃣ Execute example in terminal
Request
DELETE
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->discoveryDelete(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $discovery_id
): bool
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$discovery_id | string | Discovery ID |
Return type
bool
discoveryUpdate()
Update a task discovery
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/discoveries/{discoveryId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->discoveryUpdate(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $discovery_id,
\Kronup\Model\PayloadTaskDiscoveryUpdate $payload_task_discovery_update
): \Kronup\Model\MinuteDiscovery
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$discovery_id | string | Discovery ID |
$payload_task_discovery_update | \Kronup\Model\PayloadTaskDiscoveryUpdate |
Return type
feedbackCreate()
Add a feedback to task
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback
Type signature
(new \Kronup\Sdk())->api()->tasks()->feedbackCreate(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
\Kronup\Model\PayloadTaskFeedbackCreate $payload_task_feedback_create
): \Kronup\Model\MinuteFeedback
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$payload_task_feedback_create | \Kronup\Model\PayloadTaskFeedbackCreate |
Return type
feedbackDelete()
Delete a feedback for a task
#️⃣ Execute example in terminal
Request
DELETE
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->feedbackDelete(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $feedback_id
): bool
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$feedback_id | string | Feedback ID |
Return type
bool
feedbackReply()
Update a reply to a task feedback
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}/reply
Type signature
(new \Kronup\Sdk())->api()->tasks()->feedbackReply(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $feedback_id,
\Kronup\Model\PayloadTaskFeedbackReply $payload_task_feedback_reply
): \Kronup\Model\MinuteFeedback
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$feedback_id | string | Feedback ID |
$payload_task_feedback_reply | \Kronup\Model\PayloadTaskFeedbackReply |
Return type
feedbackUpdate()
Update a task feedback
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/feedback/{feedbackId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->feedbackUpdate(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
string $feedback_id,
\Kronup\Model\PayloadTaskFeedbackUpdate $payload_task_feedback_update
): \Kronup\Model\MinuteFeedback
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$feedback_id | string | Feedback ID |
$payload_task_feedback_update | \Kronup\Model\PayloadTaskFeedbackUpdate |
Return type
list()
Get a list of task models
#️⃣ Execute example in terminal
Request
GET
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks
Type signature
(new \Kronup\Sdk())->api()->tasks()->list(
string $team_id,
string $channel_id,
string $feature_id,
[ int $page_number = 1, ]
[ int $page_size = 500 ]
): \Kronup\Model\TasksList
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$page_number | int | [default to 1] |
$page_size | int | [default to 500] |
Return type
listCandidates()
List potential assignees for this task
#️⃣ Execute example in terminal
Request
GET
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}/candidates
Type signature
(new \Kronup\Sdk())->api()->tasks()->listCandidates(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id
): \Kronup\Model\TaskCandidatesList
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
Return type
\Kronup\Model\TaskCandidatesList
read()
Retrieve task model
#️⃣ Execute example in terminal
Request
GET
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->read(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id
): \Kronup\Model\TaskExpanded
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
Return type
update()
Update task details
#️⃣ Execute example in terminal
Request
POST
/teams/{teamId}/channels/{channelId}/features/{featureId}/tasks/{taskId}
Type signature
(new \Kronup\Sdk())->api()->tasks()->update(
string $team_id,
string $channel_id,
string $feature_id,
string $task_id,
\Kronup\Model\PayloadTaskUpdate $payload_task_update
): \Kronup\Model\Task
Parameters
Name | Type | Description |
---|---|---|
$team_id | string | Team ID |
$channel_id | string | Channel ID |
$feature_id | string | Feature ID |
$task_id | string | Task ID |
$payload_task_update | \Kronup\Model\PayloadTaskUpdate |