Menu

Get model

Create API

GET https://api-staging-v2.logyx.it/v1/models/<id>

About

Retrieve a model.

Query


version-number integer Optional

Retrieve a specific version.

If omitted, the latest version will be retrieved.


cascade boolean Optional

If set to true, all sections will be included in the response.


imports boolean Optional

If set to true, all imports will be included in the response.

Response

{
    "code": 200,
    "message": "We have processed your request.",
    "data": {
        "id": 1,
        "version_id": 1,
        "created_at": "2023-01-13T10:42:01.418255",
        "updated_at": null,
        "general": {
            "name": "Example"
        }
    },
    "links": {},
    "errors": []
}
Menu