This article demonstrates how to implement Web Services into your Lambda Learn site.
TOPICS
Enabling Web Services
1. On the Lambda Learn homepage, navigate to Site Administration menu > Advanced Features.
2. Click on the Enable Web Services checkbox to enable it.
3. Then, scroll down to the bottom of the page and click Save Changes.
TIP
We recommend only enabling web services if you intend to use them. As this feature allows external systems to control your site, enabling them without use could leave your site vulnerable.
Web Services Settings
1. On the Lambda Learn homepage, navigate to Site Administration menu > Plugins.
2. Using the Plugins sidebar menu, expand the Web Services section to access all applicable settings.
3. Click on Overview if you would like a walkthrough of all of the necessary steps to set up web services for your site, including enabling access for external systems and setting up users as clients.
External Services
In either the Built-In Services or Custom Services tables, you can click on a particular service's Function to view all the functions being carried out by that service, or click Edit to customise the functions that web service is carrying out.
Adding an External Service
1. On the Lambda Learn homepage, navigate to Site Administration menu > Plugins > Web Services > External Services.
2. Under the Custom Services table, click the Add link.
3. Expand the External Services section, and configure the following settings.
Enter a Name and Short Name.
Select whether or not the service is Enabled, and if Authorized Users [can] Only create web tokens.
Click the Show More link, and select whether or not users Can Download Files and Can Upload Files.
If necessary, select Required Capabilit[ies] that users must meet to access the service.
4. Once you are complete, click Add Service.
5. On the Add Functions page, click Add Functions.
6. Using the Functions drop-down menu, select the appropriate functions for your web service.
7. Once you are complete, click Add Functions.
Managing Protocols
1. On the Lambda Learn homepage, navigate to Site Administration menu > Plugins > Web Services > Manage Protocols.
2. To enable or disable any protocols, click on the corresponding Enable/Disable icon.
TIP
We recommend only enabling protocols if you intend to use them.
3. Once you are complete, click Save Changes.
Managing Tokens
Adding a Token
1. On the Lambda Learn homepage, navigate to Site Administration menu > Plugins > Web Services > Manage Tokens.
2. Click the Add link.
3. Expand the Token section, and configure the following settings.
Select the User that will use the token, and the Service.
Enter any IP Restrictions.
If necessary, enter and enable a Valid Until date.
4. Once you are complete, click Save Changes.
The token will be immediately generated, which will need to be copied before the page is closed as it will not be shown again.