cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Surveyor

Access to Integration ID in GraphQL query

Hello all!

We are trying to use Canvas to offer a quiz for a training course on campus. The records of who took the training course are maintained in a separate system, which is used to grant access privileges to a space. We want the separate system to be able to query Canvas and ask for all the users who have taken a particular assessment (quiz or assignment) and then update the system records based on the results.

  • We would like to use the GraphQL API to do this by having the separate system issue a query to canvas through the GraphQL API
  • We are able to get the results from the GraphQL API but they do not contain the Integration ID field and we need access to this value to tie to two systems together

My GraphQL API query is below:

{
  assignment(id: "QXNzaWdubWVudC04MzUyMw==") {
    id
    name
    submissionsConnection {
      nodes {
        user {
          id
          name
          _id (here we would like to be able to list "integration_id" as well)
        }
      }
    }
  }
}

I am not sure if this is the correct place to request this, but I found this language on the GraphQL API page:

Fields are being added to the GraphQL API on an as-needed basis. The GraphQL API does not include everything that is currently in the REST API.

Any help would be greatly appreciated!

Thank you!

Labels (4)
0 Kudos
0 Replies