Skip to main content
Version: 1.14

REGARDS Processing Plugin API

GET /processplugins/config

Allows to list existing plugin configurations corresponding to defined processes.

Parameters

NameLocated inDescriptionRequiredSchema
processNameLikequeryA regexp matching the process names / plugin configuration labels to returnNostring

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"pluginConfiguration": {
"id": 0,
"metaData": {
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"unconfigurable": true,
"sensible": true
}
]
},
"pluginId": "string",
"label": "string",
"businessId": "string",
"version": "string",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"dynamic": true,
"name": "string",
"value": {},
"type": "STRING"
}
],
"iconUrl": "string",
"interfaceNames": [
"string"
],
"pluginClassName": "string",
"identifiable": true
},
"rights": {
"role": "string",
"datasets": [
{}
],
"linkedToAllDatasets": true
},
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
]
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

POST /processplugins/config

Allows to create a new process / plugin configuration.

Request

Parameters

Not applicable.

Body

Sample body:

{
"pluginConfiguration": {
"id": 0,
"metaData": {
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"sensitive": true,
"unconfigurable": true,
"sensible": true
}
],
"licence": "string"
},
"pluginId": "string",
"label": "string",
"businessId": "string",
"version": "string",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"dynamic": true,
"name": "string",
"value": {},
"type": "STRING"
}
],
"iconUrl": "string",
"interfaceNames": [
"string"
],
"isActive": true,
"pluginClassName": "string",
"identifiable": true
},
"rights": {
"role": "string",
"datasets": [
{}
],
"linkedToAllDatasets": true
}
}

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"pluginConfiguration": {
"id": 0,
"metaData": {
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"unconfigurable": true,
"sensible": true
}
]
},
"pluginId": "string",
"label": "string",
"businessId": "string",
"version": "string",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"dynamic": true,
"name": "string",
"value": {},
"type": "STRING"
}
],
"iconUrl": "string",
"interfaceNames": [
"string"
],
"pluginClassName": "string",
"identifiable": true
},
"rights": {
"role": "string",
"datasets": [
{}
],
"linkedToAllDatasets": true
},
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
]
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

GET /processplugins/config/{processBusinessId}

Access to a process / plugin configuration from its business UUID.

Parameters

NameLocated inDescriptionRequiredSchema
processBusinessIdpathThe plugin business IDYesstring (uuid)

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"pluginConfiguration": {
"id": 0,
"metaData": {
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"unconfigurable": true,
"sensible": true
}
]
},
"pluginId": "string",
"label": "string",
"businessId": "string",
"version": "string",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"dynamic": true,
"name": "string",
"value": {},
"type": "STRING"
}
],
"iconUrl": "string",
"interfaceNames": [
"string"
],
"pluginClassName": "string",
"identifiable": true
},
"rights": {
"role": "string",
"datasets": [
{}
],
"linkedToAllDatasets": true
},
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
]
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

PUT /processplugins/config/{processBusinessId}

Update a process / plugin configuration for the given business ID.

Parameters

NameLocated inDescriptionRequiredSchema
processBusinessIdpathThe process / plugin configuration business IDYesstring (uuid)

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"pluginConfiguration": {
"id": 0,
"metaData": {
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"unconfigurable": true,
"sensible": true
}
]
},
"pluginId": "string",
"label": "string",
"businessId": "string",
"version": "string",
"priorityOrder": 0,
"active": true,
"parameters": [
{
"dynamic": true,
"name": "string",
"value": {},
"type": "STRING"
}
],
"iconUrl": "string",
"interfaceNames": [
"string"
],
"pluginClassName": "string",
"identifiable": true
},
"rights": {
"role": "string",
"datasets": [
{}
],
"linkedToAllDatasets": true
},
"links": [
{
"rel": "string",
"href": "string",
"hreflang": "string",
"media": "string",
"title": "string",
"type": "string",
"deprecation": "string",
"profile": "string",
"name": "string"
}
]
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

DELETE /processplugins/config/{processBusinessId}

Delete a process / plugin configuration given from its business ID.

Parameters

NameLocated inDescriptionRequiredSchema
processBusinessIdpathThe process / plugin configuration business IDYesstring (uuid)

Responses

CodeDescription
200default response
500default response

Sample 200 response body:


Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

PUT /processplugins/config/{processBusinessId}?userRole={role}

Parameters

NameLocated inDescriptionRequiredSchema
processBusinessIdpathThe process / plugin configuration business IDYesstring (uuid)
userRolequeryThe new minimal user role for this process / plugin configurationYesstring

Responses

CodeDescription
200default response
500default response

Sample 200 response body:


Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

POST /processplugins/fordatasets

List all the processes attached to the given datasets, grouped by dataset.

Request

Body

The body is a list of dataset URNs.

Sample body:

[
"URN:DATASET:...",
"URN:DATASET:..."
]

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

{
"URN:DATASET:...": [
{
"processBusinessId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string"
}
]
}

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

GET /processplugins/linkprocessdataset/{datasetIpId}

Find processes attached to the given dataset.

Parameters

NameLocated inDescriptionRequiredSchema
datasetIpIdpathThe dataset identifier (URN)Yesstring

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"processBusinessId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"label": "string"
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

PUT /processplugins/linkprocessdataset/{datasetIpId}

Attach the given dataset (as a URL path param) to all the given processes (as a list of process business IDs in the request body).

Request

Parameters

NameLocated inDescriptionRequiredSchema
datasetIpIdpathThe dataset ID (URN)Yesstring

Body

Sample body:

[
"87f0f7c2-5d89-4b37-bf02-6439f927ceca",
"b51e4aef-447f-43c5-ae35-2b9de55bfa89"
]

Responses

CodeDescription
200default response
500default response

Sample 200 response body:


Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}

GET /processplugins/metadata

Get the list of process plugins found on the classpath.

Responses

CodeDescription
200default response
500default response

Sample 200 response body:

[
{
"pluginClassName": "string",
"interfaceNames": [
"string"
],
"author": "string",
"pluginId": "string",
"version": "string",
"description": "string",
"markdown": "string",
"url": "string",
"contact": "string",
"owner": "string",
"license": "string",
"parameters": [
{
"name": "string",
"keyLabel": "string",
"label": "string",
"description": "string",
"markdown": "string",
"parameterizedSubTypes": [
"STRING"
],
"type": "STRING",
"pluginType": "string",
"defaultValue": "string",
"optional": true,
"unconfigurable": true,
"sensible": true
}
]
}
]

Sample 500 response body:

{
"errorId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"message": "string",
"time": "2020-12-31T00:00:00Z"
}