Cantemo get item relations

This task allows you to state all the relations that would exist for any input item.

main

Item ID
This is the ID of the item.

Returned value This task returns an object, item_relations that contains all relations of an item and has as follows :

{
        "relations" : [
            {
                "id": "VX-51",
                "direction_type": "D",
                "source": "VX-252",
                "target": "VX-264",
                "type": "portal_metadata_cascade"
            },
            {
                "id": "VX-52",
                "direction_type": "D",
                "source": "VX-252",
                "target": "VX-269",
                "type": "portal_metadata_cascade"
            }
        ]
}