Relations

Resources can have relations with other resources. This relations are expressed as compound object. Request with relations (GET, POST, PUT, DELETE) can process fields with relations:

[
    {
        ...,
        "<relation1>": [
        {
            ...,
            "<relation2>": [
                {
                    ...,
                    "<relationN>": [
                        ...
                    ]
                }
            ]
        }
    }
]

Jeixa provides the ability to SELECT/INSERT/UPDATE/DELETE related data/records (with some limitations). As you can see from the table above we prohibit modification of parent resources due to data consistency reasons. There are no limitations for GET method, for HAS_MANY and MANY_TO_MANY relations as well. You can create and delete relations through the Jexia console. If you don't know how to do this, please find an instruction here: