Creating a Cloudera Data Engineering resource using the API
A resource in Cloudera Data Engineering (CDE) is a
named collection of files referenced by a job. The files can include
application code, configuration files, and even Python virtual environment
specifications (requirements.txt). You can create a
resource using the CDE API.
Create the resource by submitting a POST
request to the resources endpoint. The JSON filename
is referenced using the @/path/to/filename.json
convention. In this example, the JSON filename is
fileResource.json, and describes a
files type resource named
example-job-files.