goals
All goals for a given user
GraphQL Schema
extend type query {
"""All goals for a given user"""
goals(userId: ID!): [Goal]
}
Arguments
Name | Type | Description |
---|---|---|
userId | ID! | Unique ID of the user |
Response Shape
This query returns [Goal]
Name | Type | Description |
---|---|---|
id | UUID! | Unique ID of the object |
userId | ID! | Unique ID of the user |
priority | Int | |
owners | [Person]! | |
name | String | |
targetDate | Date | |
valueToSave | Money | |
goalType | GoalType | |
goalData | GoalData |