Desk
Index one project file as a document
Changed onUploads the file as a document of the project's owner, in the organization the project is shared with, and starts its processing; a document the file was indexed as before is deleted. In a project connected to a collection, a file indexed as one of the collection's documents replaces that document's file instead (409 while the document still processes its previous file), and a new document is added to the collection, in the folder the file's directory is. Counts against the owner's page limit, whoever asks. A file already indexed at its current content, and not failed, is not sent again: its record is the answer.
post/api/v0/desk/projects/{project_id}/index
Request
- Base URLhttps://api.outerport.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
project_idstring uuid required
Request body
Response
Successful Response
Changes
- info
endpoint added
- info