Probe Service Url
POST
/services/probe/
const url = 'https://example.com/api/services/probe/';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"url":"example","token":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/api/services/probe/ \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "url": "example", "token": "example" }'Probe a remote service URL to detect its type and list available layers.
Validates the URL against SSRF, detects whether it is a WFS or ArcGIS service, and returns a unified layer list. All attempts are audit-logged.
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”Successful Response
Media type application/json
ProbeResponse
object
service_type
required
Service Type
Detected service type, e.g. ‘WFS 2.0’ or ‘ArcGIS FeatureServer’.
string
url
required
Url
Normalized service URL after probing.
string
layers
required
Layers
Layers exposed by the probed service.
Array<object>
LayerInfoobject
name
required
Name
Internal layer identifier used by the source service.
string
layer_type
Layer Type
Layer kind: ‘layer’ (spatial) or ‘table’ (non-spatial attribute table).
string
Example
{ "layers": [ { "layer_type": "layer" } ]}Validation Error
Media type application/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object
Example generated
{ "detail": [ { "loc": [ "example" ], "msg": "example", "type": "example", "input": "example", "ctx": {} } ]}