User Context
Get the user context
Imago API
Version: 1.4.3
The user context describes the list of workspaces and other information accessible by that user. Each workspace is described by its dataset and its imagery types definitions.
| Servers |
|---|
| https://imago.api.seequent.com/integrate/2 |
Parameters
Returns
200
Successful response.
Endpoint
GET
/contextRequest
cURL
curl -X GET 'https://imago.api.seequent.com/integrate/2/context' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'
Response
{
"workspaces": [
{
"id": "a27b51bf-b918-4fb4-a28f-4f089bf646a8",
"name": "Firefly Resource Development",
"readonly": false,
"workspaceFolder": "Western Australia",
"datasets": [
{
"id": "71b93d30-8e5f-4b07-9f08-8e6bf5a72a50",
"name": "Drilling Chips",
"lengthUnits": "metres",
"imageryTypes": [
{
"id": "6a69bf8e-c03c-4ed2-8a62-d6feac838f12",
"name": "Chips",
"contentType": "chiptray",
"geometryType": "trace",
"coordinateType": "geographic",
"imageTypes": [
{
"id": "8b0634bf-1136-4b5e-a247-c219e77fb92e",
"name": "Dry",
"dataType": "image",
"baseImageTypeName": null,
"sourceType": "O"
},
{
"id": "f16c5dbe-f455-4076-8358-ffda8f538814",
"name": "Wet",
"dataType": "image",
"baseImageTypeName": null,
"sourceType": "O"
}
],
"attributeDefinitions": [
{
"name": "Core Tray Box Numbers",
"attributeTypes": [
{
"name": "RowNumber",
"dataType": "number"
},
{
"name": "StartBox",
"dataType": "number"
},
{
"name": "EndBox",
"dataType": "number"
}
]
},
{
"name": "Assays",
"attributeTypes": [
{
"name": "ag_ppm",
"dataType": "number"
},
{
"name": "cu_ppm",
"dataType": "number"
},
{
"name": "mo_ppm",
"dataType": "number"
}
]
}
],
"labelDefinitions": [
{
"name": "Status",
"labelTypes": [
{
"name": "Planned"
},
{
"name": "In Progress"
},
{
"name": "Done"
}
]
}
],
"featureDefinitions": [
{
"name": "Linearization",
"featureTypes": [
{
"name": "boundary",
"colour": "#F00",
"shapeType": "quadrilateral"
},
{
"name": "row",
"colour": "#ffff00",
"shapeType": "quadrilateral"
}
]
}
],
"enableAutoCrop": false
}
]
}
]
}
]
}