Registering a Smart API using Smart API Manager is not common. Typically, Smart APIs are registered following installation using a configuration tool provided with the Smart API.
-
Make sure that the Smart API is deployed and running.
-
On the left panel, click Smart APIs .
-
Click New Smart API .
-
In the Register a Smart API dialog box, select one of the two available options:
-
Specify the URL for the Smart API service description - enter the URL for the Smart API service description. Typically, the URL follows the pattern http://[ServiceRoot]/description.
-
Specify the JSON content for the Smart API service description - enter the JSON content constituting a service description for the Smart API.
-
-
Click NEXT.
-
Enter or paste the URL or JSON content, then click NEXT.
Smart API Manager validates the service description and generates a secret for the Smart API.
If you want to change the generated secret, click the value and type a new one.
You can also change the secret later using the Details page for the Smart API.
-
Click NEXT, and copy one of the snippets provided, based on the language of the SMART API configuration file, either XML or JSON.
-
Click FINISH. The details page for the new Smart API appears.
-
Update the API's configuration file with the copied snippets.
Next, you must authorize a group to use the Smart API. For more information, see Give a group access to a Smart API.
For users to access the Smart API using a Smart Client, they must belong to a group authorized to access the Smart API.