visuddhinanda 2 lat temu
rodzic
commit
ff3aaa9016

+ 10 - 2
openapi/public/assets/protocol/resources/channel/index.yaml

@@ -14,6 +14,12 @@ get:
           - public
           - studio
           - user
+    - name: updated_at
+      in: query
+      description: 返回在这个时间之后更新(含新建)的channel列表。app知道目前手机离线包里面的channel表的最新一条记录的更新时间。把这个时间传进去就行。例子 2023-09-18T05:39:51.000000Z
+      schema:
+        type: string
+        format: date-time
     - name: search
       in: query
       description: 搜索关键字
@@ -58,7 +64,9 @@ get:
                 type: object
                 properties:
                   rows:
-                    type: object
-                    $ref: "./channel.yaml"
+                    type: array
+                    items:
+                      type: object
+                      $ref: "./channel.yaml"
                   count:
                     type: number