CASE STUDY
Designing an API wrapper people can’t misuse
Six weeks of open-source work on meeting, recording, and user APIs, with validation, pagination, tests, and documentation.
- MY ROLE
- Contributor · meeting, recording, and user API modules
- CONTEXT
- Harvard Division of Continuing Education · Summer 2020
01
A shared library for Zoom integrations
Zaccl is Harvard’s open-source Zoom App Complete Connection Library. I contributed 75 commits over six weeks in summer 2020, working on the meeting, cloud-recording, and user modules.
My contributions included parameter validation, pagination, error codes, tests, and documentation. This was a team project; the upstream repository and commit history show the shared work.
02
The request starts before the HTTP call
An API wrapper has to make its parameter requirements clear. Validation and error handling belong alongside the endpoint code so callers can understand what they need to supply and what went wrong.
The meeting endpoints were part of that work. They connected request construction with parameter requirements and error behavior rather than leaving each consuming application to recreate the same checks.
03
Pagination and documentation are part of the interface
Pagination affects how a caller retrieves a complete result, and error codes affect what the caller can do next. I worked on those behaviors along with the endpoint implementations, tests, and docs.
The useful review questions are concrete: what happens when a required parameter is missing, when the next page is needed, or when the upstream service rejects the request?
04
A useful way to demonstrate the work
I would demonstrate the wrapper with local fixtures: show an input, the request it produces, and the validation result. That would let someone explore the contract without a Zoom account or a live API call.
During the same summer, I also built configurable React components for Harvard’s AnalyticsDash teaching dashboard.