Collections

Update a collection

Changed on
patch/collections/{id}

Request

  • Base URL
    https://try.manyfold.app
  • Auth
    OAuth 2
    Client credentials
    Token URL: /oauth/token scopes: write

Request body

namestring required
captionstring
descriptionstring

Example request

{
  "name": "Interesting Things",
  "caption": "A short description",
  "description": "Lorem ipsum dolor sit amet...",
  "links": [
    {
      "url": "https://example.com",
      "text": "anchor text"
    }
  ],
  "creator": {
    "@id": "https://example.com/creators/abc123",
    "@type": "Organization"
  },
  "isPartOf": {
    "@id": "https://example.com/collections/abc123",
    "@type": "Collection"
  },
  "preview_file": {
    "@id": "https://example.com/models/abc123",
    "@type": "3DModel"
  }
}

Response

Collection updated

@idstring required
@typestring required
namestring
captionstring
descriptionstring

Example response

{
  "@id": "https://example.com/collections/abc123",
  "@type": "Collection",
  "name": "Interesting Things",
  "caption": "A short description",
  "description": "Lorem ipsum dolor sit amet...",
  "links": [
    {
      "url": "https://example.com",
      "text": "anchor text"
    }
  ],
  "creator": {
    "@id": "https://example.com/creators/abc123",
    "@type": "Organization"
  },
  "isPartOf": {
    "@id": "https://example.com/collections/abc123",
    "@type": "Collection"
  },
  "preview_file": {
    "@id": "https://example.com/models/abc123",
    "@type": "3DModel"
  }
}

Changes

    • info

      added the new optional request property //

    • info

      added the optional property // to the response with the status

    • info

      added the new optional request property

    • info

      added the optional property to the response with the status