api design

Criteria-Based Deletion

From API Design Patterns by JJ Geewax

This article covers…

How the custom Purge method can be used to delete matching resources
Why the custom Purge method is dangerous and should be avoided if possible
A variety of safety precautions to avoid accidentally deleting more data than intended

How to address concerns about consistency in the matching result set

Add and Remove Custom Methods

From API Design Patterns by JJ Geewax

This article covers:

How to manage many-to-many relationships implicitly, without an additional association resource.
The benefits and drawbacks of implicit rather than explicit association
How to use custom methods to associate resources together

Handling issues with data integrity of associated resources

Free eBook: API Security Starter


Chapters selected by Neil Madden

A Design-First Approach to APIs

From Designing APIs with Swagger and OpenAPI by Joshua S. Ponelat

API Design Best Practices

From API Design Patterns by JJ Geewax


© 2023 Manning — Design Credits