add REST documentation for mediacore module

Fixed it during merge