Coding · Grade 11
Software Interfaces and Controlled APIs
Learners design and implement an API from the provider's side using a controlled, network-free club-information service: resources, methods, consistent JSON responses and status codes; a request handler that authenticates, routes, validates and authorises before acting; access control, data minimisation and rate limiting; and safe evolution with versioning, deprecation and contract tests.
- 4 lessons
- About 100 minutes
- Check what you learned: 8 questions
- Ways to answer: choose an answer, trace code, match pairs, sort into groups and true or false
What learners will discover
- Design an API interface with resources, methods, response shapes and appropriate status codes.
- Trace a controlled API handler that authenticates, routes, validates and authorises requests before acting.
- Apply authentication, server-side authorisation, data minimisation and rate limiting.
- Evolve a published interface safely using backward-compatible changes, versioning, deprecation and contract tests.
Lessons
-
Designing an interface 5 steps2 practiceabout 22 min
-
Implementing a controlled API 5 steps3 practiceabout 24 min
-
Access control and limits 4 steps3 practiceabout 20 min
-
Evolving an interface safely 4 steps3 practiceabout 18 min
-
Check what you learned 8 questions at the end
Keep exploring
More 11th grade coding
- 11th Grade Coding Worksheets12 printable worksheets
Guide for grown-ups
- How to start homeschooling: a step-by-step guide for familiesA guide for parents · 7 min read