Skip to content

Query Tree File List API ​

API Information ​

  • Request Path: /processtask/query/file/bandInfo
  • Request Method: GET
  • Content-Type: application/json

Request Headers ​

ParameterTypeRequiredDescription
AuthorizationStringYesUser authentication token
Content-TypeStringYesMust be set to application/json

Request Parameters ​

ParameterTypeRequiredDescriptionConstraints
datafileIdLongYesData File Idnot empty

Parameter Example ​

/processtask/query/file/bandInfo?datafileId=12345

Response Body Structure ​

CommonResponse Object ​

FieldTypeDescription
codeIntegerResponse status code
messageStringResponse message
dataDataFileBandQueryRespdata

DataFileTreeResp Structure ​

FieldTypeDescription
bandInfosList<BandInfo>band list

BandInfo Structure ​

FieldTypeDescription
idLongband id
nameStringband name

Response Examples ​

Success Response ​

json
{
  "code": 200,
  "message": "OK",
  "data": {
    "bandInfos": [
      {
        "id": 589,
        "name": "Band 1"
      }
    ]
  }
}

Failure Response ​

json
{
  "code": 400,
  "message": "Invalid request parameters",
  "data": null
}

Error Code Description ​

Error CodeDescription
200Success
400Request parameter error
401Unauthorized
500Server internal error

Usage Instructions ​

  1. This API is used to query band info