Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Is the resource we just defined singular or is it a collection (aka parent) of other child resources? In our case, the customers resource is a collection because it represents multiple individual customers, each with their own unique identifier. Therefore, we need to define a resource ID so any specific customer resource can be identified.

...

When we are happy with our new resource endpoints, we create the API commuter module simply by (1) clicking on the Create APIs button. This should (2) produce a dialog message confirming that new APIs have been created:

Editing our API Commuter Module

All API commuter modules are named after the parent resource. Resource IDs are not considered an independent resource (even though it has its own endpoint) so their APIs will always be included within the API commuter module of their parent resource.