Motorbase
V1Versions

list versions by model id

list the versions of a model

GET
/api/v1/{organizationSlug}/models/{id}/versions
AuthorizationBearer <token>

In: header

Scope: *

Path Parameters

idstring

Response Body

curl -X GET "https://api.motorbase.io/api/v1/{organizationSlug}/models/string/versions"
[
  {
    "id": "string",
    "name": "string",
    "modelId": "string",
    "organizationId": "string",
    "createdAt": "2019-08-24",
    "updatedAt": "2019-08-24"
  }
]
{
  "message": "Organization slug is missing"
}
{
  "message": "Unauthorized"
}
{
  "message": "Not Found"
}
{
  "success": false,
  "error": {
    "name": "ZodError",
    "issues": [
      {
        "code": "invalid_type",
        "path": [
          "id"
        ],
        "message": "Invalid input: expected string, received undefined"
      }
    ]
  }
}
list versions by model id