HomeViewModel.fetchYoutubeVideos runs each time Home opens and caches the list in SharedPreferences (KEY_YOUTUBE_VIDEO_LINKS). Module screens call AppUtils.getIfVideoButtonEnabled(module) to show a help-video button when visibility is "SHOW", and getYoutubeVideoLinkForModule(module) to embed the link in an iframe. Failures are logged and the old cache is used.
Headers
Header
Value
Notes
X-SESSIONID
<session token>
Added by Bridge CoreAPI from the AccountManager session when the Operation is executed with dooNowOrThrow. The app code does not set it.
Parameters
Param
In
Required
Example
Notes
name
query
Yes
UrviYouTube
Dataset name. The rtld executor (/rtld/api/dataset/v1/execute) picks the dataset by this query param.
version
query
Yes
1
Dataset version. Always 1.
format
query
Yes
json
Response format. Always json, so the body is a JSON array of row objects.