16.9.4 Using REST Data Source for Bucket Files
Create a REST Data Source for listing and retrieving files in an OCI object bucket.
Create a Bucket Objects REST Data Source of type Oracle Cloud
Infrastructure (OCI) for the base URL of a named object bucket in your
namespace, using :bucketname in the URL to implicitly define a URL
Pattern parameter by that name.
https://objectstorage.eu-frankfurt-1.oraclecloud.com/n/x1y2z3a4b5c6/b/:bucketname/o/Enter a default bucket name value (e.g. companion-bucket) for the bucketname parameter so the automatic data profile discovery can do its job. On the Authentication step of the Create REST Data Source Wizard, use the OCI Object Bucket web credential created before. Then proceed with the automatic discovery of the data profile and complete the wizard.
- Static
fieldsURL Query String parameter with valuename,size,md5,timeCreated GEToperation named Get File with URL Patterno/:filename, URL Pattern parameterfilename, and static IDget_filePOSToperation named Get File PAR with URL Patternp/with static IDget_file_par
Figure 16-89 Defining Bucket Objects REST Data Source
Parent topic: Using an OCI Object Bucket for Files
