Skip to main content
POST
A connector's snapshot and its derived document (SP5)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
connector
enum<string>
required
Available options:
elevation.geotiff,
osm.extract,
airspace.geojson,
table.csv,
osm.features,
osm.features.pbf,
shapefile.zip
fetched_at
string
required
licence
string
required
source
object
required
blob
string
bounds
number[]
delimiter
string

table.csv: the field delimiter, one character (a comma unless stated)

features
string[]

osm.features / osm.features.pbf: the tag filter, an ordered list of rules written key, key=*, key=value or key=a|b. An element is kept when a rule matches its tags; the first that does is named on the feature (@rule). Railways, fences, pipelines, power lines and buildings when left out (the list is osm_features_default in GET /v1/spatial.capabilities)

height_kind
object
name
string
payload_base64
string
text
string
url
string

SP5.b: a URL the engine fetches itself (hosts allowed by SS_SPATIAL_FETCH_HOSTS); the fetch is recorded in the snapshot.

Response

OK

derived
object
key
string
rule
string
snapshot
object