API of transformation engine (0.9.0)

Download OpenAPI specification:

The transformation engine API can be used to configure transformations.

Version

Returns the deployed application and helm package version

Responses

Response samples

Content type
application/json
{
  • "applicationVersion": "dev",
  • "chartVersion": "dev"
}

Transfo

List all registered transformations and their details.

Authorizations:
oidc

Responses

Response samples

Content type
application/json
[
  • {
    }
]

Create or update a transformation

Create and validate transformation.

If the transformation already exists, then update parameters.

Active transformations can't be updated.

Return a TransfoStatus Class whose describe parameters and show errors.

Authorizations:
oidc
Request Body schema: application/json
id
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...
Array of objects (NodeDto)
Array of objects (LinkDto)
title
string
description
string

Responses

Request samples

Content type
application/json
Example

Request body content all needed information ton create / update a transformation

{
  • "id": "9c99f2d5-6e33-4e18-825b-3352c631e431",
  • "title": "filtre station velos",
  • "links": [
    ],
  • "nodes": [
    ]
}

Response samples

Content type
application/json
Example
{
  • "errors": [ ],
  • "status": [
    ]
}

Retrieved information of a transformation.

Retrieve all transformation information referenced by given ID.

Authorizations:
oidc
path Parameters
id
required
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...

Responses

Response samples

Content type
application/json

This transformation is a filter.

{
  • "id": "9c99f2d5-6e33-4e18-825b-3352c631e431",
  • "nodes": [
    ],
  • "links": [
    ],
  • "title": "filtre station velos",
  • "nodeNumber": 3,
  • "creationDate": "2023-07-28 14:08:21",
  • "active": false
}

Delete a transformation

Delete the referenced transformation in given ID. Nodes and links are deleted too.

Authorizations:
oidc
path Parameters
id
required
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...

Responses

Create a Job Instance for the referenced transformation.

Activate the referenced transformation. That generates a job instance that will execute the transformation. If the transformation is invalid, an error message is returned. Also note that invalid transformation can't be activated.

Authorizations:
oidc
path Parameters
id
required
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...

Responses

Deactivation of a transformation.

Deactivate the referenced ID in the given parameters. Deactivate a transformation means delete all linked job instances. If any error is thrown jobs are not deleted.

Authorizations:
oidc
path Parameters
id
required
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...

Responses

Return transformation status.

Return all details about given transformation with ID parameter.

Authorizations:
oidc
path Parameters
id
required
string <uuid> (UUID) [a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-...

Responses

Response samples

Content type
application/json
{
  • "errors": [
    ],
  • "status": [
    ]
}