Skip to main content

goals

All goals for a given user

GraphQL Schema​

extend type query {
"""All goals for a given user"""
goals(userId: ID!): [Goal]
}

Arguments​

NameTypeDescription
userIdID!Unique ID of the user

Response Shape​

This query returns [Goal]

NameTypeDescription
idUUID!Unique ID of the object
userIdID!Unique ID of the user
priorityInt
owners[Person]!
nameString
targetDateDate
valueToSaveMoney
goalTypeGoalType
goalDataGoalData