REST schemas LayerChanges to MessageReferenceKind#
Request and response bodies of the REST API.
LayerChanges#
A page of layer changes and the current watermark.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of LayerChange |
yes |
maxItems |
|
|
integer or null |
|||
|
integer |
yes |
LayerContentSelection#
Which content of a layer record to bind: the record, a text field, an asset or a raster window.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
string or null |
|||
|
one of |
|
||
|
LayerRasterWindow or null |
LayerCorpusBinding#
Binds a layer to a retrieval corpus, with the content selection and embedding profile.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
integer |
|
minimum |
|
|
string |
yes |
minLength |
|
|
||||
|
string or null |
LayerPage#
A page of layers; pass next_cursor to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CollectionLayer |
yes |
maxItems |
|
|
string or null |
LayerRasterResult#
Pixel values of a raster window with its dtype, CRS and transform.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
array of integer |
yes |
||
|
string |
yes |
||
|
string or null |
yes |
||
|
string |
yes |
||
|
integer |
yes |
||
|
string |
yes |
minLength |
|
|
array of number |
yes |
minItems |
|
|
array of array of array of number or null |
yes |
||
|
integer |
yes |
LayerRasterWindow#
A pixel window (at most 512 by 512) and band selection of a raster asset.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of integer |
minItems |
||
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
|
|
string or null |
|||
|
string or null |
|||
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
LayerRecord#
One record of a layer, with its source ID and revision, properties and assets.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of LayerAsset |
maxItems |
||
|
string |
yes |
minLength |
|
|
object |
|||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
object |
|||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
LayerRecordBatch#
Up to 100 records to write; expected_watermark guards against concurrent writers.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer or null |
|||
|
array of LayerRecord |
yes |
minItems |
LayerRecordPage#
A page of layer records; partial is true when the source was not fully read.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of LayerRecord |
yes |
maxItems |
|
|
string or null |
|||
|
string or null |
|||
|
boolean |
|
||
|
string or integer or null |
LayerRegistration#
Request to register a layer descriptor with an adapter.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
|
minLength |
|
|
yes |
LayerSelection#
A layer chosen by collection and layer ID.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
LayerSnapshot#
The pinned layers and sources of a snapshot.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
|
minimum |
|
|
array of string |
maxItems |
||
|
array of SnapshotLayer |
yes |
minItems |
|
|
boolean |
yes |
||
|
array of SourcePin |
yes |
maxItems |
LayerSnapshotRequest#
Request to pin the current state of up to 16 layers.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of LayerSelection |
yes |
minItems |
|
|
integer |
|
minimum |
|
|
integer |
|
minimum |
|
|
boolean |
|
LayerSnapshotView#
A stored snapshot and its ID.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
yes |
LayerVectorQuery#
Vector queries against a retrieval corpus, used as a condition of a semantic query.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
integer |
|
minimum |
|
|
string |
yes |
minLength |
|
|
map of array of number |
yes |
||
|
string or null |
LayerWriteReceipt#
Result of a write: the new watermark and the revision of each record.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
map of string |
yes |
||
|
integer |
yes |
LexicalCondition#
A text condition on a property: all or any of the words in text.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
|
||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
MaintenanceAction#
Request to pause or resume maintenance.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
yes |
MaintenanceBinding#
Binds an embedding space to the execution setup that fills it.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
MaintenanceConfigure#
Request to configure maintenance: selection, one binding per space, and the scan interval in seconds.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of MaintenanceBinding |
yes |
minItems |
|
|
integer |
|
minimum |
|
|
yes |
MaintenanceSelection#
What a maintained corpus follows: a catalog or GKB scope, narrowed by filters.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
one of |
yes |
||
|
array of RetrievalFilter |
maxItems |
||
|
string |
yes |
minLength |
MaintenanceView#
Maintenance configuration plus its owner, version, pause state, phase and last completed scan.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of MaintenanceBinding |
yes |
minItems |
|
|
number or null |
|||
|
string or null |
|||
|
string or null |
|||
|
integer |
|
minimum |
|
|
string |
yes |
||
|
boolean |
yes |
||
|
string |
yes |
||
|
yes |
|||
|
integer |
yes |
||
|
integer |
yes |
MediaAsset#
One image or file of a catalog record that can be previewed or inspected, with its roles, media type and size.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
string |
yes |
||
|
string |
yes |
||
|
string |
yes |
||
|
string or null |
|||
|
number or null |
|||
|
array of one of |
yes |
||
|
string or null |
MediaGeoreferencing#
Whether a record’s pixels can be georeferenced, how, and in which CRS.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
one of |
yes |
||
|
string or null |
|||
|
one of |
yes |
MediaHistogram#
Per-band histograms of a record.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of MediaHistogramBand |
yes |
||
|
integer |
yes |
minimum |
|
|
array of string |
yes |
||
|
array of string |
yes |
||
|
integer |
yes |
minimum |
|
|
boolean |
yes |
||
|
|
yes |
||
|
array of array of integer |
yes |
MediaHistogramBand#
Statistics and histogram of one band.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
array of integer |
yes |
minItems |
|
|
array of number |
yes |
minItems |
|
|
number |
yes |
||
|
number |
yes |
||
|
number |
yes |
||
|
number |
yes |
minimum |
MediaInspection#
Raster details of a record: size, bands, data types, nodata and georeferencing.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of MediaAsset |
|
||
|
integer |
yes |
minimum |
|
|
array of string |
yes |
||
|
array of string |
yes |
||
|
integer |
yes |
minimum |
|
|
string |
yes |
||
|
string |
yes |
||
|
string or null |
|||
|
string or null |
|||
|
array of string |
yes |
||
|
string or null |
|||
|
array or null |
|||
|
||||
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
|
|
string |
yes |
||
|
boolean |
yes |
||
|
integer or number or null |
|||
|
string or null |
|||
|
string |
yes |
||
|
string or null |
|||
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
MediaPixel#
Pixel values at one position, and its longitude and latitude when georeferenced.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array or null |
|||
|
boolean |
yes |
||
|
array of integer or number |
yes |
minItems |
|
|
array of integer or number |
yes |
minItems |
|
|
integer |
yes |
minimum |
|
|
integer |
yes |
minimum |
MessageReference#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
string |
yes |
minLength |
|
|
string or null |
|||
|
yes |
MessageReferenceKind#
Type: one of "catalog_record", "gkb_artifact"