Currently, we have an example of what listing a collection looks like (the response JSON has an items property, AS2 style):
Example response from GET /space/{space_id}/{collection_id}/:
HTTP/1.1 200 OK
Content-type: application/json
{
"id": "73WakrfVbNJBaAmhQtEeDv",
"name": "Verifiable Credentials Collection",
"type": ["Collection"],
"totalItems": 0,
"items": []
}
Now, need to specify several additional things:
- What does each item in the
items array look like? (when referring to any sort of resource, files, PDFs, json objects, etc)
- Add an example of how to list the contents of the "default"/root space collection. (That is, how do you list the contents of a space).