Discussions

Ask a Question
ANSWERED

Dear team

We have a PHP application and we want to use degreed API to manage the below functionality through the PHP application: 1. Get user Information 2. Upload SCORM or xAPI complainant courses/content(zip file) 3. Assign courses to learners for a specific date 4. Get the user's course data. (for SCORM it will be suspend_data, score, and for xAPI courses it will be statements data.) 5. Add new User 6. assign courses to a specific team or group of learners. Please let me know which is possible and which is not possible. **Note**: My client is using the degreed platform but he doesn't know about API.
ANSWERED

xAPI - Pathway completion

Hi, How can I use xAPI to see if a user completed a pathway. Regards, Rohit
ANSWERED

x-api get statements filters

1.how to get list of all supported verbs which can be used as filter for the get statements x-api ? for eg. - <https://api.degreed.com/xAPI/verbs/completed> , <https://api.degreed.com/xAPI/verbs/loggedin> 2. what is the verb to get completed pathways? 3. what is the value that we need to enter for agent field ? Is it email or name ? i tried both but doesn't work. 4. what is the datetime format of "since" and "until" fields ?
ANSWERED

Add Custom User ID in assessment link

Hi Guys, I am trying to add an assessment in degreed, my idea is that when I create an assessment I add an assessment URL (say <https://sometest.test.com/1234?uid=xxxx>). I would like to have the XXXX part be replaced by the logged in learners ID in degreed so when they click on this and complete their assessment I can track the performance on a user by user basis. Not really sure on how to accomplish this as their is nothing in the docs about user specific content.
ANSWERED

How can I use the profile-image-url?

I've checked the documentation and there isn't anything I can see on using the profile-image-url present in the users data.
ANSWERED

API Filters

Use of filter\[external_id\]= within beta api environment for Content Get requests is not being applied. Issue started on Sunday 02/04/2023 where previously had been working as expected. The response contains all unfiltered data. Test requests within the TryIt environment work as expected but when exported to Postman they are failing to filter without any change to request url.
ANSWERED

Skills associated to a Plan and to Pathways

Using API, is there a way to get all skills attached to a Plan. Same question for skills attached to a Pathway ? Thank you
ANSWERED

Internal Server Error for Completions

I've been trying to use get all completions but late last week though today I'm still receiving a 500 internal server error. I am using this endpoint and including the date filters: <https://api.eu.degreed.com/api/v2/completions> Could it be an issue on my end? All other endpoints seem to be working fine. Thank you!
ANSWERED

New attribute "learning-minutes" on content items

I noticed that the API /content endpoint is now returning an attribute called "learning-minutes". Example: ```json { "type": "content", "id": "n48KeX", "attributes": { ... "duration": 608.0000, "duration-type": "Seconds", "provider": "YouTube", ... "learning-minutes": 10.13, ... }, ``` I'm sure this attribute has not been there a few month ago, yet I cannot find any mention of this attribute in the KnowledgeCenter or in the developer portal. It is not even listed as an attribute in the API Reference response object documentation of the /content endpoint. Could you please provide some insights on this new attribute? What is its intention? Why was it added and why is was this not communicated prior to adding it? How are different duration values converted to learning-minutes? What is the default value?
ANSWERED

Generating Access Token in Demo not working

When I try to generate the access token in the tutorial (<https://developer.degreed.com/reference/post_oauth-token-1>) it gives me a 400 error with the reason being "invalid credentials". Is this a problem on my end?