Forums » #273 - OCCI JSON Rendering »
JSON unbounded collection rendering
Added by Jean Parpaillon almost 7 years ago
Hi,
In the JSON rendering document, it is not clear how to render unbounded collection.
Possibility:
{
"resources": [...],
"links": [...]
}
If this solution is correct, a concrete example may be provided.
btw, what is the reason of splitting locations in resources and links ?
At implementation level, urls are likely to be used for indexing, while accessing entity's kind could require more information to be fetched.
Couldn't we simply wrap the array into "entities" or "locations" ?