Scenes

GET /scenes/:uid/versions

Endpoint

GET /api/v2/scenes/:scene_uid/versions

Parameters

Name Description type
scene_uid required Scene uid string

Request

Route

GET /api/v2/scenes/8hwATkbT/versions

Headers

Accept: application/json
Content-Type: application/json
Access-Token: 8a948a6830199c86b957dab227c7db78cfe4a1c6c289439a6ece68b6f4b20549$$tkn5fMW7Qu5Ykup+Kud1gSYvwxPmY5t5vBS4VOimDe0N/kntTRgz4ojCBA==--5GmWTkaRu3lSE58G--Ad6gIJYt6qwvVhk0PwpAtQ==
Api-Key: 6nJz3udDhrkSHRoe

Response

Status

200

Headers

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

Body

{
  "success": true,
  "scene_uid": "8hwATkbT",
  "scene_versions": [
    {
      "created_at": "2020-06-01T21:44:50.053Z",
      "updated_at": "2020-06-01T21:44:50.053Z",
      "version_number": 1,
      "parent_version_number": -1,
      "metadata": null,
      "uid": "KBP7x8RA",
      "scene_uid": "8hwATkbT",
      "scenegraph_url": "http://localhost:3002/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdDBCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--4ad65d69da62b41a9f96bbd3bf43bc5fb4b94478/test.json",
      "thumbnail_url": "http://localhost:3002/rails/active_storage/blobs/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdHdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--b707176e7c3d95c766650084ddf709bb4691da6b/test.json"
    },
    {
      "created_at": "2020-06-01T21:44:50.068Z",
      "updated_at": "2020-06-01T21:44:50.068Z",
      "version_number": 2,
      "parent_version_number": 1,
      "metadata": null,
      "uid": "ii8AxzC2",
      "scene_uid": "8hwATkbT",
      "scenegraph_url": null,
      "thumbnail_url": null
    },
    {
      "created_at": "2020-06-01T21:44:50.072Z",
      "updated_at": "2020-06-01T21:44:50.072Z",
      "version_number": 3,
      "parent_version_number": 1,
      "metadata": null,
      "uid": "mMLBMwoU",
      "scene_uid": "8hwATkbT",
      "scenegraph_url": null,
      "thumbnail_url": null
    }
  ]
}