started on API call for getMediaLink