Restore users data from file
Restore users data from file
- application/octet-stream
Request Body required
- string binary
Zip archive
Responses
- 200
- 400
- 401
Imported data statistics
- application/json
- Schema
- Example (from schema)
Schema
statistic object[]
List of data tables
count integerEntities count
table_name stringData table name
{
"statistic": [
{
"count": 10,
"table_name": "apartments"
}
]
}
- Wrong file
- Importing troubles (file includes invalid data)
- application/json
- Schema
- Example (from schema)
- Wrong file
- Importing troubles
Schema
- error string
Error message
{
"error": "Wrong JSON body"
}
{
"error": "Wrong file"
}
{
"error": "Importing troubles"
}
Unauthorized request. Log In
- application/json
- Schema
- Example (from schema)
- Log In
Schema
- error string
Error message
{
"error": "Log In"
}
{
"error": "Log In"
}
Loading...