Skip to main content

Imago API for Developers

Version: 1.3.1

Get the user

Servers
https://imago.api.seequent.com/integrate/2
GET
/context

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.

Request

Responses

200

Successful response.

List of workspaces accessible by the signed in user.

Workspace identifier.

Name of the workspace.

Indicates whether the person has readonly or write access to workspace.

List of datasets in the workspace.

Dataset identifier.

Name of the dataset.

List of imagery types in the dataset.

Imagery type identifier.

Name of the imagery type.

Content type of the imagery type.

Geometry type of the imagery type.

Use geographic or geometric coordinates.

List of image types in the imagery type.

Image type identifier.

Name of the image type.

Data type of the image type.

Source type of the image type.

Name of the base image type.

List of attribute definitions assigned to the imagery type.

Name of the attribute definition.

List of attribute types in the attribute definition.

Name of the attribute type.

Data type for the value stored in the attribute type.

List of label definitions assigned to the imagery type.

Name of the label definition.

List of label types in the label definition.

Name of the label type.

List of feature definitions assigned to the imagery type.

Name of the feature definition.

List of feature types in the feature definition.

Name of the feature type.

images object with features.

Name of the image type.

List of features in the image type.

List of points that describe the geometry of the feature on the image.

The x value for the point as a percentage of the image width, between 0 (left border) and 1 (right border)

The y value for the point as a percentage of the image height, between 0 (top border) and 1 (bottom border)

Describes the location of this point in relation to the drawing. 0 for the first point, 1 for a middle point, and -1 for the last point.

Indicates whether AutoCrop is enabled for this imagery type.

{
"workspaces": [
{
"id": "a27b51bf-b918-4fb4-a28f-4f089bf646a8",
"name": "Firefly Resource Development",
"readonly": false,
"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
}
]
}
]
}
]
}

401

Unauthorized

422

The request could not be completed using the supplied parameters.

500

Internal error occurred during the request.