add REST documentation for mediacore module

We can probably still rename `body` to something that looks a bit friendlier in the Swagger UI