Skip to content

Vallghall/mt-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Тестовое задание

API reference

POST "/add-fact" adds a relation to between two people in a DB graph

{
    "person_a": {
        "name": "Roman", 
        "surname": "Gusev",
        "age": 21
    },
    "person_b": {
        "name": "Alex",
        "surname": "Johns",
        "age": 22
    },
    "communication": {
        "type": "SENDS_MESSAGE_TO",
        "description": "Roman sends a letter to Alex"
    }
}

GET "/relations" -- returns a graph stored in DB

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages