add REST documentation for mediacore module

@simong That's exactly what the Swagger UI does.