Can Multiple REST API Calls be Sent in Single Request? For Example Upload a File and Set Tags in the Same Call
(Doc ID 2435134.1)
Last updated on FEBRUARY 25, 2019
Applies to:Content and Experience Cloud Service - Version 18.104.22.168.0 and later
Content and Experience Cloud Classic - Version 18.1.2 and later
Information in this document applies to any platform.
Users would like to set tags as part of a file upload API call to the Oracle Content and Experience Cloud (CEC).
There are References, to both APIs here:
1. Upload File via Oracle online documentation (link).
Home / Cloud / Platform as a Service (PaaS) / Oracle Content and Experience Cloud / REST API for Documents / Upload File (link)
2. Set File Tags:
Home / Cloud / Platform as a Service (PaaS) / Oracle Content and Experience Cloud / REST API for Documents / Set File Tags (link)
Using the Upload File API endpoint there is no way, to set the tags as part of the upload; for each file upload, it is necessary to make two calls (one to upload the file and one to set the tags). This situation makes the user's code more complex, takes more time to execute, and uses more server resources.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document