data

Insert new Document

put/api/v1/data/{provider}/{dataset}/

Request

  • Base URL
    https://data.corva.ai (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP bearer
    • or API key in header Authorization

Path parameters

providerstring required
datasetstring required

Query parameters

idstring

Request body

company_idinteger nullable
providerstring nullable
collectionstring nullable
asset_idinteger nullable

Asset ID. Required for time and depth based data.

versioninteger required

Version of the data document

app_versioninteger nullable

Version of the app that generated the data

dataobject
timestampinteger nullable

Timestamp (epoch time). Required for time based data, optional for rest.

log_identifierstring nullable

Identifier to scope the data by app stream. Required for depth based data, optional for rest.

measured_depthnumber nullable

Measured depth. Required for depth based data, optional for rest.

stage_numberinteger nullable

Stage number for completion data

datetimestring nullable
_idstring nullable

Response

Successful Response

_idstring nullable

MongoDB ObjectId.

company_idinteger nullable
asset_idinteger nullable
versioninteger required
providerstring required
collectionstring required
dataobject required
timestampinteger nullable
measured_depthnumber nullable
app_keystring nullable
app_versioninteger nullable
log_identifierstring nullable
stage_numberinteger nullable
datetimestring nullable

Example response

{
  "_id": "507f1f77bcf86cd799439011"
}

Changes

No recorded changes to this operation across all 1 revision of this API.