REST schemas ArtifactQueryResponse to CollectionPage#
Request and response bodies of the REST API.
ArtifactQueryResponse#
Hits of a GKB query and the access path that served them.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of KnowledgeHit |
|
ArtifactValidation#
Result of validating Markdown: valid, the errors, and for valid input the artifact ID, content hash and metadata.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string or null |
|||
|
string or null |
|||
|
array of string |
|
||
|
array of ExtensionValidation |
|
||
|
object or null |
|||
|
boolean |
yes |
Body_create_agent_import_v1_agent_imports_post#
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
Native agent-root .tar.gz |
|
|
string or null |
|||
|
string |
yes |
minLength |
|
|
string or null |
|||
|
string or null |
CatalogBrowseRequest#
Ordered, paged listing of a collection’s records, optionally filtered; sort_by is a metadata field path.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
string or null |
|||
|
object |
|||
|
integer |
|
minimum |
|
|
string |
|
||
|
one of |
|
||
|
string or null |
CatalogBrowseResponse#
A page of records with the cursor for the next page and the total count.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogRecord |
|
||
|
string or null |
|||
|
integer |
|
minimum |
CatalogCollectionStats#
A collection’s record count, spatial bounds and acquisition time range.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string (date-time) or null |
|||
|
string (date-time) or null |
|||
|
array or null |
|||
|
string |
yes |
||
|
integer |
|
minimum |
CatalogDirectoryIngestRequest#
Request to ingest a directory the server can read, in batches (default 16, at most 64).
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
|
minimum |
|
|
string |
yes |
minLength |
|
|
boolean |
|
CatalogEvent#
One change to a catalog record, as the catalog’s outbox stores it.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
object or null |
|||
|
object or null |
|||
|
string |
yes |
||
|
string |
yes |
||
|
string (date-time) |
yes |
||
|
string or null |
|||
|
integer |
yes |
minimum |
|
|
|
yes |
CatalogEventPage#
Events after the requested revision, oldest first.
latest is the collection’s newest revision and earliest the oldest one the feed still keeps (null when it keeps none).
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer or null |
|||
|
array of CatalogEvent |
yes |
||
|
integer |
yes |
minimum |
CatalogFacetRequest#
Request for value counts of up to 64 metadata fields, optionally filtered.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of string |
yes |
minItems |
|
|
object |
|||
|
integer |
|
minimum |
CatalogFacetResponse#
Facet value counts per field, the number of matching records and the share of records covered per field.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
map of number |
|||
|
map of array of FacetValue |
|||
|
integer |
yes |
minimum |
CatalogHit#
A search result: a record’s ID, collection, score, rank and content.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
object or null |
|||
|
string |
yes |
||
|
object |
|||
|
integer or null |
|||
|
number or null |
|||
|
string or null |
|||
|
string or null |
CatalogIngestReceipt#
Result of an ingest: how many records were accepted and persisted, and whether it replayed an earlier request.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
boolean |
|
||
|
integer |
yes |
minimum |
|
|
array of string |
|
||
|
array of string |
|
CatalogIngestRequest#
Request to ingest 1 to 500 records into a collection; record IDs must be unique within the batch.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of CatalogRecordDraft |
yes |
minItems |
CatalogMediaAssetDraft#
A zero-copy media asset stored relative to its SAFE product root.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
integer |
yes |
minimum |
|
|
string or null |
|||
|
boolean |
|
||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string or null |
|||
|
string |
yes |
minLength |
|
|
number or null |
|||
|
array of one of |
yes |
minItems |
|
|
string or null |
|||
|
string or null |
|||
|
string or null |
CatalogMediaManifestDraft#
Private zero-copy mapping from a catalog product to existing image files.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogMediaAssetDraft |
yes |
minItems |
|
|
string or null |
|||
|
|
|||
|
string |
|
||
|
string or null |
|||
|
string or null |
|||
|
string or null |
|||
|
string |
yes |
minLength |
|
|
string or null |
|||
|
integer or null |
|||
|
string or null |
CatalogRecord#
A catalog record: its ID, collection, text, metadata, geometry and acquisition time.
Storage details are not exposed; source_uri is a remote URI or an opaque catalog:// locator.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string (date-time) or null |
|||
|
string |
yes |
||
|
object or null |
|||
|
string |
yes |
||
|
object |
|||
|
string or null |
|||
|
string or null |
CatalogRecordBatchRequest#
Request for up to 500 records of a collection by ID.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
||
|
array of string |
yes |
minItems |
CatalogRecordBatchResponse#
Records found for a batch request and the IDs that were not found.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogRecord |
|
||
|
array of string |
|
CatalogRecordDraft#
A record to ingest, optionally with a media manifest.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string (date-time) or null |
|||
|
object or null |
|||
|
string |
yes |
maxLength |
|
|
CatalogMediaManifestDraft or null |
|||
|
object |
|||
|
string or null |
|||
|
string or null |
CatalogScanRequest#
Request for one page of a full scan of a catalog collection, optionally limited by exact metadata filters.
Supported filters are sensor, platform, instrument, product and modality.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
string or null |
|||
|
object |
|||
|
integer |
|
minimum |
CatalogScanResponse#
A page of catalog records and the cursor for the next page, or None at the end.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogRecord |
yes |
||
|
string or null |
yes |
CatalogSearchPageResponse#
Search hits with the total match count.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogHit |
|
||
|
string or null |
|||
|
integer |
|
minimum |
CatalogSearchRequest#
Search of one collection by text, metadata filters, bounding box and time range.
Filter conditions use exists, gte, lte, gt, lt, contains or one_of. A filename filter, or text that is a full .SAFE name, selects exactly that product.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array or null |
|||
|
string |
yes |
||
|
string or null |
|||
|
object |
|||
|
integer |
|
minimum |
|
|
string or null |
|||
|
string (date-time) or null |
|||
|
string (date-time) or null |
CatalogSearchResponse#
Search hits and the cursor for the next page.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CatalogHit |
|
||
|
string or null |
CollectionCreate#
Request to create a collection.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
|
maxLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
CollectionInfo#
A catalog collection with its record count and status.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
object |
|||
|
string |
yes |
||
|
integer |
|
minimum |
|
|
string |
|
CollectionLayer#
A layer of a collection: its schema, authority, policy and capabilities.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
string |
yes |
minLength |
|
|
array of string |
maxItems |
||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
object |
yes |
||
|
object |
|||
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
|
|
string |
yes |
minLength |
CollectionList#
Collections returned by GET /v1/catalog/collections.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CollectionInfo |
|
||
|
string or null |
CollectionPage#
A page of collections; pass next_cursor to continue.
Field |
Type |
Required |
Default |
Description |
|---|---|---|---|---|
|
array of CollectionView |
yes |
maxItems |
|
|
string or null |