How to get Scorm File From API ?

Home Forums Legacy Support Support queries Setup issues How to get Scorm File From API ?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #317556
    Good 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?
    #317789
    Anshuman Sahu
    Keymaster
    Please 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 .
    #318245
    I 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=sharing
    #318559
    Anshuman Sahu
    Keymaster
    Sorry 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 .
    #318699
    desquitadojovanie22
    Participant
    Good day, sorry i cant understand your point. So we need to update the wplms to get the API. Correct me if im wrong.
    #318913
    Anshuman Sahu
    Keymaster
    Im 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 .
    #321210
    desquitadojovanie22
    Participant
    Thanks, So what are the new path for API to get the courses?
    #321380
    Anshuman Sahu
    Keymaster
    Well 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/277
    #321391
    desquitadojovanie22
    Participant
    Good 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.
    #321405
    desquitadojovanie22
    Participant
    Also our website is already in updated in v4, still it is not working. :(
    #321717
    Anshuman Sahu
    Keymaster
    Hi apart from the course id you have pass the new JWT token as well in post . refer : https://docs.wplms.io/developer-guide/authentication
    #321739
    desquitadojovanie22
    Participant
    Good day, Can you show me how to do that? Or Pass an actual video how to do that? Please. Thanks
    #322175
    Anshuman Sahu
    Keymaster
    URL : http://site.com/wp-json/vibebp/v1/token/generate-token/?client_id=Ce93kLNBfvCIBhsC body : {"email":"[email protected]","password":"1234"} response: https://prnt.sc/var2yy
Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘How to get Scorm File From API ?’ is closed to new replies.