data add documents

This commit is contained in:
mpostma 2020-12-23 13:52:28 +01:00
parent 0d7c4beecd
commit 1a38bfd31f
5 changed files with 100 additions and 25 deletions

View file

@ -93,10 +93,10 @@ async fn update_multiple_documents(
#[post("/indexes/{index_uid}/documents", wrap = "Authentication::Private")]
async fn add_documents(
_data: web::Data<Data>,
data: web::Data<Data>,
_path: web::Path<IndexParam>,
_params: web::Query<UpdateDocumentsQuery>,
_body: web::Json<Vec<Document>>,
body: web::Json<Vec<Document>>,
) -> Result<HttpResponse, ResponseError> {
todo!()
}