Skip to the content
Documentation
Help Start
Reading in:
  • German: 9,059 of 9,059 pages
About the help in other languages
All help pages

Module 11: The REST API

The eleventh module of the Developers course. Learners map the REST interface and its settings, call it with a personal API key from curl, reading and writing content at v1 and v2, and write a REST provider of their…

Download as PDF

Address: https://doc.exponential.earth/exphelp/viewer/help/trainers/developers/module-11-the-rest-api/README.md

On this page

Module 11: The REST API

Apps and other systems reach Exponential through its REST interface. This module maps the interface, has learners call it with a personal API key and write content through it, and ends with a provider of their own that serves the extension's data under its own prefix.

At a glance

CourseDevelopers
Duration2 hours 45 minutes (with one 10-minute break)
Lessons3
LevelIntermediate to advanced

Lessons

LessonDurationWhat learners do
Lesson 11.1: The REST API at a glance40 minutesRead providers, routes, versions and rest.ini
Lesson 11.2: Calling the API with a personal key55 minutesAllow keys, make one, read and write with curl, revoke it
Lesson 11.3: A REST provider of your own60 minutesRoutes, view controller, controller; /api/mysite/v1/greetings

Preparing this module

  • ezprestapi must be active on the training installations; check with exp:ini get site.ini/ExtensionSettings/ActiveExtensions.
  • Each learner needs an administrator account and a test user with an e-mail address at example.invalid.
  • Know the address and port of each learner's installation for the curl lines (the examples use http://127.0.0.1:8087).
  • Rehearse lesson 11.3 completely on your own installation; keep the finished classes to hand out.
  • Remind learners never to commit or paste keys; they revoke their keys at the end of lesson 11.2.

Timing plan

PartMinutes
Lesson 11.140
Lesson 11.255
Break10
Lesson 11.360
Total165

Become an Exponential Partner

Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.

Something wrong on this page? Report an error

Documentation license

This documentation is free documentation, licensed under the GNU Free Documentation License 1.3 or later.

Exponential Copyright © 1998-2026 Exponential Foundation and 7x