List Resources
Returns a list of one or more types of resources in the File Store: data files, templates, data mapping configurations, job creation presets and output creation presets, depending on the Type query parameter. If no Type value is passed, all OL Connect resources, but no generic or data files are listed.
This call only returns the list of resources that have been uploaded with the persistent attribute.
Examples:/rest/serverengine/filestore/resources?type=TEMPLATE
/rest/serverengine/filestore/resources?type=TEMPLATE,DATA_MAPPING_CONFIG,JOB_CREATION_CONFIG
Request takes no content, and on success returns a response containing a JSON structure that has an array of objects holding base information on Connect resources.
Request
Method Type: |
GET |
---|---|
URI: | |
Content: | – |
Content Type: |
– |
Add. Headers: |
If server security settings are enabled, then one of the following:
|
Parameters
Path
Name | Required | Type | Default Value | Description |
---|---|---|---|---|
type |
– |
– |
If the type parameter is omitted the endpoint will return:
|
The type or types (comma-separated) of the files to list. Possible values:
|
Response
Success
The following lists status codes indicative of a successful response:
Status Code | Content | Content-Type | Add. Headers | Description |
---|---|---|---|---|
200 OK |
A JSON structure that has an array of objects holding base information on Connect resources:
|
application/json |
|
List returned. |
Error
The following lists status codes indicative of a failed or error response:
Status Code | Content | Content-Type | Add. Headers | Description |
---|---|---|---|---|
401 Unauthorized |
JSON Error specifying error message |
application/json |
WWW-Authenticate – BASIC (Basic Authentication credentials are accepted) |
Server authentication has failed. Response when either:
|
403 Forbidden |
JSON Error specifying error message |
application/json |
– |
Server authentication has succeeded, but user authorization for this specific method has failed. Response when authentication of the credentials or the authorization token specified in the request headers has succeeded, but the user associated with the credentials or the authorization token specified has insufficient role assignment/privileges. |
404 Not Found |
JSON Error specifying error message |
application/json |
– |
|