create Partial Document
Uploads raw data and creates a new Gini partial document.
Return
A Task which will resolve to the Document instance of the freshly created document.
Parameters
A byte array representing an image, a pdf or UTF-8 encoded text
The media type of the uploaded data
Optional the filename of the given document
Optional a document type hint. See the documentation for the document type hints for possible values
Uploads raw data and creates a new Gini partial document.
Return
A Task which will resolve to the Document instance of the freshly created document.
Parameters
A byte array representing an image, a pdf or UTF-8 encoded text
The media type of the uploaded data
Optional the filename of the given document
Optional a document type hint. See the documentation for the document type hints for possible values
Additional information related to the document (e.g. the branch id to which the client app belongs)