Skip to content

Specify / give example of what a 'list space contents' request looks like #22

@dmitrizagidulin

Description

@dmitrizagidulin

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:

  1. What does each item in the items array look like? (when referring to any sort of resource, files, PDFs, json objects, etc)
  2. 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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions