😇Kralis API DOCS

School Management System

Kralis API Base URL

Endpoint References in the Data Model Tenets, Rest API and GraphQL API Docs are relative to the base URL.

Kralis REST API

The REST API is a collection of endpoints that can be used to interact with the Kralis API. The API is built using the Django Rest Framework. The documentation is available at /schema/swagger or /schema/redoc. Kralis Middleware uses the REST API to interact with the Kralis System for actions like /auth/login/.

Kralis GraphQL API

The GraphQL API is a collection of types, queries and mutations that can be used to interact with the Kralis API. The API is built using the Graphene-Django. The documentation is available via the Graphiql API Interface at /graphiql. Kralis Web is powered by schools' GraphQL APIs, we recommend working with the GraphQL API as it provides a comprehensive set of utility mutations for performing essential actions and flexible queries that let users fetch exactly the data they need.

Kralis Middleware

A collection of services (e.g Kralis Web login authentication and backend porting, school onboarding and billing) that provide a common interface (API) for interacting with different schools' kralis system. The middleware uses Kralis System REST API to interact with the Kralis System. It is built using Django Rest Framework.

Kralis Web

Kralis Web is a web application that provides a common interface for interacting with Kralis Middleware and all schools' Kralis Systems. The web app is built using Nextjs and communicates with the Kralis API using GraphQL.

Last updated