Add an document
POST/documents
add by json document
Request
- application/json
Body
required
Add documents
object
Responses
- 200
- 400
- 404
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": 400,
"message": "status bad request"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": 400,
"message": "status bad request"
}
Internal Server Error
- application/json
- Schema
- Example (from schema)
Schema
code integer
message string
{
"code": 400,
"message": "status bad request"
}
Loading...