json.(platform, :id, :name, :visibility, :platform_type)
json.url api_v1_platform_path(platform.id, format: :json)