Tag

api-design-patterns

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

API Design Best Practices

From API Design Patterns by JJ Geewax


slideshare-api-design-best-practices

© 2022 Manning — Design Credits