instructure / pandarus

A Ruby library for the Canvas API (and code generator for other languages, eventually)
34 stars 25 forks source link

Pandarus API does not provide column_id on Gradebook CustomColumns, although provided by Canvas API #30

Open Strauman opened 6 years ago

Strauman commented 6 years ago

Summary:

It's near impossible to work safely with Gradebook CustomColumns when you don't know the id of the one to work with. Although it is not in the documentation, it is evidently returned by the API (see API source link below).

Additional notes:

Source for: custom_gradebook_columns_api_controller.rb API-Docs

eriko commented 6 years ago

It you can patch the api documentation to describe the returned field pandarus will pick it up the next time it is built.

gqmaguirejr commented 6 years ago

GET /api/v1/courses/:course_id/custom_gradebook_columns returns a list of columns with the name and id.

Strauman commented 6 years ago

@gqmaguirejr "No way" might have been a heavy claim. Updated title accordingly.