Thanks Peter, this is great. I was able to create the columns no problem. Now I am trying to post data back to them using hte bulk update endpoint. I have a json file that looks like this:
{"column_data" : [
{
"content": null,
"user_id": 100120,
"column_id": 721
},
{
"content": "is",
"user_id": 100120,
"column_id": 723
}
]}
And I try this curl command:
curl -X PUT -d @/home/matt/example.json -H 'Authorization: Bearer API-SECRET' "https://uni.baseurl/api/v1/courses/64706/custom_gradebook_columns_data" --header "Content-Type: application/json"
But I'm getting back a 400 response. Can you spot an error in my JSON maybe?
Many thanks in any case!