Class CanvasService

java.lang.Object
edu.ucsb.cs156.frontiers.services.CanvasService

@Service @Validated public class CanvasService extends Object
Service for interacting with the Canvas API.

Note that the Canvas API uses a GraphQL endpoint, which allows for more flexible queries compared to traditional REST APIs.

For more information on the Canvas API, visit the official documentation at https://canvas.instructure.com/doc/api/.

You can typically interact with Canvas API GraphQL endpoints interactively by appending /graphiql to the URL of the Canvas instance.

For example, for UCSB Canvas, use: https://ucsb.instructure.com/graphiql

  • Constructor Details

    • CanvasService

      public CanvasService(com.fasterxml.jackson.databind.ObjectMapper mapper, org.springframework.web.client.RestClient.Builder builder)
  • Method Details