Documentation Center

API-Getting started with the discovery command

The key to using the SDL Enrich API is learning to use the discovery command.

The SDL Enrich API is self-describing using a feature called “discovery” (For example, https://server/Api/Authoring/discovery). Calling discovery on any of the API endpoints will return a result that describes all the available commands for that endpoint. In addition it also details all the required and optional parameters that these commands take. The general structure of the discovery result can be found in related topic: SDL LiveContent Create to a the discovery command.

Discovery provides sufficient information to call any command. Indeed the API player in the SDK uses the content of the discovery commands to dynamically populate the input fields, provide basic validation and to then build the command message body. Similarly the online API documentation is generated using the discovery command.