Retrieves the details of the custom jar in the server

get

/spatialviewer/api/v1/raster/userCustomJar

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

successful request
Body ()
Root Schema : RasterUserCustomJarSuccessResponse
Type: object
Show Source
Nested Schema : response
Type: object
Response details
Show Source

206 Response

User custom jar file was not found. Implementation classes in the raster API are return if found.
Body ()
Root Schema : RasterUserCustomJarNotFoundResponse
Type: object
Show Source
Nested Schema : response
Type: object
Response details
Show Source
Back to Top

Examples

Retrieves the name of the custom jar that was previous upload to the server. Also returns all the classes that implements the interface that enable the user create his custom code.

The following example shows how to get the name of the previously upload custom jar file, and a list of the implementation classes by submitting a GET request on the REST resource using cURL.

curl -X GET "http://localhost:8045/spatialviewer/api/v1/raster/userCustomJar" -H "accept: application/json"

Example of Response Header

Example of Response Header

HTTP/1.1 200 OK Date: Tue, 21 Aug 2018 23:16:46 GMT Content-Type: application/json Access-Control-Allow-Origin: * Access-Control-Allow-Credentials: true Access-Control-Allow-Methods: GET, POST, DELETE, PUT Access-Control-Allow-Headers: Content-Type, Accept Transfer-Encoding: chunked

Example of the Response Body

The following example shows the contents of the response body in JSON format

{ "status" : "success", "title" : "Uploaded custom jar file was found.", "o:successCode" : "SVR-00201", "response" : { "value" : "external-analysis.jar", "items" : [ "oracle.spatial.raster.HillShade", "oracle.spatial.hadoop.imageprocessor.process.ImageSlope" ] }}
Back to Top