blob: eaf9987b70591a56a5f3dc11a8002b0db29c3dcc [file] [log] [blame]
Ezhilarasidc19d792019-04-17 18:52:50 +05301.. This work is licensed under a Creative Commons Attribution 4.0 International License.
2.. http://creativecommons.org/licenses/by/4.0
3.. Copyright (C) 2019 IBM.
4
5Dynamic API
6-----------
7
8The nature of the API request and response is meant to be model driven and dynamic. They both share the same definition.
9
10The actionName, under the actionIdentifiers refers to the name of a Workflow (see workflow)
11
12The content of the payload is what is fully dynamic / model driven.
13
14The first top level element will always be either $actionName-request for a request or $actionName-response for a response.
15
16Then the content within this element is fully based on the workflow input and output.
17
18Here is how the a generic request and response look like.
19
20|image0|
21
22.. |image0| image:: media/dynamicapi.jpg
23 :height: 4.43750in
24 :width: 7.88889in