Goals

APIs

  • Get Goal by User and Id

  • Get All Assigned Goals

  • Edit or Create A Goal

  • Delete a Goal

Examples

Get Goal by User and Id

query getGoalById {
  getGoalById(id: "055cc2ce491", user: "Google_114560337406279161954") {
    title
  }
}

Get All Assigned Goals

query getGoals {
  getAllGoals {
    id
    title
    dueDate
    completed
    completedDate
    category
    favorited
    owner
    assignee
    pointValue
    subGoals {
      title
      dueDate
      completed
      completedDate
    }
  }
}

Edit or Create a Goal

Delete a Goal

Last updated

Was this helpful?