---
title: "获取模块列表"
method: POST
path: "/api/v1/things/ota/module/info/index"
tags: ["things/ota/module/info", "thingsOtaModuleInfo"]
---

# 获取模块列表

`POST /api/v1/things/ota/module/info/index`

## Request body

- OtaModuleInfoIndexReq
  - `name` string
  - `page` PageInfo
    - `orders` OrderBy[] — 排序
      - `field` string — 排序的字段名
      - `sort` integer — 排序方式：1 从小到大, 2 从大到小
    - `page` integer — 页码
    - `size` integer — 每页大小
  - `productID` string

## Response `200`

A successful response.

- object
  - `code` integer
  - `data` OtaModuleInfoIndexResp
    - `list` OtaModuleInfo[], required — OTA作业信息列表
      - `code` string
      - `createdTime` integer
      - `desc` string
      - `id` integer
      - `name` string
      - `productID` string
    - `page` integer — 页码
    - `pageSize` integer — 每页大小
    - `total` integer
  - `msg` string

---

[API](https://skmtc.net/unitedrhino/apis/things-api.md) · [All operations](https://skmtc.net/unitedrhino/apis/things-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/unitedrhino/things-api/revisions/f3bdeb916389/schema)
