Program guide > Access data with the REST data service
Request protocols for the REST data service
In general, the protocols for interacting with the REST service are the same as those described in the WCF Data Services AtomPub protocol. However, eXtreme Scale does provide additional details, from eXtreme Scale Entity Model perspective. Users are expected to be familiar with the WCF Data Services protocols before reading this section. Alternatively, users can read this section with the WCF Data Services protocol section.
Examples are provided to illustrate the request and response. These examples apply to both the eXtreme Scale REST data service and WCF Data Services. Because Web browsers can only retrieve data, the CUD (create, update and delete) operations must be performed by another client such as Javaâ„¢, JavaScriptâ„¢, RUBY or PHP.
- Retrieve requests with the REST data service
A RetrieveEntity Request is used by a client to retrieve an eXtreme Scale entity. The response payload contains the entity data in AtomPub or JSON format. Also, the system operator $expand can be used to expand the relations. The relations are represented in line within the data service response as an Atom Feed Document, which is a to-many relation, or an Atom Entry Document which is a to-one relation.
- Retrive non-entities with REST data services
The REST data service allows you to retrieve more than only entities, such as entity collections and properties.
- Insert requests with REST data services
An InsertEntity Request can be used to insert a new eXtreme Scale entity instance, potentially with new related entities, into the eXtreme Scale REST data service.
- Update requests with REST data services
The WebSphere eXtreme Scale REST data service supports update requests for entities, entity primitive properties, and so on.
- Delete requests with REST data services
The WebSphere eXtreme Scale REST data service can delete entities, property values and links.
Parent topic:
Access data with the REST data service
Related concepts
Operations with the REST data service
Related reference