public class Expansion extends Object implements Criterion
{
"href": "some/account/uri",
"name": "foo",
...
"directory": {
"href": "the/directory/uri"
}
}
Notice that the directory property is a complex object with only an href property - i.e. it is a link only.
{
"href": "some/account/uri",
"name": "foo",
...
"directory": {
"href": "the/directory/uri"
"name": "A directory"
"description": "A description",
...
}
}
Notice the expansion directive caused the second result to materialize and include the referenced directory
(and its properties) in addition to the other account properties.Copyright © 2012–2014. All rights reserved.