Load Resource Job
The sample use case is to load a resource using the resource name.
You can use the REST API to retrieve the information in one of the following ways:
- Using Java code and the Bundled Java Client
public void loadResource() throws ApiException {
JobPostRequest request = new JobPostRequest().resourceName("<resourceName>");
JobMonitor response = this.api.catalogResourcesJobsLoadsPost(request);
//Do something with the returned job details;
}
- Using Curl
curl -X POST --header "Accept: application/json" --header "Content-Type: application/json" -d "{
"resourceName": "string"}"
"http://localhost:13000/2/catalog/resources/jobs/loads"