Get module names by channel
get
/apis/spark-v1/v2/modules/{channel}/names
Returns a list of modules by channel which represents the module id to name and description binding for any version of modules. If no modules were found, the server will return an empty list.
Request
Supported Media Types
- application/json
Path Parameters
-
channel(required): string
The channel to lookup for the modules.Allowed Values:
[ "EMAIL", "PRINT", "SMS", "IVR" ]
Response
Supported Media Types
- application/json
200 Response
Found modules matching the given channel.
Nested Schema : ModuleIdToName
Type:
Show Source
object
-
modules:
array modules
A list of modules and their meta data
Nested Schema : modules
Type:
array
A list of modules and their meta data
Show Source
Example:
{
"id":"accf7256-66c8-11e9-a923-1681be663d3e",
"name":"Tips Images V2",
"moduleDescription":""
}