add REST documentation for mediacore module

Because it's passed as a body parameter, swagger doesn't allow strings.