PubSub subsystem definition in X-Road context

From the perspective of X-Road both Management API and Messaging API will need to be registered as a subsystem and their API definition provided.

Both API’s will have endpoints accessible from the X-Road network (via the Security Server) however only Messaging API will communicate with the Security Server, using the X-Road REST protocol (https://docs.x-road.global/Protocols/pr-rest_x-road_message_protocol_for_rest.html ).

The OpenAPI declaration for Messaging API is:

 

The OpenAPI declaration for Management API is: