Add media API resource.