Skip to main content

list goal links

list goal links. Requires Authorization: Bearer with a Better Auth session token.
1 min read
get/goals/profiles/{studioId}/{goalId}/links
Request example
Response
get/goals/profiles/{studioId}/{goalId}/links

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.
goalIdstringrequired#
Identifier or key goalId.

Query parameters

todayDateKeystring#
Filter todayDateKey.

Responses

application/json
OK.
dataobject[]required#
Show child attributes
idstringrequired#
studioIdstringrequired#
userIdstringrequired#
titlestringrequired#
descriptionstring#
statusstringrequired#
progressModestringrequired#
manualProgressPercentinteger#
startDateKeystring#
targetDateKeystring#
visibilityenum<string>#

Default: "members"

Options:memberssubscribersfollowerspublic
progressPercentintegerrequired#
completedMilestonesintegerrequired#
totalMilestonesintegerrequired#
linkedCompletedintegerrequired#
linkedTotalintegerrequired#
isAtRiskbooleanrequired#
primaryImageobject#
Show child attributes
idstringrequired#
imageUrlstringrequired#
milestonesobject[]#
Show child attributes
idstringrequired#
goalIdstringrequired#
studioIdstringrequired#
titlestringrequired#
completedbooleanrequired#
completedAtstring#
positionintegerrequired#
createdAtstringrequired#
updatedAtstringrequired#
createdAtstringrequired#
updatedAtstringrequired#
request_idstring#