byuitechops / design-lti-ng

Angular version of the byui-design-lti app
0 stars 0 forks source link

List out endpoints for api options #11

Closed nikhuff closed 6 years ago

nikhuff commented 6 years ago

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