Learner - Link Item Launch Controller API
Get the launch URL and data for launching LTI Link Items
GET
/api/learner/lti_link_item_launch
Response Codes
200 OK
404 Not Found
Parameters
-
lti_content_item_id
String
Required
The id of the LTI Content Item to supply the config info
-
program_id
String
The id of the Program that contains the LTI Content Item
Example Response
{
"lti_content_item_id": "1",
"program_id": "2",
"launch_url": "http://example.com/launch",
"launch_data": {
"context_id": "1673cd0f-f043-4d34-bfbc-c13fd5cce99a",
"context_label": "bridge",
"custom_field": "value",
"launch_presentation_document_target": "iframe",
"launch_presentation_return_url": "https://bridge.local.bridgeops.sh:3000/lti/content_item/1",
"lis_person_contact_email_primary": "user@example.com",
"lis_person_name_family": "Last",
"lis_person_name_full": "First Last",
"lis_person_name_given": "First",
"lti_message_type": "basic-lti-launch-request",
"lti_version": "LTI-1p2",
"oauth_callback": "about:blank",
"oauth_consumer_key": "key",
"oauth_nonce": "534b94655fc5f8ebaa9c97344ea7b953",
"oauth_signature": "7CgFfsQ14XFAJSM2o8GT6pg8C7w=",
"oauth_signature_method": "HMAC-SHA1",
"oauth_timestamp": "1490312905",
"oauth_version": "1.0",
"resource_link_description": "This is a Sample Tool Provider.",
"resource_link_id": "8169f5e122e9dafafd1f02c9e15eb4ab",
"roles": "learner",
"tool_consumer_info_product_family_code": "Bridge",
"tool_consumer_instance_guid": "bridge.local.bridgeops.sh:3000",
"tool_consumer_instance_name": "Bridge",
"tool_consumer_instance_url": "http://bridge.local.bridgeops.sh:3000",
"user_id": "c74cff31-603b-4c01-832e-1810ee54bf91"
}
}
Get the launch URL and data for launching LTI Link Items
GET
/api/learner/lti_link_item_launch
Response Codes
200 OK
404 Not Found
Parameters
-
lti_content_item_id
String RequiredThe id of the LTI Content Item to supply the config info
-
program_id
StringThe id of the Program that contains the LTI Content Item
Example Response
{ "lti_content_item_id": "1", "program_id": "2", "launch_url": "http://example.com/launch", "launch_data": { "context_id": "1673cd0f-f043-4d34-bfbc-c13fd5cce99a", "context_label": "bridge", "custom_field": "value", "launch_presentation_document_target": "iframe", "launch_presentation_return_url": "https://bridge.local.bridgeops.sh:3000/lti/content_item/1", "lis_person_contact_email_primary": "user@example.com", "lis_person_name_family": "Last", "lis_person_name_full": "First Last", "lis_person_name_given": "First", "lti_message_type": "basic-lti-launch-request", "lti_version": "LTI-1p2", "oauth_callback": "about:blank", "oauth_consumer_key": "key", "oauth_nonce": "534b94655fc5f8ebaa9c97344ea7b953", "oauth_signature": "7CgFfsQ14XFAJSM2o8GT6pg8C7w=", "oauth_signature_method": "HMAC-SHA1", "oauth_timestamp": "1490312905", "oauth_version": "1.0", "resource_link_description": "This is a Sample Tool Provider.", "resource_link_id": "8169f5e122e9dafafd1f02c9e15eb4ab", "roles": "learner", "tool_consumer_info_product_family_code": "Bridge", "tool_consumer_instance_guid": "bridge.local.bridgeops.sh:3000", "tool_consumer_instance_name": "Bridge", "tool_consumer_instance_url": "http://bridge.local.bridgeops.sh:3000", "user_id": "c74cff31-603b-4c01-832e-1810ee54bf91" } }