Different options:
Case 1: endpoint that serves the entire lti object. We use that object in the lti service to return different values.
Case 2: endpoint for each lti parameter that we need. Updated when we ask for another lti parameter.
Case 3: hard-code lti param object in the html.
Case 1 & 3 endpoint (get): /api
Case 2 current endpoints (get):
/api/course-name
/api/course-class
/api/course-id
/api/return-url
Different options: Case 1: endpoint that serves the entire lti object. We use that object in the lti service to return different values. Case 2: endpoint for each lti parameter that we need. Updated when we ask for another lti parameter. Case 3: hard-code lti param object in the html.
Case 1 & 3 endpoint (get): /api Case 2 current endpoints (get): /api/course-name /api/course-class /api/course-id /api/return-url
Case 1, 2, 3 shared endpoints: (get) / - serves app UI (post) / - handles lti launch and serves app