Question on DIAL URL #2
Replies: 5 comments 10 replies
-
@pramodkvarma - it is not the correct URL. The correct URL is in the format "https://diksha.gov.in/DIAL/6J19XQ" (without the version number). I will update the documentation. There is a small niggle in the current implementation that needs to be addressed and wanted to update the spec after we have a solution for it: I am thinking of the following approach for this:
It enables the following:
Does this solution look fine? Please share your thoughts/suggestions. |
Beta Was this translation helpful? Give feedback.
-
With respect to the human viewable vs machine readable, can we use HTTPS header ( Can you trigger a ticket within Sunbird DIAL (Sunbird-ED code?) repo to get this fixed? Should be a minor fix I presume and will not have any implications to current app/portal since this new header or In the long run, we should decouple the registry function vs the app showing linked content. That way, registry always returns the resource descriptor schema and Sunbird-ED app decides what to do with it. What do you think? |
Beta Was this translation helpful? Give feedback.
-
HTTP header yes, the DIAL registry should return only resource descriptor schema in the long run. basic QR scanning apps will show only JSON data when users use it to scan the codes, but I think it should be fine. Will schedule to address this also in Sunbird-Ed. |
Beta Was this translation helpful? Give feedback.
-
Great! Then two action items:
@vrayulu please action it. Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@vrayulu within the documentation, I see that you have provided
https://diksha.gov.in/DIAL/v1/WYG392
as the DIAL code URL in DIKSHA DIAL registry. Is this real URL? I am getting the following response{"id":"api.error","ver":"1.0","ts":"2021-12-16 06:04:10:740+0000","params":{"resmsgid":"fcb15340-5e35-11ec-9b60-fddd9f867d03","msgid":null,"status":"failed","err":"FORBIDDEN_ERROR","errmsg":"Forbidden: API WHITELIST Access is denied"},"responseCode":"FORBIDDEN","result":{}}
Is this because the DIAL code is invalid? Or is it because of some access issue of this GET URL within DIKSHA?
Beta Was this translation helpful? Give feedback.
All reactions