Using the Brightspace Valence API :
https://docs.valence.desire2learn.com/reference.html
I am creating a grade item with this call:
https://docs.valence.desire2learn.com/res/grade.html#post--d2l-api-le-(version)-(orgUnitId)-grades-
But I don't see how I can then associate this new grade item with content in a Course. I can retrieve a topic within a course and see it's ContentObject JSON block:
https://docs.valence.desire2learn.com/res/content.html#get--d2l-api-le-(version)-(orgUnitId)-content-topics-(topicId)
This ContentObject JSON block has a "GradeItemId":
But there is no way to set this via PUT or POST command.
In essence what I am trying to do programmatically is the equivalent of adding a grade item to a topic item by first clicking "Edit" on the topic item:
and then adding points here:
which seems to automatically add a grade item here:
Is it possible to do this programmatically? Thanks,