What is the difference between a "Collection" resource and an "Instance" resource?

Last updated 29 June 2026

A collection resource represents a group of items (e.g. all users), while an instance resource represents a single member of that group (e.g. one specific user).

  • Collection resource:

    • URI is typically a plural noun: /users.

    • GET lists/filters members; POST creates a new member (server assigns its ID).

  • Instance resource:

    • URI adds an identifier: /users/7.

    • GET reads it; PUT/PATCH updates it; DELETE removes it.

  • Method semantics differ by type: POST to a collection creates; PUT to an instance replaces. Don't POST to an instance to create children unless that instance is itself a sub-collection (/users/7/orders).

  • https://blog.postman.com/rest-api-interview-questions/
  • https://roadmap.sh/questions/rest-api
  • https://javagyansite.com/2023/07/13/rest-api-interview-questions/
All REST API interview questions