Skip to content

Download a Resource File

Download a platform file as a binary stream by its resource path.

  • Name: Download a resource
  • Description: Downloads a map, image, or other media resource.
  • Method: POST
  • Path: remoteApi/result/resource
  • Login required: No
  • Permission required: Yes

ParameterTypeRequiredExampleDescription
filePathStringNot specifiedImage path
typeIntegerYes1Resource type: 1 map, 2 result resource

Example:

{
"filePath": "jueying_20260121164210109.png",
"type": 1
}
{
"filePath": "2026\\1\\23\\1_2011376072659632128_20260114175324_qfyz\\filename_1.png",
"type": 2
}

Binary stream.

CodeDescription
400Invalid parameters
401Unauthorized
403Access denied
404Resource not found
500Internal server error