Restore users data from file
Restore users data from file
- multipart/form-data
Request Body
- file binary required
Archive file in .zip extension
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...