This endpoint shows how to add a relation to a Virgil Card. The relation entity describes a trusted one-way relationship between the source Virgil Card specified in the URI and the destination Virgil Card, of which the CSR is specified in the request body.
Relations work similarly to the signs mechanism, but specifies the opposite trust direction. If the signs collection lists the Virgil Cards that were verified by the source Virgil Card at the moment of its creation, the relations collection will list all the Virgil Cards trusted by the source Virgil Card.
The CSR of the destination Virgil Card. This means that it's required to pass a value already passed.
The collection with one mandatory item where the key must be the same Virgil Card ID that is
specified in the URI. Also, the value must be the Base64-encoded digital sign of the content_snapshot by the source Virgil Card private key.
For original information concerning other parameters, click on the following link: Create a Card.