- Title: Multi-Tenant Catalogs Endpoint
- Conformance Classes:
https://api.stacspec.org/v1.0.0/core(required)https://api.stacspec.org/v1.0.0/multi-tenant-catalogs(required)https://api.stacspec.org/v1.0.0/item-search(required IF implementing scoped search)https://api.stacspec.org/v1.0.0/multi-tenant-catalogs/search(optional)https://api.stacspec.org/v1.0.0/multi-tenant-catalogs/transaction(optional)https://api.stacspec.org/v1.0.0/children(recommended)https://api.stacspec.org/v1.0.0/children#type-filter(optional; required if implementing?typefiltering)https://api.stacspec.org/v1.0.0/multi-tenant-catalogs#collection-search(optional; binds advertised STAC API Collection Search conformance classes to the scoped collections listing)
- Scope: STAC API - Core
- Extension Maturity Classification: Proposal
- Dependencies:
- STAC API - Core
- STAC API - Collections
- STAC API - Children
- STAC API - Collection Search (Optional; defines the parameter semantics bound by
#collection-search) - STAC API - Item Search (Required if implementing scoped search)
- STAC API - Transaction (Reference pattern)
- Owner: @jonhealy1
This extension introduces a Recursive Catalog Endpoint (/catalogs) to the STAC API, enabling a Multi-Tenant architecture.
It adds a dedicated registry for logical sub-catalogs, allowing a single API instance to serve multiple, distinct catalog trees. Unlike the standard flat STAC structure (Root -> Collections), this extension enables a deep, Recursive Hierarchy, where catalogs can contain nested sub-catalogs for unlimited organizational depth (e.g., Provider -> Theme -> Year -> Project).
While technically "Multi-Tenant" (capable of hosting isolated providers), this architecture inherently supports Virtual Organization. It allows Collections to be shared across multiple catalogs simultaneously (Poly-hierarchy), enabling users to create curated "playlists," semantic themes, or project-specific views without duplicating the underlying data.
This extension is not just for viewing hierarchy; it provides an Optional Transactional Management Plane to build it.
APIs designed strictly for public, read-only discovery SHOULD NOT implement the /transaction conformance class or expose the POST, PUT, and DELETE endpoints. If an implementation chooses to support the Management Plane, it MUST advertise the .../multi-tenant-catalogs/transaction conformance class and define endpoints to:
- Create arbitrary catalog structures.
- Link existing collections to multiple parents (Poly-hierarchy).
- Update metadata and organization dynamically.
A core tenet of this extension is Data Safety. It strictly separates "Organization" from "Data."
- The
/catalogsendpoints are for Organization: Operations here (like deleting a catalog) are Non-Destructive. You can disband a catalog or unlink a collection, and the extension guarantees that no actual data (Collections or Items) is ever deleted. If a resource is unlinked from its last parent, it is automatically adopted by the Root Catalog to prevent data loss. - The
/collectionsendpoints are for Data: Actual destruction of data is reserved for the core STAC API endpoints.
Note on Dynamic Linking: To ensure data consistency, support poly-hierarchy, and accommodate flat URL routing, implementations SHOULD NOT persist static rel="child" or rel="parent" link objects in the database.
Instead, implementations SHOULD maintain a backend mapping of parent-child relationships (e.g., an array of parent_ids on the catalog record) and dynamically generate the rel="parent", rel="child", and rel="related" HATEOAS links at runtime based on the requested endpoint.
| Method | URI | Description |
|---|---|---|
GET |
/catalogs |
The Registry. Lists all available sub-catalogs. |
GET |
/catalogs/{catalogId} |
Sub-Catalog Root. Acts as the Landing Page for the provider. |
GET |
/catalogs/{catalogId}/conformance |
Conformance classes specific to this sub-catalog. |
GET |
/catalogs/{catalogId}/queryables |
Filter Extension. Lists the queryable fields for filtering items in this sub-catalog. OPTIONAL. Expose only if /catalogs/{catalogId}/conformance lists the Filter class (http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter). |
GET |
/catalogs/{catalogId}/search |
Scoped Search. Performs a STAC search strictly bounded to this catalog's descendant tree. |
POST |
/catalogs/{catalogId}/search |
Scoped Search. Performs a STAC search strictly bounded to this catalog's descendant tree. |
GET |
/catalogs/{catalogId}/children |
Children (Recommended). Lists all child resources (Catalogs and Collections). Expose this endpoint only if the API advertises the https://api.stacspec.org/v1.0.0/children conformance class. Filtering via ?type=Catalog or ?type=Collection additionally requires the https://api.stacspec.org/v1.0.0/children#type-filter conformance class. |
GET |
/catalogs/{catalogId}/catalogs |
Sub-Catalogs List. Lists only the child catalogs of this catalog (for hierarchy traversal). |
GET |
/catalogs/{catalogId}/collections |
Scoped Collections List. Lists the collections directly linked to this sub-catalog. The STAC Collection Search parameters apply if the API advertises the https://api.stacspec.org/v1.0.0/multi-tenant-catalogs#collection-search conformance class — see Scoped Collection Listing. |
GET |
/catalogs/{catalogId}/collection-queryables |
Collection Search queryables for the scoped collections listing (recommended path; the queryables link is authoritative and the path is implementation-chosen). Applies only when collection-search#filter is bound via the #collection-search marker class. |
GET |
/catalogs/{catalogId}/collection-sortables |
Collection Search sortables for the scoped collections listing (recommended path; the sortables link is authoritative and the path is implementation-chosen). Applies only when collection-search#sortables is bound via the #collection-search marker class. |
GET |
/catalogs/{catalogId}/collections/{collectionId} |
Gets a specific collection definition. |
GET |
/catalogs/{catalogId}/collections/{collectionId}/queryables |
Filter Extension. Lists the queryable fields for filtering items in this collection. OPTIONAL. Expose only if /catalogs/{catalogId}/conformance lists the Filter class (http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter). |
GET |
/catalogs/{catalogId}/collections/{collectionId}/items |
Item Search. Fetches items from this specific collection. |
GET |
/catalogs/{catalogId}/collections/{collectionId}/items/{itemId} |
Gets a single specific item. |
GET /catalogs/{catalogId}/collections is the catalog-scoped counterpart of
the STAC /collections listing. It returns the collections directly
linked to {catalogId} — the same set exposed through the catalog's
rel="child" links and the /catalogs/{catalogId}/children endpoint.
Collections reachable only through descendant sub-catalogs are discoverable
via the scoped search endpoints or via
the descendant catalogs' own scoped listings.
Rather than redefining query parameters, this extension reuses the
STAC API - Collection Search
extension. The
https://api.stacspec.org/v1.0.0/multi-tenant-catalogs#collection-search
conformance class acts as a binding marker: when advertised, the
Collection Search conformance classes the API advertises also apply to this
scoped endpoint:
| Bound upstream conformance class | Parameters |
|---|---|
collection-search (base class) |
bbox, datetime |
collection-search#free-text (or #advanced-free-text) |
q |
collection-search#filter |
filter, filter-lang, filter-crs |
collection-search#sort |
sortby |
collection-search#sortables |
Sortables endpoint & link (no parameters) |
collection-search#fields |
fields |
Binding is per parameter group — it is not all-or-nothing — and matches on
the conformance class regardless of its version segment. Implementations
advertise different releases of these classes (e.g.,
https://api.stacspec.org/v1.0.0/collection-search vs
.../v1.0.0-rc.1/collection-search#filter), so the marker binds whichever
version of each class the API advertises.
The upstream base class also presumes
http://www.opengis.net/spec/ogcapi-common-2/1.0/conf/simple-query, and
#filter presumes a CQL2 conformance class
(http://www.opengis.net/spec/cql2/1.0/conf/cql2-text or .../cql2-json);
advertise these alongside the classes above as applicable.
- An implementation MUST only accept Collection Search parameters on this
endpoint if it advertises the marker class, and each parameter group
applies only when the corresponding upstream conformance class is also
advertised. The marker class MUST be advertised in the Global Root (
/) landing pageconformsTo, and SHOULD also be listed byGET /catalogs/{catalogId}/conformance. - The upstream
collection-searchbase class MUST be advertised whenever any Collection Search parameter group is bound: the optional#free-text,#filter,#sort, and#fieldsclasses are defined only as additions to the base parameter set, so an implementation binding any of them MUST also implementbbox,datetime, andlimiton this endpoint. limitandtokenare pagination primitives of this endpoint, not Collection Search bindings: implementations MAY accept them regardless of the marker class, thoughlimitbecomes REQUIRED once the base class is bound, since upstream mandates it alongsidebboxanddatetime. If a Collection Search parameter other thanlimitortokenis received while its parameter group is not bound, the implementation SHOULD return400 Bad Requestrather than silently ignoring the constraint, so clients are not misled into believing it was applied.- Parameter syntax, defaults, and matching semantics are exactly as defined
by the upstream extension, with one addition: all constraints are ANDed
onto the catalog scope. A
bbox,datetime,q, orfilterconstraint narrows the set of collections directly linked to{catalogId}and MUST NOT cause collections outside that scope to be exposed. - Pagination follows standard STAC conventions (
first,prev,next,lastlinks);limitconstrains the page size. - If
collection-search#filteris bound, the responselinksarray MUST include a link withrel="http://www.opengis.net/def/rel/ogc/1.0/queryables"andtype="application/schema+json"pointing to a Collection Search queryables endpoint. The link is normative and the path is implementation-chosen, as upstream; this extension RECOMMENDS/catalogs/{catalogId}/collection-queryablesbecause/catalogs/{catalogId}/queryablesalready serves the item-level Filter Extension queryables. - If
collection-search#sortablesis bound, the responselinksarray MUST include a link withrel="http://www.opengis.net/def/rel/ogc/1.0/sortables"andtype="application/schema+json"pointing to a Collection Search sortables endpoint. The link is normative and the path is implementation-chosen (upstream defines no fixed sortables path); this extension RECOMMENDS/catalogs/{catalogId}/collection-sortables. If#sortis bound without#sortables, an implementation SHOULD return400 Bad Requestwhen asortbyfield is not sortable. - Scoped queryables and sortables schemas SHOULD NOT expose
hierarchy-management fields (e.g.,
parent_ids) or other fields that would reveal a collection's membership in catalogs the caller cannot access. - Unlike STAC Item Search, the Collection Search binding on
/catalogs/{catalogId}/collectionsapplies strictly toGETrequests.POST /catalogs/{catalogId}/collectionsremains reserved for the Transaction Extension (collection creation and linking) and MUST NOT accept search request bodies.
Because parameter groups are bound through the upstream conformance
classes, this binding presumes the API also serves GET /collections
under Collection Search — advertising the upstream classes without that
endpoint would claim conformance the implementation cannot satisfy.
Advertising only the marker class binds no search parameters.
These endpoints allow for the dynamic creation and deletion of the federation structure.
Note: These endpoints are OPTIONAL and MUST only be exposed if the API advertises the .../multi-tenant-catalogs/transaction conformance class.
| Method | URI | Description |
|---|---|---|
POST |
/catalogs |
Create Root Catalog. Registers a new top-level catalog. |
PUT |
/catalogs/{catalogId} |
Update Catalog. Updates metadata (Title, Description). Safety: Preserves existing hierarchy links. |
DELETE |
/catalogs/{catalogId} |
Disband Catalog. Removes a sub-catalog. Safety: Never deletes linked collections. |
POST |
/catalogs/{catalogId}/catalogs |
Link or Create Sub-Catalog. Links an existing catalog OR creates a new one. |
DELETE |
/catalogs/{catalogId}/catalogs/{subCatalogId} |
Unlink Sub-Catalog. Removes the link to the sub-catalog. Safety: Does not delete the sub-catalog. |
POST |
/catalogs/{catalogId}/collections |
Link or Create Collection. Links an existing collection OR creates a new one. |
PUT |
/catalogs/{catalogId}/collections/{collectionId} |
Update Collection. Updates metadata (Title, Description). Safety: Preserves existing hierarchy links. |
DELETE |
/catalogs/{catalogId}/collections/{collectionId} |
Unlink Collection. Removes the link from the parent catalog. Safety: Never deletes the collection data. |
If an implementation supports the Item Search conformance class, it MAY expose the scoped search endpoints (GET /catalogs/{catalogId}/search and POST /catalogs/{catalogId}/search).
If an implementation exposes these endpoints, it MUST advertise the https://api.stacspec.org/v1.0.0/multi-tenant-catalogs/search conformance class.
These endpoints MUST accept the exact same query parameters and JSON payloads as the core STAC /search endpoint, but their evaluation scope is strictly bound to the hierarchy of {catalogId}.
To properly support the recursive nature of the Multi-Tenant Catalogs extension, the scoped search MUST evaluate items from:
- All Collections directly linked as children of
{catalogId}. - All Collections linked to any descendant Sub-Catalog nested beneath
{catalogId}.
Security & Intersections: The API MUST ensure that users cannot escape the catalog boundary. If a user provides a collections array in their search payload, the API MUST compute the intersection of the user's requested collections and the catalog's allowed descendant collections. Any requested collections outside of the descendant tree MUST be ignored or result in an authorization error (403 Forbidden).
GET /catalogs/{catalogId}/conformance declares the conformance classes of the scoped endpoints under /catalogs/{catalogId}. STAC API - Core limits declared conformance classes to the catalog that declares them, so a sub-catalog can declare a different set from the Global Root.
- The response SHOULD list the conformance classes that the scoped endpoints implement. For example, if
/catalogs/{catalogId}/collectionsor the scoped search acceptsfilterorsortby, the response lists the matching Filter, CQL2 and Sort classes. - The response SHOULD NOT list classes that only the global endpoints implement. For example, an API that exposes
/aggregatebut no scoped aggregate endpoint leaves the Aggregation class out of this response. - If the Sub-Catalog Landing Page (
/catalogs/{catalogId}) includesconformsTo, it MUST list the same classes as/catalogs/{catalogId}/conformance.
This extension explicitly supports Poly-hierarchy, allowing a single STAC Collection or Catalog to belong to multiple Catalogs simultaneously.
Unlike a standard file system where a folder can only live in one path, this architecture allows for logical grouping across different dimensions without duplicating data.
- Example: A
Sentinel-2collection can be linked as a child of theUSGSCatalog (Provider) AND theOptical-DataCatalog (Theme). - Contextual Navigation (Scoped Route): When accessing a Collection via a scoped endpoint (e.g.,
/catalogs/{id}/collections/{col_id}), the API MUST generate exactly onerel="parent"link pointing exclusively back to that specific{catalogId}to preserve the user's current contextual breadcrumb trail in UI clients. Alternative parents in the poly-hierarchy MAY be exposed asrel="related"links. - Global Discovery (Global Route): When accessing a Collection via the global root endpoint (
/collections/{collectionId}), the API MUST generate exactly onerel="parent"link pointing to the Global Root (/). To expose the poly-hierarchy, the API MAY include arel="related"link for every Catalog that claims this collection as a child, provided the current authenticated user has read access to those parent catalogs.- If the API implements Role-Based Access Control (RBAC), it MUST filter out links to restricted catalogs to prevent information disclosure.
Implementations supporting the Transaction endpoints MUST adhere to the following behaviors:
- Body: Accepts a standard STAC Catalog JSON object.
- Behavior: The API creates the Catalog resource and makes it available in the
/catalogsregistry list.
- Body: Accepts a standard STAC Catalog JSON object.
- Behavior: Updates the metadata (Title, Description, etc.) of the catalog.
- Safety: This operation MUST NOT modify the structural links (
parent_ids) of the catalog unless explicitly handled, ensuring the catalog remains in its current hierarchy.
- Body: Accepts a standard STAC Collection JSON object.
- Behavior: Updates the metadata (Title, Description, etc.) of the collection within the scoped catalog context.
- Safety: This operation MUST NOT modify the structural links (
parent_ids) of the collection unless explicitly handled, ensuring the collection remains in its current hierarchy.
Note
The core STAC route (PUT /collections/{collectionId}) has no catalog context. To preserve the poly-hierarchy DAG structure, implementations SHOULD keep a collection's existing parent_ids when it is updated through the core route, so that an update through either route leaves the collection in its current hierarchy. The scoped route remains useful where write access is authorized per catalog, because it confirms that the collection belongs to {catalogId}. Where an implementation does not preserve parent_ids on the core route, clients SHOULD update collections through the scoped route.
This endpoint supports two distinct modes of operation: Creation and Linking.
- Body: A full STAC Catalog JSON object.
- Condition: The
idin the body does not currently exist in the database. - Behavior: Creates a new Catalog and links it as a child of
{catalogId}.
- Body: A JSON object containing only the
id. Example:{"id": "existing-catalog-id"}. - Condition: The
idalready exists in the database. - Behavior:
- Establishes Reciprocal Links: Adds
{catalogId}to the sub-catalog's internal parent list (which dynamically resolves torel="parent"orrel="related"links at read-time). - Returns
200 OKto indicate a successful link. - Error Handling: If the
iddoes not exist when using this minimal payload, the API MUST return404 Not Found. - Cycle Prevention: Implementations SHOULD reject links that create a circular reference (e.g., linking a parent as a child of itself).
- Establishes Reciprocal Links: Adds
- Behavior (Disband):
- The Catalog object
{id}is deleted from the database. - All Child Collections AND Child Sub-Catalogs linked to this catalog are Unlinked.
- Adoption: If an unlinked child (Collection or Catalog) has no other parents, it MUST be automatically adopted by the Root Catalog to ensure data/structure is preserved.
- Constraint: This operation MUST NOT delete Collection or Item data.
- The Catalog object
- Behavior (Unlink):
- The Sub-Catalog
{subId}is Unlinked from the parent Catalog{id}. - Safety: The Sub-Catalog resource itself is NOT deleted.
- Adoption: If the Sub-Catalog has no other parents (orphaned), it MUST be automatically adopted by the Root Catalog to ensure it remains discoverable.
- Constraint: This operation only removes the specific hierarchical link between
{id}and{subId}.
- The Sub-Catalog
This endpoint supports two distinct modes of operation: Creation and Linking.
- Body: A full STAC Collection JSON object.
- Condition: The
idin the body does not currently exist in the database. - Behavior: Creates a new Collection and links it as a child of
{catalogId}.
- Body: A JSON object containing only the
id. Example:{"id": "existing-collection-id"}. - Condition: The
idalready exists in the database. - Behavior:
- Does not overwrite the existing collection metadata.
- Establishes Reciprocal Links: Adds
{catalogId}to the collection's internal parent list (which dynamically resolves torel="parent"orrel="related"links at read-time). - Returns
200 OKto indicate a successful link (vs201 Createdfor new resources). - Error Handling: If the
iddoes not exist when using this minimal payload, the API MUST return404 Not Found.
This operation is strictly an Unlink action. It modifies the hierarchy but never destroys data.
- Behavior:
- Removes
{catalogId}from the collection's list of parents. - Removes the
rel="child"link from the Catalog{catalogId}. - Adoption Logic: If the collection has no other parents after this operation (i.e., it was only linked to this one catalog), it MUST be automatically linked to the Root Catalog. This ensures no data becomes "orphaned" or undiscoverable.
- Removes
- Response: Returns
204 No Content. - Safety Guarantee: This endpoint MUST NOT delete the Collection resource or its Items from the database. To permanently destroy a collection, the client must use the core
DELETE /collections/{collectionId}endpoint.
Proper linking is critical for clients to navigate the federation structure.
This is the entry point.
rel="catalogs": MUST point to the/catalogsendpoint (the registry).rel="service-desc": Points to the OpenAPI definition.
This resource acts as the Landing Page for the provider or a nested sub-folder.
rel="self": MUST point to/catalogs/{catalogId}.rel="parent": MUST point to exactly one immediate parent Catalog that this sub-catalog was accessed through. If it is a top-level sub-catalog, it MUST point to the Global Root (/).rel="related": If the catalog is part of a poly-hierarchy (has multiple parents), the API MAY include this link for all other parent catalogs to expose the broader graph.rel="root": MUST point to the Global Root (/) to maintain a single navigation tree.rel="child": MUST point to any immediate Sub-Catalogs (/catalogs/{subId}) AND any linked Collections (/catalogs/{catalogId}/collections/{collectionId}).rel="children": If the API implements thehttps://api.stacspec.org/v1.0.0/childrenconformance class, this MUST point to/catalogs/{catalogId}/childrenwhen the catalog containsrel="child"links (required by STAC API - Children v1.0.0).rel="search": MAY point to/catalogs/{catalogId}/searchif the API implements the scoped search functionality.
This resource represents a Collection accessible via the standard STAC core endpoint (flat, global discovery).
rel="self": MUST point to/collections/{collectionId}.rel="parent": MUST point to exactly one parent, which is the Global Root (/).rel="related": MAY include a link for every Sub-Catalog that claims this collection as a child, exposing the poly-hierarchy.rel="root": MUST point to the Global Root (/).
This resource, and all of its sub-resources, represents a Collection within the context of a specific Catalog. The rel="parent" link is locked to the scoped path to preserve contextual breadcrumb navigation.
rel="self": MUST point to/catalogs/{catalogId}/collections/{collectionId}.rel="parent": MUST point exclusively to/catalogs/{catalogId}(the specific parent through which the user navigated). It MUST NOT list other parents asrel="parent", as this breaks UI breadcrumbs.rel="related": MAY be included to expose the collection's alternative parents in the poly-hierarchy.rel="canonical": SHOULD point to the global/collections/{collectionId}endpoint, identifying it as the primary, authoritative URL for the resource regardless of which catalog it was accessed through.rel="duplicate": MAY be provided to point to other scoped paths where this identical resource can be accessed.
Note
Contextual vs. Global Navigation: The distinction between scoped and global endpoints is critical for STAC Browser and other UI clients. Scoped endpoints lock the breadcrumb trail to a single parent for clarity, while global endpoints expose the full poly-hierarchy graph. Implementations MUST respect this distinction when generating rel="parent" and rel="related" links.
Note
All sub-resources can be considered accordingly to other STAC API extensions that are implemented.
For example, if the Filter extension
is implemented and supports Queryables,
then rel="canonical" and rel="duplicate" links MAY be included in corresponding responses to map between scoped and global endpoints:
/catalogs/{catalogId}/collections/{collectionId}/queryables/collections/{collectionId}/queryables/queryables?collections={collectionId}
When the API implements an extension that defines a link on /collections/{collectionId}, such as the Filter queryables link, the Sort sortables link, or the Aggregation aggregate and aggregations links, the scoped collection SHOULD include the same link, with the rel that extension defines. The href MAY point to the global endpoint (for example /collections/{collectionId}/queryables), which the conformance classes of the Global Root cover, or to a scoped equivalent where the API exposes one (see Sub-Catalog Conformance). A scoped equivalent MAY use the global endpoint's path below /catalogs/{catalogId}, for example /catalogs/{catalogId}/collections/{collectionId}/sortables or /catalogs/{catalogId}/collections/{collectionId}/aggregations. This extension reserves only the queryables paths (see Filter Extension & Queryables).
Warning
The rel="duplicate" link is optional to allow implementations to omit the reference if such endpoints should be protected and hidden from clients. Otherwise, it is RECOMMENDED to provide these links for better interoperability and discoverability, allowing clients to deduplicate resources in their UIs.
This endpoint returns a JSON object structurally similar to a standard /collections response, but it contains a list of Catalog objects in a catalogs array.
{
"catalogs": [
{
"id": "catalog3",
"type": "Catalog",
"title": "Nested Sub-Catalog",
"description": "A nested catalog under catalog2.",
"stac_version": "1.0.0",
"links": [
{ "rel": "self", "href": "https://api.example.com/catalogs/catalog3" },
{ "rel": "root", "href": "https://api.example.com/" },
{ "rel": "parent", "href": "https://api.example.com/catalogs/catalog2" },
{ "rel": "children", "href": "https://api.example.com/catalogs/catalog3/children" },
{ "rel": "data", "href": "https://api.example.com/catalogs/catalog3/collections" },
{ "rel": "search", "href": "https://api.example.com/catalogs/catalog3/search", "type": "application/geo+json" }
]
},
{
"id": "esa-sentinel",
"type": "Catalog",
"title": "ESA Sentinel",
"description": "Sentinel collections provided by ESA.",
"stac_version": "1.0.0",
"links": [
{ "rel": "self", "href": "https://api.example.com/catalogs/esa-sentinel" },
{ "rel": "root", "href": "https://api.example.com/" },
{ "rel": "children", "href": "https://api.example.com/catalogs/esa-sentinel/children" },
{ "rel": "data", "href": "https://api.example.com/catalogs/esa-sentinel/collections" },
{ "rel": "search", "href": "https://api.example.com/catalogs/esa-sentinel/search", "type": "application/geo+json" }
]
}
],
"links": [
{
"rel": "self",
"href": "https://api.example.com/catalogs"
},
{
"rel": "root",
"href": "https://api.example.com/"
}
]
}The global root remains a standard STAC Landing Page. Note the addition of the rel="catalogs" link.
{
"stac_version": "1.0.0",
"type": "Catalog",
"id": "stac-api",
"title": "Standard STAC API with Multi-Tenancy",
"description": "A standard STAC API that also supports multi-tenant catalogs.",
"conformsTo": [
"https://api.stacspec.org/v1.0.0/core",
"https://api.stacspec.org/v1.0.0/multi-tenant-catalogs",
"https://api.stacspec.org/v1.0.0/multi-tenant-catalogs/search",
"https://api.stacspec.org/v1.0.0/multi-tenant-catalogs/transaction",
"https://api.stacspec.org/v1.0.0/children",
"https://api.stacspec.org/v1.0.0/children#type-filter"
],
"links": [
{
"rel": "self",
"type": "application/json",
"href": "https://api.example.com/"
},
{
"rel": "service-desc",
"type": "application/vnd.oai.openapi+json;version=3.0",
"href": "https://api.example.com/api"
},
{
"rel": "data",
"type": "application/json",
"href": "https://api.example.com/collections",
"title": "Global Collections List"
},
{
"rel": "catalogs",
"type": "application/json",
"href": "https://api.example.com/catalogs",
"title": "Multi-Tenant Catalogs Registry"
}
]
}This endpoint is RECOMMENDED and MUST only be exposed if the API advertises the https://api.stacspec.org/v1.0.0/children conformance class. It returns a list of both child Catalogs and child Collections, aligned with STAC API - Children v1.0.0. The response links array MUST include root, parent, and self links. Each entity in children MUST be a valid Catalog or Collection and MUST include a self link.
{
"children": [
{
"id": "sub-catalog-1",
"type": "Catalog",
"stac_version": "1.0.0",
"title": "A nested sub-catalog",
"description": "A nested sub-catalog.",
"links": [
{ "rel": "self", "href": "https://api.example.com/catalogs/sub-catalog-1" },
{ "rel": "root", "href": "https://api.example.com/" },
{ "rel": "parent", "href": "https://api.example.com/catalogs/c1" },
{ "rel": "children", "href": "https://api.example.com/catalogs/sub-catalog-1/children" }
]
},
{
"id": "collection-1",
"type": "Collection",
"stac_version": "1.0.0",
"title": "A child collection",
"description": "A child collection.",
"license": "proprietary",
"extent": {
"spatial": { "bbox": [[-180, -90, 180, 90]] },
"temporal": { "interval": [[null, null]] }
},
"links": [
{ "rel": "self", "href": "https://api.example.com/catalogs/c1/collections/collection-1" },
{ "rel": "root", "href": "https://api.example.com/" },
{ "rel": "parent", "href": "https://api.example.com/catalogs/c1" }
]
}
],
"links": [
{
"rel": "self",
"href": "https://api.example.com/catalogs/c1/children"
},
{
"rel": "root",
"href": "https://api.example.com/"
},
{
"rel": "parent",
"href": "https://api.example.com/catalogs/c1"
},
{
"rel": "next",
"href": "https://api.example.com/catalogs/c1/children?token=..."
}
]
}This example demonstrates a Collection accessed via a specific sub-catalog (forestry). It shows the single contextual parent, alternative parents via related, and the canonical global URL.
{
"id": "sentinel-2-l2a",
"type": "Collection",
"stac_version": "1.0.0",
"description": "Sentinel-2 Level-2A data.",
"links": [
{
"rel": "self",
"href": "https://api.example.com/catalogs/forestry/collections/sentinel-2-l2a"
},
{
"rel": "root",
"href": "https://api.example.com/"
},
{
"rel": "parent",
"href": "https://api.example.com/catalogs/forestry",
"title": "Forestry Catalog (Contextual Parent)"
},
{
"rel": "related",
"href": "https://api.example.com/catalogs/esa-optical",
"title": "ESA Optical Data (Alternative Parent)"
},
{
"rel": "canonical",
"href": "https://api.example.com/collections/sentinel-2-l2a",
"title": "Global Collection Endpoint"
},
{
"rel": "duplicate",
"href": "https://api.example.com/catalogs/esa-optical/collections/sentinel-2-l2a"
}
]
}This extension reserves the paths /catalogs/{catalogId}/queryables and /catalogs/{catalogId}/collections/{collectionId}/queryables to support the STAC Filter Extension within a sub-catalog context.
However, implementation of these endpoints is OPTIONAL.
- A sub-catalog MUST only expose these endpoints if
/catalogs/{catalogId}/conformancelists the Filter conformance class (http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter). See Sub-Catalog Conformance. - If implemented, the
/catalogs/{catalogId}/queryablesresponse must be scoped specifically to that sub-catalog. - If implemented, the
/catalogs/{catalogId}/collections/{collectionId}/queryablesresponse lists the queryable fields for filtering items in that collection, as/collections/{collectionId}/queryablesdoes for the global route.