add REST documentation for mediacore module

I'm assuming this also influences the layout of the form that swagger shows? If Swagger shows a UI where the `media_id` field is a simple input text field with `form` rather than a big text area, than I would be included to use `form`.