Models

Create new models from uploaded files

Changed on
post/models

Request

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

Request body

namestring

Used as model name if any files are uploaded that aren't compressed archives

sensitiveboolean
keywordsstring[]

Example request

{
  "name": "My New Model",
  "files": [
    {
      "id": "http://example.com/uploads/abc123456def",
      "name": "model.stl"
    }
  ],
  "creator": {
    "@id": "https://example.com/creators/abc123",
    "@type": "Organization"
  },
  "isPartOf": {
    "@id": "https://example.com/collections/abc123",
    "@type": "Collection"
  },
  "spdx:license": {
    "@type": "spdx:License",
    "@id": "http://spdx.org/licenses/MIT",
    "licenseId": "MIT"
  },
  "sensitive": true,
  "keywords": [
    "tag"
  ]
}

Response

Created; a single model was created and the files will be added into it shortly

Changes