I have one doubt in Sharepoint REST service URI

http://server/site/_api/web/lists and http://server/site/_api/lists are same request, Am I correct? I mean both request returning same result.

_api/Web is SP.WEB

_api/site is SP.SITE

So when I am sending any request URI without /web/ is consider as web level request only?

1 Answer 1


Since SharePoint REST endpoint http://server/site/_api/ returns service reference and http://server/site/_api/web returns an appropriate entry point ( SP.Web resource in this case) the specified requests are not identical. For example, the request:

http://server/site/_api/web/title will return SP.Web Title property

but the request:

http://server/site/_api/title will return the error:

Cannot find resource for the request title

From another hand, since _api/lists is an alias to _api/web/lists url, the following requests




will return the same SP.List resource.


Determine SharePoint REST service endpoint URIs

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.