Spatial (MOSC)

MOSC Banner

REST API Endpoints for Oracle Spatial Studio - Syntax for dataset enrichment operation - Geocode

Dear community,

I am struggling with rest api syntax with geocoding enrichment operation.

According documentation available in https://docs.oracle.com/en/database/oracle/spatial-studio/20.1/spstu/rest-api-endpoints-spatial-studio.html ; we got the following syntax:

 /v1/enrichment/geocode/{id}:

   put:

     operationId: enrichDataSet

     parameters:

     - name: id

       in: path

       required: true

       schema:

         type: string

     requestBody:

       content:

         '*/*':

           schema:

             type: string

     responses:

       default:

         description: default response

         content:

           application/json: {}

First part of explanation looks clear but what about the request body in the syntax?

e.g.

 curl.exe -k -X PUT "https://localhost:4040/spatialstudio/oauth/v1/datasets/geocode/{dataset

id}" -H "Authorization:Bearer {token}  {and the missing conthent}

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center