System API

Retrieve a list of supported countries

get

Returns a list of all supported countries with their ISO codes, currencies, calling codes, and timezones.

Authorizations
x-api-keystringRequired
Responses
200

Successfully retrieved list of countries

application/json
get
/country

Retrieve list of uploads

get

Retrieves a list of upload records associated with the provided API key from the gospace platform. Each upload includes its status, file type, process type, and associated metadata. Supported file types and their extensions are image/png (.png), image/jpg (.jpg), image/jpeg (.jpeg), text/csv (.csv), text/dxf (.dxf), text/pdf (.pdf), application/json (.json), application/geo+json (.geojson), application/dxf (.dxf), application/acad (.dwg).

Authorizations
x-api-keystringRequired
Responses
200

Successful response with a list of upload records

application/json
get
/upload

Upload a file to gospace

post

Initiates a file upload process by generating a signed URL for uploading a file to the gospace platform. The file_type must be one of the supported MIME types, and the upload_process must match a valid process type. Supported file types and their extensions are image/png (.png), image/jpg (.jpg), image/jpeg (.jpeg), text/csv (.csv), text/dxf (.dxf), text/pdf (.pdf), application/json (.json), application/geo+json (.geojson), application/dxf (.dxf), application/acad (.dwg).

Authorizations
x-api-keystringRequired
Body
file_typestring · enumRequired

The MIME type of the file to be uploaded.

Example: application/dxfPossible values:
upload_processstring · enumRequired

The type of upload process.

Example: floorplanPossible values:
binding_idstring · uuidRequired

A unique identifier for binding the upload to a specific entity.

Example: b51eadf5-e87b-49ec-a7bb-6e83152db660
Responses
200

Successful response with upload details and signed URL

application/json
post
/upload

Last updated

Was this helpful?