You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This local module provides a suite of web services for working with LTI tools on a Moodle installation. These web services are grouped in the "LTI Tools API" external service.
6
+
7
+
## Configuration
8
+
9
+
To use this service you will need the following:
10
+
11
+
1. A user with sufficient permissions to use the web services
12
+
2. A token for that user
13
+
14
+
See [Using web services](https://docs.moodle.org/501/en/Using_web_services) in the Moodle documentation for information about creating and enabling web services. The user will need the following capabilities in addition to whichever protocol you enable:
15
+
16
+
-`mod/lti:addinstance`
17
+
-`moodle/course:manageactivities`
18
+
19
+
## Functions
20
+
21
+
The LTI Tools API external service includes five functions:
22
+
23
+
-**local_lti_tools_api_add_lti_instance**: Add an LTI tool instance to a course
24
+
-**local_lti_tools_api_get_lti_tool_by_name**: Get LTI tool type ID by name
25
+
-**local_lti_tools_api_get_lti_tool_details**: Get detailed information about a specific LTI tool
26
+
-**local_lti_tools_api_get_lti_tools**: Get available LTI tools
27
+
-**local_lti_tools_api_set_lti_availability**:
28
+
Set or update availability restrictions for an existing LTI instance
29
+
30
+
## Requirements
31
+
32
+
- Moodle 4.1 (build 2022112800 or later)
33
+
34
+
## Installation
35
+
36
+
Copy the lti_tools_api folder into your /local directory and visit your Admin Notification page to complete the installation.
0 commit comments