After an outage on September 1, the Instructure Community is now fully available, including guides, release notes, forums, and groups. If some styling still looks unusual, clear your cache and cookies.
Found this content helpful? Log in or sign up to leave a like!
I am using the Canvas LMS API to make a request to /api/v1/planner_notes, which retrieves a paginated list of PlannerNote objects.
// A planner note { // The ID of the planner note "id": 234, // The title for a planner note "title": "Bring books tomorrow", // The description of the planner note "description": "I need to bring books tomorrow for my course on biology", // The id of the associated user creating the planner note "user_id": 1578941, // The current published state of the planner note "workflow_state": "active", // The course that the note is in relation too, if applicable "course_id": 1578941, // The datetime of when the planner note should show up on their planner "todo_date": "2017-05-09T10:12:00Z", // the type of the linked learning object "linked_object_type": "assignment", // the id of the linked learning object "linked_object_id": 131072, // the Canvas web URL of the linked learning object "linked_object_html_url": "https://canvas.example.com/courses/1578941/assignments/131072", // the API URL of the linked learning object "linked_object_url": "https://canvas.example.com/api/v1/courses/1578941/assignments/131072" }
How would I be able to get the planner override for the Planner Note object so that I can determine if it is marked as completed? I tried making a request to /api/v1/planner/overrides/:id with the ID of the PlannerNote object, but it seems that the PlannerNote ID is not the same as the PlannableOverride ID.
I haven't used the planner API, but I would suggest using the List planner overrides endpoint. The documentation says that it returns a list of the planner overrides for the current user.
What you referenced was the Show a planner override, which does require the planner override ID. Since you don't know that, use the List endpoint instead and that will give you all of the overrides rather than a specific one.
planner and planner override are different objects, so it is expected that the IDs would be different.
To interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign inTo interact with Panda Bot, our automated chatbot, you need to sign up or log in:
Sign in