Scenes

POST /teams/:team_uid/scenes

This endpoint is exactly equivalent in usage to POST /scenes and must follow the analogous sequence of steps, with the exception that the team is specified explicitly in the URL. This means that the credentials used must allow access to the specified team.

If a team-scoped API key is used, this endpoint is redundant, though it does work if the team matches the team of the API key.

If username and password login credentials are used, then this endpoint allows posting a scan to any of the teams to which the corresponding user belongs.

Note that followup requests, for example to post new versions, will be scoped to the visible teams and so require only the scene UID and do not need the team UID specified in the URL.

Endpoint

POST /api/v2/teams/:team_uid/scenes

Request

Route

POST /api/v2/teams/6iL9cYEE/scenes

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 9df74ab36d46f71b128650d629ed79bc26a19ec3dbbc661826b80b3f8461a754$$UXhlcFML/cutLF4H2s9ZkBPA/t+JGaSwe7vVZfp5DGHr9FYsZKUX363B5w==--6lLG3CoqtTuHyNja--T1kXD+w6vh+TDI7Xlxo+fg==
Api-Key: Yh7zuRhsR44R2P5a

Response

Status

201

Headers

Content-Type: application/json; charset=utf-8

Body

{
  "scene": {
    "created_at": "2020-06-01T21:44:51.314Z",
    "updated_at": "2020-06-01T21:44:51.314Z",
    "uid": "FWn4bJgL",
    "team_uid": "6iL9cYEE",
    "scene_versions": [
      {
        "created_at": "2020-06-01T21:44:51.315Z",
        "updated_at": "2020-06-01T21:44:51.315Z",
        "version_number": 1,
        "parent_version_number": -1,
        "metadata": null,
        "uid": "pSBtDcxB",
        "scene_uid": "FWn4bJgL",
        "scenegraph_url": null,
        "thumbnail_url": null
      }
    ],
    "scene_assets": [

    ]
  },
  "success": true
}