Hi, have anyone used a url where another application holds the file for upload instead of the file path on local machine?
Having issues where the RestApi returns ERROR File could not be found in the upload directory.
Looking at the REST API https://developer.opentext.com/apis/14ba85a7-4693-48d3-8c93-9214c663edd2/d7540c64-7da2-4554-9966-069c56a9341d/09aaed57-c70b-4092-bace-762b42520293#operation/createNode2 you need to either provide the binary file, through the FILE parameter, or the key to a Large File Upload session, through the UPLOAD_KEY parameter. The Add Version REST API (https://developer.opentext.com/apis/14ba85a7-4693-48d3-8c93-9214c663edd2/d7540c64-7da2-4554-9966-069c56a9341d/09aaed57-c70b-4092-bace-762b42520293#operation/addVersion2) is the same too.
@Greg Griffiths what do you think a developer should put here
"Create document
I know what to put in the File as that is a File Object what is an example of a upload_key?
is there a better example somehere?
@Appu Nair for Upload Key see https://developer.opentext.com/apis/14ba85a7-4693-48d3-8c93-9214c663edd2/d7540c64-7da2-4554-9966-069c56a9341d/09aaed57-c70b-4092-bace-762b42520293#operation/multipartUploadSettings
Thanks looks promising will have to try the upload_key looks like a cacheid like in the old SOAP context methods.
yep, looks like you kick off the process with START, that gives you a cacheid, then you do X updates and then a COMPLETE to close the upload off.
I want to upload binary content using REST API upload option is there any way to achieve this?
@NarasinghNaveenKumar - Were you able to get around uploading binary content using REST API?