Skip to main content
POST
Import soil traverses from CSV as a survey, or a conductor layout from GeoJSON as a system

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
format
enum<string>
required
Available options:
csv,
geojson
frame
object
required

The document's frame (ss-spatial): a projected frame such as an MGA zone on GDA2020, or a local east-north-up one

blob
string

TL3c: a blob id (b3:<64 hex>: an upload's blob_id, an attachment's blob) holding the file, instead of text: read as the caller under the read gate (a blob the caller may not read answers 404 BLOB_NOT_FOUND, as an absent one) and imported exactly as if its contents were sent inline. Give one of the two (both: 400 FILE_GIVEN_TWICE).

coordinates
enum<string>

GeoJSON: positions in the frame (default), or longitude and latitude on WGS 84, transformed into it

Available options:
frame,
geographic
depth_m
number

GeoJSON: the burial depth of a conductor (and a rod's top) that gives none

include_document
boolean

Answer the document (true)

into_key
string

GeoJSON: a stored system the layout is added to; a new system when left out

method
string

CSV: the array where the file has no method column (wenner | schlumberger | dipole_dipole)

name
string

The file's name, kept in the document's origin with its BLAKE3

node_crossings
boolean

GeoJSON: add a shared vertex where conductors cross (true)

radius_m
number

GeoJSON: the radius of a conductor that gives none

rod_length_m
number
rod_radius_m
number
text
string

The file's contents

z
enum<string>

GeoJSON: what a third coordinate is (ignore, the default; or depth below the surface, m)

Available options:
ignore,
depth

Response

schema, kind, key, blob_uri, counts, validation, format, import_findings, document

The response is of type object.