Chaitin Tech policylog/browserplugin/action/batchupdatestatus API

日志中心/浏览器插件/操作/批量更新状态

OpenAPI Specification

chaitin-policylog-browserplugin-action-batchupdatestatus-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account policylog/browserplugin/action/batchupdatestatus API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: policylog/browserplugin/action/batchupdatestatus
  description: 日志中心/浏览器插件/操作/批量更新状态
paths:
  /policylog/browserplugin/action/batchupdatestatus:
    post:
      summary: 浏览器插件日志修改状态
      deprecated: false
      description: ''
      tags:
      - policylog/browserplugin/action/batchupdatestatus
      parameters:
      - name: X-CS-Header-App
        in: header
        description: 应用id
        required: true
        example: '{{app}}'
        schema:
          type: string
      - name: X-CS-Header-Company
        in: header
        description: 公司id
        required: true
        example: '{{company_id}}'
        schema:
          type: string
      - name: X-CS-Header-Crypt
        in: header
        description: 加密算法,请参考:https://servaltech.feishu.cn/docs/doccnQCZ2cw32uazgNSO0DFwceb
        required: true
        example: ''
        schema:
          type: string
      - name: If-None-Match
        in: header
        description: 对于支持「ETAG」的接口,将上一次请求的响应header的Etag,填入到下一次请求。若匹配,则返回304(无变更),否则会返回新版本的数据 + 新Etag
        required: true
        example: string
        schema:
          type: string
      - name: X-CS-Header-Debug
        in: header
        description: ''
        required: true
        example: '{{debug}}'
        schema:
          type: string
      - name: Accept-Language
        in: header
        description: ''
        required: true
        example: zh
        schema:
          type: string
      - name: X-Cs-Header-Timezone
        in: header
        description: ''
        required: true
        example: Asia/Shanghai
        schema:
          type: string
      - name: Content-Type
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      - name: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                status:
                  type: string
                ids:
                  type: array
                  items:
                    type: string
                not_ids:
                  type: array
                  items:
                    type: string
                comment:
                  type: string
              required:
              - status
              - ids
              - not_ids
              - comment
            example:
              status: created
              ids:
              - aaa
              not_ids:
              - bbb
              comment: test
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      event_id:
                        type: string
                      took:
                        type: integer
                      timed_out:
                        type: boolean
                      total:
                        type: integer
                      updated:
                        type: integer
                      deleted:
                        type: integer
                      batches:
                        type: integer
                      version_conflicts:
                        type: integer
                      noops:
                        type: integer
                      retries:
                        type: object
                        properties:
                          bulk:
                            type: integer
                          search:
                            type: integer
                        required:
                        - bulk
                        - search
                      throttled_millis:
                        type: integer
                      requests_per_second:
                        type: integer
                      throttled_until_millis:
                        type: integer
                      failures:
                        type: array
                        items: {}
                    required:
                    - event_id
                    - took
                    - timed_out
                    - total
                    - updated
                    - deleted
                    - batches
                    - version_conflicts
                    - noops
                    - retries
                    - throttled_millis
                    - requests_per_second
                    - throttled_until_millis
                    - failures
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  event_id: 1e0a9b13-c370-45de-8684-3bee94130688
                  took: 0
                  timed_out: false
                  total: 0
                  updated: 0
                  deleted: 0
                  batches: 0
                  version_conflicts: 0
                  noops: 0
                  retries:
                    bulk: 0
                    search: 0
                  throttled_millis: 0
                  requests_per_second: -1
                  throttled_until_millis: 0
                  failures: []
      security: []