![]() The first URI is "", which is the service root URL. ![]() The following are two example URIs broken down into their component parts: Two example URIs with their component parts labeled. Structure of an OData URI, which consists of a scheme, host, optional colon and port, service root, optional resource path, and optional question mark followed by query options. ![]() Additional URI constructs (such as a fragment) MAY be present in a URI used by an OData service however, this specification applies no further meaning to such additional constructs. URI ComponentsĪ URI used by an OData service has up to three significant parts: the service root URI, resource path and query string options. The terms used in this document are defined in the document. It is encouraged that servers follow the URI construction conventions defined in this specification when possible as such consistency promotes an ecosystem of reusable client components and libraries. The and documents specify the format of the resource representations that are exchanged using OData and the document describes the actions that can be performed on the URIs (optionally constructed following the conventions defined in this document) embedded in those representations. This specification defines a set of recommended (but not required) rules for constructing URIs to identify the data and metadata exposed by an OData server as well as a set of reserved URI query string operators, which if accepted by an OData server, MUST be implemented as required by this document. The Open Data Protocol (OData) enables the creation of REST-based data services, which allow resources, identified using Uniform Resource Identifiers (URIs) and defined in a data model, to be published and edited by Web clients using simple HTTP messages. OData V4 has been standardized by OASIS and has many features not included in OData Version 2.0. OData Version 4.0 is the current recommended version of OData.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |