Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8034567
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T02:03:43+00:00 2026-06-05T02:03:43+00:00

What are REST resources and how do they relate to resource names and resource

  • 0

What are REST resources and how do they relate to resource names and resource representations?

I read a few articles on the subject, but they were too abstract and they left me more confused than I was before.

Is the following URL a resource? If it is, what is the name of that resource and what is its representation?

http://api.example.com/users.json?length=2&offset=5

The GET response of the URL should look something like:

[
   {
      id: 6,
      name: "John"
   },
   {
      id: 7,
      name: "Jane"
   }
]
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T02:03:45+00:00Added an answer on June 5, 2026 at 2:03 am

    What’s a Resource?

    A resource is anything that’s important enough to be referenced as a
    thing in itself. If your users might “want to create a hypertext link
    to it, make or refute assertions about it, retrieve or cache a
    representation of it, include all or part of it by reference into
    another representation, annotate it, or perform other operations on
    it”, then you should make it a resource.

    Usually, a resource is something that can be stored on a computer and
    represented as a stream of bits: a document, a row in a database, or
    the result of running an algorithm. A resource may be a physical
    object like an apple, or an abstract concept like courage, but (as
    we’ll see later) the representations of such resources are bound to be
    disappointing. Here are some possible resources:

    • Version 1.0.3 of the software release
    • The latest version of the software release
    • The first weblog entry for October 24, 2006
    • A road map of Little Rock, Arkansas
    • Some information about jellyfish
    • A directory of resources pertaining to jellyfish
    • The next prime number after 1024
    • The next five prime numbers after 1024
    • The sales numbers for Q42004
    • The relationship between two acquaintances, Alice and Bob
    • A list of the open bugs in the bug database

    The text is from the O’Reilly book "RESTful Web Services".

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

What is the best way to integration test EJBs and REST-Resources?
In wiki article for REST it is indicated that if you use http://example.com/resources DELETE,
When I do a Http POST to a Datanucleus Rest resource in my local
I want to make Cross domain REST web services with CORS(Cross-Origin Resource Sharing). I
From what I understand of REST principles, URLs should represent a single resource, like
I have a scenario in which I have REST API which manages a Resource
Is there a REST best practice for GETting resources in different languages. Currently, we
I am developing some REST resources using the ASP.NET MVC 3 platform. So far,
I am running a Jersey REST service. The POJO's which represent my resources are
I tried reading the REST api for call making over and over again but

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.