Skip to main content
Version: 2.0

Apply catalog service

Introduction

This section describes how to run a Catalog service on rs-catalog microservice.

REST API

How to

The Regards REST API concept describes how REST interfaces must be handled to submit requests.

Endpoint

EndpointVerb
/{pluginBusinessId}/applyPOST

Request body format

{
"entityType": "",
"searchRequest": {
"engineType": "",
"datasetUrn": "",
"searchParameters": {
},
"entityIdsToInclude": [],
"entityIdsToExclude": [],
"searchDateLimit": ""
},
"dynamicParamters": {
"paramter": "value"
}
}
ParameterTypeDescriptionMandatory
entityTypeStringEntity type on which apply service. Possible values are:
-DATA
-DATASET
-COLLECTION
True
searchRequestObjectSearch query to find productsTrue
searchRequest.engineTypeStringSearch engine type depends on available plugins. Possible values are legacy, stac and opensearchTrue
searchRequest.datasetUrnStringFilter search on a specific dataset by passing its URNFalse
searchRequest.searchParametersObjectSearch parameters depnds on engine type selectedTrue
searchRequest.entityIdsToIncludeList<String>List of unqiue identifiers to include in searchFalse
searchRequest.entityIdsToExcludeList<String>List of unqiue identifiers to exclude from searchFalse
searchRequest.searchDateLimitDateDeadline for the creation of products to be searched.False
dynamicParametersObjectList of key/values for specific plugin parameters. Key is the parameter name and value is the value of the parameterFalse
Example to aplly a download plugin with legcy engine
{
"entityType": "DATA",
"searchRequest": {
"engineType": "legacy",
"searchParameters": {
"q": "properties.valid: true AND properties.data_type: type01"
}
}
}