An overview of concepts and design patterns are available in:
The low-level REST API. This is the interface the server shows to the rest of the world.
Datasets
Config
Jobs
Tasks
Task Stats
Logs
Grids
Pilots
Auth
Utilities, helpers, shared code, and other bits and pieces.