Skip to content

Commit

Permalink
Merge branch 'master' of github.com:neo4j/community
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalstain committed May 12, 2011
2 parents 3fe7e46 + ae21c1d commit 4fdbeeb
Showing 1 changed file with 32 additions and 16 deletions.
48 changes: 32 additions & 16 deletions server/src/site/apt/rest.apt
Expand Up @@ -788,15 +788,23 @@ curl -H Accept:application/json http://localhost:7474/db/data/index/relationship

---
[
{ "self": "http://localhost:7474/db/data/node/5",
"data": { "name": "Thomas Anderson" },
...
"indexed": "http://localhost:7474/db/data/index/node/the_key/the_value/5"
{ "self": "http://localhost:7474/db/data/relationship/56",
"start": "http://localhost:7474/db/data/node/123",
"end": "http://localhost:7474/db/data/node/93",
"type": "KNOWS",
"properties": "http://localhost:7474/db/data/relationship/56/properties",
"property": "http://localhost:7474/db/data/relationship/56/properties/{key}",
"data": { "date", 1270559208258 },
"indexed": "http://localhost:7474/db/data/index/relationship/the_key/the_value%20with%20space/56"
},
{ "self": "http://localhost:7474/db/data/node/325",
"data": { "name": "Agent Smith" },
...
"indexed": "http://localhost:7474/db/data/index/node/the_key/the_value%20with%20space/325"
{ "self": "http://localhost:7474/db/data/relationship/834",
"start": "http://localhost:7474/db/data/node/32",
"end": "http://localhost:7474/db/data/node/123",
"type": "LOVES",
"properties": "http://localhost:7474/db/data/relationship/834/properties",
"property": "http://localhost:7474/db/data/relationship/834/properties/{key}",
"data": { "date", 1270559203821 },
"indexed": "http://localhost:7474/db/data/index/relationship/the_key/the_value/834"
}
]
---
Expand Down Expand Up @@ -845,15 +853,23 @@ curl -H Accept:application/json http://localhost:7474/db/data/index/relationship

---
[
{ "self": "http://localhost:7474/db/data/node/5",
"data": { "name": "Thomas Anderson" },
...
"indexed": "http://localhost:7474/db/data/index/node/the_key/the_value/5"
{ "self": "http://localhost:7474/db/data/relationship/56",
"start": "http://localhost:7474/db/data/node/123",
"end": "http://localhost:7474/db/data/node/93",
"type": "KNOWS",
"properties": "http://localhost:7474/db/data/relationship/56/properties",
"property": "http://localhost:7474/db/data/relationship/56/properties/{key}",
"data": { "date", 1270559208258 },
"indexed": "http://localhost:7474/db/data/index/relationship/the_key/the_value%20with%20space/56"
},
{ "self": "http://localhost:7474/db/data/node/325",
"data": { "name": "Agent Smith" },
...
"indexed": "http://localhost:7474/db/data/index/node/the_key/the_value%20with%20space/325"
{ "self": "http://localhost:7474/db/data/relationship/834",
"start": "http://localhost:7474/db/data/node/32",
"end": "http://localhost:7474/db/data/node/123",
"type": "LOVES",
"properties": "http://localhost:7474/db/data/relationship/834/properties",
"property": "http://localhost:7474/db/data/relationship/834/properties/{key}",
"data": { "date", 1270559203821 },
"indexed": "http://localhost:7474/db/data/index/relationship/the_key/the_value/834"
}
]
---
Expand Down

0 comments on commit 4fdbeeb

Please sign in to comment.