POST
/relations
curl \
--request POST 'http://api.example.com/relations' \
--header "Content-Type: application/json" \
--data '{"id":42,"updated_at":"2025-05-04T09:42:00Z","from_":0,"to_":0,"content":"string"}'
Request examples
{
"id": 42,
"updated_at": "2025-05-04T09:42:00Z",
"from_": 0,
"to_": 0,
"content": "string"
}
Response examples (200)
{
"id": 42,
"updated_at": "2025-05-04T09:42:00Z",
"from_": 0,
"to_": 0,
"content": "string"
}
Response examples (422)
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}