Retrieving an Entry
To retrieve a single Entry, rather than a list of all the Entries in an Event, you send GET
to the Entry's self
URL:
curl -u user:password -X GET http://host-ip-address/live-center-editorial/entry/283
This returns a single Entry, rather than an array of entries:
{ "author":{ "value": "A.N. Other", "origin": "http://host-ip-address/webservice/escenic/person/7" }, "creator":{ "value": "livedemo Administrator", "origin": "http://host-ip-address/webservice/escenic/person/1" }, "creationDate": "2015-02-13T12:20:24.000+0000", "eTag": "0d1f1e1f-6bf2-46fd-8de4-c1de0c015f0a", "event": "http://host-ip-address/live-center-editorial/event/24", "lastModifiedDate": "2015-02-13T12:36:38.000+0000", "model": "http://host-ip-address/live-center-editorial/model/24/football", "parent": "http://host-ip-address/live-center-editorial/entry/251", "payload":[ { "name": "basic", "value": "Test entry" } ], "publishDate": "2015-02-13T12:20:24.000+0000", "self": "http://host-ip-address/live-center-editorial/entry/283", "state": "published", "tags":[] }