AnsweredAssumed Answered

Some terms are missing when retrieving them via the Canvas REST API

Question asked by Nathan Schuchert on Dec 3, 2015
Latest reply on Dec 3, 2015 by Nathan Schuchert

I am currently doing some work with the Canvas LMS REST API and have run into an issue when trying to retrieve a list of all enrollment terms defined in the system. When viewing the terms in the online system, I can see all the terms that have been created, from the first one (Spring 2005) up to the furthest defined semester (Fall 2034). However, when I try to get a list of terms using

GET /api/v1/accounts/:account_id/terms

I only receive a list of 10 terms, from Spring 2005 - Summer 2007, while the rest are missing. Do you know what could be causing this?

Additionally, is there a difference between a Term and an EnrollmentTerm object? I only see API calls for EnrollmentTerm objects, while a Term seems to be a subset of the data contained in an EnrollmentTerm that only gets passed within a Course. Could someone explain if there is an important difference here, and what I may be missing?

Let me know if there is anything I can do to help clarify things. Thanks for your help!

Outcomes