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