Access a child collection under a parent resource.

Section: Resource-oriented routes

Nested child resource

http
http
GET /users/{userId}/orders
Explanation

Nested routes are useful when the child is clearly scoped to the parent. Avoid deep nesting when it hurts discoverability.

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing Resource-oriented routes
List a collection
Fetch a list of users.
OpenIn sheethttpsame section
Create a resource
Create a new user in the collection.
OpenIn sheethttpsame section
Fetch a single resource
Read one user by identifier.
OpenIn sheethttpsame section
Replace a resource
Replace the full representation.
OpenIn sheethttpsame section
Partially update a resource
Modify only selected fields.
OpenIn sheethttpsame section
Delete a resource
Remove one user.
OpenIn sheethttpsame section