Relations

Add relations

This query allows the addition of a relation between two already stored persons. The body must be in json format and follow the following structure :

[
  {
    "from": "",
    "to": "",
    "relation": "",
    "date": "",
    "detail": ""
  },
  {
    "from": "",
    "to": "",
    "relation": "",
    "date": "",
    "detail": ""
  }
]
circle-check

Add relations

POST https://app.netw4ppl.tech/api/links

Headers

Name
Type
Description

Application-id*

String

Authorization*

String

Request Body

Name
Type
Description

json

The json should match Relations

Update relations

To update the relationships between two people, you have to use the same query as to create a relationship while adding the id attribute of the relationship to modify in the body :

The server responds by listing the ids of the relationships created

Last updated