Skip to content

Instantly share code, notes, and snippets.

@gregoryyoung
Created December 29, 2012 12:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gregoryyoung/4406601 to your computer and use it in GitHub Desktop.
Save gregoryyoung/4406601 to your computer and use it in GitHub Desktop.
curl return
{
"title": "Event stream 'ticks-AMX'",
"id": "http://192.168.3.100:2113/streams/ticks-AMX",
"updated": "2012-12-29T10:06:07.693857Z",
"author": {
"name": "EventStore"
},
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX",
"relation": "self"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX",
"relation": "first"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/range/19/20",
"relation": "last"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/range/26/20",
"relation": "previous"
}
],
"entries": [
{
"title": "6@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/6",
"updated": "2012-12-29T10:06:07.693857Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/6",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/6?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/6?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/6?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "5@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/5",
"updated": "2012-12-29T10:06:07.658711Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/5",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/5?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/5?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/5?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "4@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/4",
"updated": "2012-12-29T10:06:07.59472Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/4",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/4?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/4?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/4?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "3@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/3",
"updated": "2012-12-29T10:06:06.684904Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/3",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/3?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/3?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/3?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "2@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/2",
"updated": "2012-12-29T10:06:06.68489Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/2",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/2?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/2?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/2?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "1@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/1",
"updated": "2012-12-29T10:06:06.587739Z",
"author": {
"name": "EventStore"
},
"summary": "TradeOccurred",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/1",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/1?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/1?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/1?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
},
{
"title": "0@ticks-AMX",
"id": "http://192.168.3.100:2113/streams/ticks-AMX/0",
"updated": "2012-12-29T10:06:06.587734Z",
"author": {
"name": "EventStore"
},
"summary": "$stream-created-implicit",
"links": [
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/0",
"relation": "edit"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/0?format=text",
"type": "text/plain"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/0?format=json",
"relation": "alternate",
"type": "application/json"
},
{
"uri": "http://192.168.3.100:2113/streams/ticks-AMX/event/0?format=xml",
"relation": "alternate",
"type": "text/xml"
}
]
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment