Imago API for Developers
Version: 1.3.1
Create a new imagery
Servers |
---|
https://imago.api.seequent.com/integrate/2 |
POST
/imageryThis will create a new imagery if it does not exist, otherwise it will update an existing imagery.
Request
Example body
[
{
"keys": {
"workspaceName": "Firefly Resource Development",
"datasetName": "Drilling Chips",
"collectionName": "RC-01001",
"imageryTypeName": "Chips",
"startDepth": 0,
"endDepth": 10
},
"attributeDefinitions": [
{
"name": "Core Tray Box Numbers",
"attributeValues": {
"StartBox": 1,
"EndBox": 1
}
}
],
"featureDefinitions": [
{
"name": "Linearization",
"featureTypes": [
{
"name": "row",
"images": [
{
"name": "Wet Original",
"features": [
{
"points": [
{
"x": 0.007876626215875149,
"y": 0.3148634731769562,
"pen": 0
},
{
"x": 0.9640294909477234,
"y": 0.3148634731769562,
"pen": 1
},
{
"x": 0.9640294909477234,
"y": 0.7148634731769562,
"pen": 1
},
{
"x": 0.00787662621587514,
"y": 0.7148634731769562,
"pen": -1
}
]
}
]
}
]
}
]
}
]
}
]
Responses
200
Successful response.
401
Unauthorized
422
The request could not be completed using the supplied parameters.
500
Internal error occurred during the request.