APIs
Gateway server APIs are the main request endpoints for Rierino platform, when deployed in full.
Request APIs
Basic request passed on to the [channel] executor, on [path], where URL parameters are used to populate payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Full body request where [data] URL parameter can contain all details, including origin, auth and payload as a Json string.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productJson string representation of a request
{origin:{}, auth:{}, payload:{}}OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Full body request where [data] URL parameter can contain all details, including origin, auth and payload as a base64 encoded Json string.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productBase64 encoded Json string representation of a request
e29yaWdpbjp7fSwgYXV0aDp7fSwgcGF5bG9hZDp7fX0=OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where body is used to populate payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where body provides full details, including origin, auth and payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where body is a base64 string encoded Json, which provides full details, including origin, auth and payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productBase64 encoding of Json body with origin, auth and payload
OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where body is used to populate payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where body is used to populate payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Basic request passed on to the [channel] executor, on [path], where URL parameters are used to populate payload.
Gateway channel for execution
crudPath for calling specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Auth APIs
Receives a registration payload as body, which can include user details (such as name, surname). If [thru] is true, registers a new user with the authentication server. Otherwise resolves provided access token to register an existing user record with the back-end services. In both scenarios, register endpoint is called on [type] execution channel.
Gateway channel for authentication
crudType of authentication to use
customerWhether request should be passed on to authentication servers too
falseExample: trueOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Logs a user into the system, returning gateway tokens. If [thru] is true, logs in the user with the authentication server first. Otherwise resolves provided access token to login an existing user record with the back-end services. In both scenarios, login endpoint is called on [type] execution channel. If [cookie] is true, tokens are returned as cookie values. If [remember] is true, refresh token expire in longer duration.
Gateway channel for authentication
crudType of authentication to use
customerWhether request should be passed on to authentication servers too
falseExample: trueWhether tokens should be returned in cookies
falseExample: trueWhether tokens should have longer expirations
falseExample: trueOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Refreshes gateway tokens using refresh tokens, also calling refresh endpoint on [type] execution channel. If [cookie] is true, tokens are returned as cookie values.
Gateway channel for authentication
crudType of authentication to use
customerWhether tokens should be returned in cookies
falseExample: trueOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Logs out users from the system, clearing gateway tokens. If [thru] is true, logs out the user from the authentication server as well. If [cookie] is true, cleared tokens are returned as cookie values.
Gateway channel for authentication
crudType of authentication to use
customerWhether request should be passed on to authentication servers too
falseExample: trueWhether tokens should be returned in cookies
falseExample: trueOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Deletes a user from the system. If [thru] is true, deletes the user from the authentication server as well. In both scenarios, delete endpoint is called on [type] execution channel. If [cookie] is true, cleared tokens are returned as cookie values.
Gateway channel for authentication
crudType of authentication to use
customerWhether request should be passed on to authentication servers too
falseExample: trueWhether tokens should be returned in cookies
falseExample: trueOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Tracker APIs
Posts an event to tracking service and topic, as if it is the response from an API call on [channel] and [path], where request body represents the event payload. Received data is subject to same checks and transformations of a gateway request, meaning it will be authenticated, sessionized and its headers and cookies will be used to enrich request metadata.
Gateway channel as origin of event
crudPath for registering specific action / saga on gateway channel
productOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
File APIs
Returns list of files in [service] file system under path assigned to current user id or "anonymous".
File system to use for operations
default_hdfsOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Downloads file from [filePath] in [service] file system under path assigned to current user id or "anonymous", as application/octet-stream.
File system to use for operations
default_hdfsRelative path to selected file
test/sample.jsonOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Uploads a new file with globally unique name in [service] file system under path assigned to current user id or "anonymous".
File system to use for operations
default_hdfsOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Uploads a new file with on [filePath] in [service] file system under path assigned to current user id or "anonymous".
File system to use for operations
default_hdfsRelative path to selected file
test/sample.jsonOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Deletes file from [filePath] in [service] file system under path assigned to current user id or "anonymous".
File system to use for operations
default_hdfsRelative path to selected file
test/sample.jsonOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Control APIs
Issues SHOW command for [component] and [id], returning its current settings. If [id] is *, all component values are listed for the [component].
Gateway component type to apply command on
systemGateway component id to apply command on
kafka_defaultOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Issues REFRESH command for [component] and [id] and returns its new settings.
Gateway component type to apply command on
systemGateway component id to apply command on
kafka_defaultOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Receives [command], [component] (such as system, channel, service, token) and [id] parameters in body to execute REFRESH or SHOW commands.
REFRESHsystemkafka_defaultOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Command APIs
Sends a command provided in request body to the default command service and topic.
OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Sends a command provided in request body to the [path] command topic.
Path for issuing commands
command_backupOK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Message APIs
Sends a message provided in request body to [topic] on [service]. If [key] is specified, it is used as the message key on target topic, as well as in calculating the partition id.
Kafka service name to send message
kafka_defaultKafka topic name to send message
triggerMessage key for sending message
10001OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Sends a message provided in request body to [topic] on [service] on partition [key] modulo [mod].
Kafka service name to send message
kafka_defaultKafka topic name to send message
triggerMessage key for sending message
10001Module for finding topic partition
10OK
No content
Authorization information is missing or invalid.
User does not have the required role for access.
Server failed to process request due to internal errors.
Feature is not implemented by the server.
No content
Last updated
