Skip to main content

list task subtareas

Lists the first-level subpages of a task. A subtask returns an empty list because it cannot have children. Requires a Bearer session.
1 min read
get/tasks/profiles/{studioId}/{taskId}/subtasks
Request example
Response
get/tasks/profiles/{studioId}/{taskId}/subtasks

Authorization

Authorizationstringheaderrequired#
Better Auth session token. Go resolves the token in the session table and maps it to users.id via auth_user_id. The profile is taken from the path param :studioId when applicable.

Path parameters

studioIdstringrequired#
Identifier or key studioId.
taskIdstringrequired#
Identifier or key taskId.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
parentTaskIdstringrequired#
namestringrequired#
statusenum<string>required#
Options:todoin_progressdonecanceled
positionintegerrequired#
completedAtstring#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#