Developer docs

De Pluvo API geeft je programmatische toegang tot je leeromgeving. Beheer gebruikers, groepen, trainingen, inschrijvingen en certificaten vanuit je eigen systemen.

De API is gebaseerd op GraphQL. Je bepaalt zelf welke data je opvraagt of muteert, zonder overbodige velden. Authenticatie verloopt via OAuth 2.0 met client credentials. Webhooks houden je systemen real-time op de hoogte van wijzigingen.

File Uploads

Overview

Several mutations accept file references for uploading documents, images, and other files through the API.

Upload a file

mutation {
  uploadFile(
    file: Upload!
    context: LIBRARY
  ) {
    file { id url filename mimeType size }
  }
}

Use in other mutations

Once uploaded, reference the file ID in other mutations like course content or user avatars.

Notes

  • Maximum file size is 100MB.
  • Supported formats depend on the context.
  • Files are scanned for security.