POST api/RAGFlow/RenameDocument

Documentation for 'RenameDocument'.

Request Information

Parameters

NameDescriptionAdditional information
model
Documentation for 'model'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "document_id": "sample string 1",
  "name": "sample string 2"
}

text/xml

Sample:
<RenameDocumentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Lib.DTO.RagFlow">
  <DocumentId>sample string 1</DocumentId>
  <NewName>sample string 2</NewName>
</RenameDocumentRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.