Skip to content

ssleert/tzproj

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tzproj

/put endpoint

input:

{
  "name": "Alex",
  "surname": "Ryabinkov",
  "patronymic": "Pavlovich" // optional
}

output:

{
  "writed_id":1,
  "error":"null"
}

/del endpoint

input:

{
  "delete_id": 1
}

output:

{
  "error":"null"
}

/update endpoint

input:

{
  "people": {
    "id": 1,
    "age": 136,
    "name": "Simon",
    "surname": "Pavlovich",
    "patronymic": "Alexandrovich" // optional
  },
  "gender": {
    "gender": "male",
    "probability": 0.123123
  },
  "nationalizations": [
    {
      "country_code": "RU",
      "probability": 0.92
    }
  ]
}

output:

{
  "error":"null"
}

/get endpoint

input:

{
  "offset": 0,
  "limit": 10,
  "filter_by": [
    {
      "key": "name",
      "op": "=",
      "value": "Simon"
    }
  ]
}

output:

{
  "data": [
    {
      "people": {
        "id": 2,
        "name": "Simon",
        "surname": "Pavlovich",
        "patronymic": "Alexandrovich",
        "age": 136
      },
      "gender": {
        "gender": "male",
        "probability": 0.123123
      },
      "nationalizations": [
        {
          "country_code": "RU",
          "probability": 0.92
        }
      ]
    }
  ],
  "error": "null"
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published