v1

latestSwagger 2.0Apache 2.02026-07-1334102.9 MB
Collections

Create a Collection

Retrieves a list collections, either public or related to the user

Permissions

Anonymous users are able to see all public collections at this endpoint. Logged in users will only be able to see their own content.

Comments on private nodes are only visible to contributors and administrators on the parent node.

Returns

Returns a JSON object containing data and links keys.

The data key contains an array of comment objects. Each resource in the array is a separate comment object.

The links key contains a dictionary of links that can be used for pagination.

post/collections/

Request body

object required

Example request

{
  "data": {
    "type": "collections",
    "attributes": {
      "title": "An Excellent Collection Title"
    }
  }
}

Response

Created