Summary: The REST API exposing HTTP based interface to the Space.
Overview
Examples
The url is encoded, the query is "id='1' or id='2' or id='3'".
See that data2 field is updated: [http://localhost:8080/WebApp/rest/data/Item/_criteria?q=data2='commonUpdated']
Single nested update: curl -XPUT -d '{"id":"1", "data":"testdata", "data2":"commonUpdated", "nestedData" : {"nestedKey1":"nestedValue1Updated"}}' http://localhost:8080/WebApp/rest/data/Item See that Item1 nested field is updated: http://localhost:8080/WebApp/rest/data/Item/1
See that only Item3 remains: [http://localhost:8080/WebApp/rest/data/Item/_criteria?q=id=%271%27%20or%20id=%272%27%20or%20id=%273%27]
See that Item3 does not exists: [http://localhost:8080/WebApp/rest/data/Item/_criteria?q=id=%271%27%20or%20id=%272%27%20or%20id=%273%27]
Setup Instructions1.Download the project from the github repository |
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |