Home › Forums › Legacy Support › Support queries › Setup issues › How to get Scorm File From API ?
Tagged: api, courses, wplms scorm
- This topic has 12 replies, 3 voices, and was last updated 4 years ago by Anshuman Sahu.
Viewing 13 posts - 1 through 13 (of 13 total)
-
AuthorPosts
-
October 11, 2020 at 9:58 am #317556desquitadojovanieSpectatorGood day sir/mam, Can i ask a question, Currently we are developing mobile courses for wplms. And we have a problem, Is there a way to get a Scorm File from the API and specific endpoint for each courses?October 12, 2020 at 3:11 pm #317789Anshuman SahuKeymasterPlease refer : https://documenter.getpostman.com/view/5714111/TVKJyv8R#53586073-b6ba-4b04-89d6-9a37cc71c82b this will give the course html file link is the course is of type upload .October 14, 2020 at 11:54 am #318245desquitadojovanieSpectatorI checked the link and this is the first endpoint but the difference is the item has an ID, but i tried fetching the array of id to us the item/{id} but empty array. Here is the image of the empty array : --> https://drive.google.com/file/d/1vez97SI1bT54HsxKnmilNi1d2yQeX62q/view?usp=sharingOctober 15, 2020 at 1:01 pm #318559Anshuman SahuKeymasterSorry this is the new api which provide the course package actually. This api is written in wplms_plugins. In old plugins vibe course module , it does not provides the course package information currently .October 16, 2020 at 3:25 am #318699desquitadojovanie22ParticipantGood day, sorry i cant understand your point. So we need to update the wplms to get the API. Correct me if im wrong.October 16, 2020 at 2:55 pm #318913Anshuman SahuKeymasterIm sorry let me share the details . ACtually in V3 version we have vibe course module , vibe customtypes etc different plugins , now in V4 which is a major update we have only one plugin called wplms in which the api is changed a bit , better and upgraded to its predecessor api which was in vibe course module plugin . Currently in our wplms app we are using the api which is in vibe course module plugin . The new api which is in wplms plugin gives the package data and path . The old api for which I shared the link does not gives it .October 27, 2020 at 9:26 pm #321210desquitadojovanie22ParticipantThanks, So what are the new path for API to get the courses?October 28, 2020 at 1:10 pm #321380Anshuman SahuKeymasterWell for the new one your need to install the wplms plugin means you have to upgrade to v4 version on your website and then you can simply use this endpoint to get package. http://localhost/vibebp/wp-json/wplms/v2/user/coursestatus/277October 28, 2020 at 1:39 pm #321391desquitadojovanie22ParticipantGood day, still it is not working. this is the path https://stocksed.com/vibebp/wp-json/wplms/v2/user/coursestatus/523 I already replaced it with our course id.October 28, 2020 at 3:13 pm #321405desquitadojovanie22ParticipantAlso our website is already in updated in v4, still it is not working. :(October 29, 2020 at 3:13 pm #321717Anshuman SahuKeymasterHi apart from the course id you have pass the new JWT token as well in post . refer : https://docs.wplms.io/developer-guide/authenticationOctober 29, 2020 at 5:49 pm #321739desquitadojovanie22ParticipantGood day, Can you show me how to do that? Or Pass an actual video how to do that? Please. ThanksOctober 31, 2020 at 3:10 pm #322175Anshuman SahuKeymasterURL : http://site.com/wp-json/vibebp/v1/token/generate-token/?client_id=Ce93kLNBfvCIBhsC body : {"email":"[email protected]","password":"1234"} response: https://prnt.sc/var2yy
-
AuthorPosts
Viewing 13 posts - 1 through 13 (of 13 total)
- The topic ‘How to get Scorm File From API ?’ is closed to new replies.