Skip to content

Commit cef74ae

Browse files
committed
Merge remote-tracking branch 'origin/3-readme'
2 parents b160b12 + d43c0d9 commit cef74ae

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

README.md

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# LTI Tools API
2+
3+
![Moodle Plugin CI](https://github.com/CLAMP-IT/lti_tools_api/workflows/Moodle%20Plugin%20CI/badge.svg)
4+
5+
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.
37+
38+
## Author
39+
40+
Daniel Landau (dlandau@reed.edu)

0 commit comments

Comments
 (0)