WPLMS API Endpoints

In this tutorial we’ll learn about the different endpoints wplms API has that can be used by app.

The wplms API uses the namespace : wplms/v1, using this with the endpoints we can get information from a wplms website.

Following are the endpoints (type=GET):

  1. track: The most important endpoint is the “track” endpoint because it gives all the changes made in the website with their timestamp, refer:
    You can also track the data via timestamp by adding “/?access=1502523502” where “1502523502” is the particular timestamp, refer:
  2. track/(?P<id>\\d+)?: You can track all the data related to a particular user by adding his/her id after track, refer:

    Similarly you can add “?access=1502523502” i.e. the timestamp to get the data of the user from a particular timesatmp.
  3. course: This endpoint gives you information of all the courses present in your wplms website, refer:
  4. course/(?P<id>\\d+)?: Using this endpoint you can get the data of a particular course using the course id, refer:
  5. course/featured: You can use this endpoint to get all the featured courses on the wplms website, refer:
  6. course/popular: You can use this endpoint to get all the popular courses from the wplms website, refer:
  7. course/filters(?P<filter>.+)?: This endpoint uses the json data as the url to fetch results, for example if you want to fetch the recent courses then use the json data in the url, refer:
  8. instructors: This endpoint is used for fetching all the instructors in the website, refer:
  9. instructors/(?P<instructor_id>\d+)?: You can also fetch the insformation of a single instructor from the website through the instructor id, refer:
  10. course/taxonomy(?P<taxonomy>.+)?: You can also fetch the information of taxonomy from the website like course-cat, level, location, etc., refer:
  11. course/category/(?P<id>\d+)?: You can also fetch the information of a particular course category through its id, refer:

 

Now there are user endpoints, these end points require the “Authorization” to be passed in the headers to fetch the information. You need to send the access token of the client as Authorization in the header which you can get from the connected clients in the API.

Following are the endpoints for users (Type=GET):

  1. user: This endpoint gives you the id of the user who is connected to the app i.e. the user who’s access token is sent in the headers, refer:
  2. user/profile: This endpoint fetches all the information or the data that is shown to the user in his/her profile page, like the user can see dashboard, courses, etc tabs in his/her profile, refer:
  3. user/profile/(?P<tab>\w+)?(&P<per_page>\d+)?(&P<paged>\d+): This endpoint lets you fetch the information according to particular tabs, you can also use “per_page=” to get limited information on a page, you can also add “paged=” to directly jump onto a particular page. For example if you want the information of tab profile then use the endpoint as namspace/user/profile/?tab=profile, refer:
  4. user/coursestatus/(?P<course>\d+)?: This endpoint can be used to get the full information of the course status page for the user who’s access token is sent in the header, in the endpoint you provide the course id to get the status for that particular course. It lets you know if the course has been expired for the user or if the user is continuing the course and all other information related to that particular course status for the particular user, refer:
  5. user/coursestatus/(?P<course>\d+)/item/(?P<id>\d+)?: This endpoint is similar to the previous one but it uses the course id and then the unit id who’s information you need for the particular user, refer:
  6. user/getreview/(?P<course>\d+): This endpoint is used to get the review of the user from a particular course by using the course id, refer:

Was this article helpful?

Related Articles

8 Comments

  1. Jeremy

    Hi,
    I’m trying to filter using the API using the Instructors filter. I did not locate documentation on this, but I am trying to figure it out by looking at the coding. Should I be entering:?

    filter={“search”:””,”filters”:[{“type”:”instructors”,”values”:”6450″}],”sort”:”popular”,”paged”:1}

    Encoded to:
    filter%3D%7B%22search%22%3A%22%22%2C%22filters%22%3A%5B%7B%22type%22%3A%22instructors%22%2C%22values%22%3A%226450%22%7D%5D%2C%22sort%22%3A%22popular%22%2C%22paged%22%3A1%7D

  2. Hey, thanks for a great post, it seems everyone these days is trying to make a little extra on the side but it is so hard to find really good blogs like yours. I’ve also been following this guy for a while and have had some success as a begginer using some of his methods. Maybe some of your readers might find it usefull too. https://www.affiliatemarketing101.com.au

  3. Fredericka Hogg

    YOU NEED FAST PROXY SERVERS ?

    Check it out this Anonymous and Private Proxy Servers.
    HTTP & SOCKS5 Proxy supported.
    IP Authentication or Password Authentication available.
    HERE: https://bit.ly/3ifZkmL

  4. Kimber Newman

    I WILL FIND POTENTIAL CUSTOMERS FOR YOU

    I’m talking about a better promotion method than all that exists on the market right now, even better than email marketing.
    Just like you received this message from me, this is exactly how you can promote your business or product.

    CLAIM YOUR TEST PERIOD => https://bit.ly/3hdwfaC

  5. I didn’t realize blog commenting can be such a powerful way of getting traffic and good backlinks. It can be a time-consuming task, and the reward seems worth it from reading this article. I’m going to incorporate this into my business, and I’ll post back letting everyone know how successful it has been for my SEO strategy. I guess the key thing to do is to comment on relevant websites because the links are no-follow from comments. Many thanks for the great article.
    Thanks for all the tips mentioned in this article! it’s always good to read things you have heard before and are implementing, but from a different perspective, always pick up some extra bits of information!
    바카라사이트

  6. Someone told me blog comment is not a good practice of link building and I’m confused about it, how can I build link?. Finally i started to read your blog and with the help of these i got good resuls. Althogh it’s time taking work but beneficial. Thanks for sharing.
    The key thing to remember is that it is one tool of many. Even if some may argue that the no-follow links do absolutely nothing for you as links, if you put enough thought and effort into contributing, the links can still drive natural traffic.
    카지노사이트추천

  7. Blog commenting is a part of the process of search engine optimization and can not be ignored however the game has changed and you should use it wisely. Quality and relevance are the most important factors you should consider when using blog comments. And you should not spam but rather use it naturally by adding value to the conversation. Here is an example of using relevancy:
    Get the best internet marketing services in Delhi, India at most affordable price from experts and take your business to new heights. Visit newindiasolutions for the best seo internet marketing services.
    온라인카지노

  8. No doubt from testing multiple sites that the updates to the google algoritm increase the power of a relevent blog comment when it comes to rankings. A few years ago these were consitered junk links but that has all changed again. Google may say “no follow” links don’t mean much but they really do.
    it is very impotence for search engine optimization.blog comment is big thing for increase your website rank,so i am very delightful to get this post and besides very favorable to you that share with us.
    카지노사이트

Leave A Comment?