Chaitin Tech policy/webpost_control/list API

策略管理/网页发帖管控/列表

OpenAPI Specification

chaitin-policy-webpost-control-list-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: APISec Management account policy/webpost_control/list API
  version: '26.05'
  description: Generated from APISec skyview APIView classes.
tags:
- name: policy/webpost_control/list
  description: 策略管理/网页发帖管控/列表
paths:
  /policy/webpost_control/list:
    post:
      summary: 网页管控策略列表
      deprecated: false
      description: ''
      tags:
      - policy/webpost_control/list
      parameters:
      - name: search
        in: query
        description: ''
        required: true
        example: ''
        schema:
          type: string
      - name: page
        in: query
        description: ''
        required: true
        example: '1'
        schema:
          type: string
      - name: limit
        in: query
        description: ''
        required: true
        example: '10'
        schema:
          type: string
      - 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: Accept
        in: header
        description: ''
        required: true
        example: application/json
        schema:
          type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  code:
                    type: integer
                  msg:
                    type: string
                  data:
                    type: object
                    properties:
                      total:
                        type: integer
                      results:
                        type: array
                        items:
                          type: object
                          properties:
                            period_options:
                              type: object
                              properties:
                                period_value:
                                  type: array
                                  items:
                                    type: string
                                period_tz_offset:
                                  type: integer
                              required:
                              - period_value
                              - period_tz_offset
                            update_by:
                              type: object
                              properties:
                                uid:
                                  type: string
                                name:
                                  type: string
                                username:
                                  type: string
                                email:
                                  type: 'null'
                              required:
                              - uid
                              - name
                              - username
                              - email
                            expression_fields:
                              type: array
                              items:
                                type: object
                                properties:
                                  left:
                                    type: string
                                  value:
                                    type: array
                                    items:
                                      type: string
                                  operator:
                                    type: string
                                required:
                                - left
                                - value
                                - operator
                            description:
                              type: string
                            action_template_id:
                              type: string
                            id:
                              type: integer
                            status:
                              type: string
                            run_model:
                              type: array
                              items: {}
                            category:
                              type: string
                            action:
                              type: string
                            company_id:
                              type: string
                            period_category:
                              type: string
                            detect_position:
                              type: string
                            update_time:
                              type: string
                            source:
                              type: string
                            expression:
                              type: 'null'
                            create_time:
                              type: string
                            scope:
                              type: string
                            expand:
                              type: object
                              properties: {}
                            expression_relation:
                              type: string
                            checked_urls_options:
                              type: object
                              properties:
                                left:
                                  type: string
                                value:
                                  type: array
                                  items:
                                    type: string
                                operator:
                                  type: string
                              required:
                              - left
                              - value
                              - operator
                            code:
                              type: string
                            uid:
                              type: string
                            create_by_id:
                              type: string
                            mode:
                              type: string
                            name:
                              type: string
                            control_category:
                              type: string
                          required:
                          - period_options
                          - update_by
                          - expression_fields
                          - description
                          - action_template_id
                          - id
                          - status
                          - run_model
                          - category
                          - action
                          - company_id
                          - period_category
                          - detect_position
                          - update_time
                          - source
                          - expression
                          - create_time
                          - scope
                          - expand
                          - expression_relation
                          - checked_urls_options
                          - code
                          - uid
                          - create_by_id
                          - mode
                          - name
                          - control_category
                      page:
                        type: integer
                    required:
                    - total
                    - results
                    - page
                required:
                - code
                - msg
                - data
              example:
                code: 0
                msg: 正常
                data:
                  total: 2
                  results:
                  - period_options:
                      period_value:
                      - '2023-01-01 00:00:00'
                      - '2023-01-01 00:00:00'
                      period_tz_offset: 28800
                    update_by:
                      uid: ae952895-ab52-40a9-b82e-8389da8d619a
                      name: companyadmin
                      username: companyadmin
                      email: null
                    expression_fields:
                    - left: XX
                      value:
                      - XXXX
                      - sdasdas
                      operator: container
                    description: 网络管控策略描述
                    action_template_id: b126744d-2154-4b9a-87a9-1456899606e6
                    id: 2
                    status: deactivated
                    run_model: []
                    category: webpost_control
                    action: block
                    company_id: f7007ddf-efb3-4f54-94a7-b440639a4de7
                    period_category: permanent
                    detect_position: form_internal
                    update_time: '2025-05-20T09:33:46.807145Z'
                    source: added
                    expression: null
                    create_time: '2025-05-20T09:33:46.807098Z'
                    scope: global
                    expand: {}
                    expression_relation: all
                    checked_urls_options:
                      left: XX
                      value:
                      - XXXX
                      - sdasdas
                      operator: container
                    code: 40c7499a6bced028
                    uid: a77a75a4-6849-42ab-825e-8ec47a2a4c35
                    create_by_id: ae952895-ab52-40a9-b82e-8389da8d619a
                    mode: advanced
                    name: 策略名称2
                    control_category: ''
                  - period_options:
                      period_value:
                      - '2023-01-01 00:00:00'
                      - '2023-01-01 00:00:00'
                      period_tz_offset: 28800
                    update_by:
                      uid: ae952895-ab52-40a9-b82e-8389da8d619a
                      name: companyadmin
                      username: companyadmin
                      email: null
                    expression_fields:
                    - left: XX
                      value:
                      - XXXX
                      - sdasdas
                      operator: container
                    description: 网页管控策略描述
                    action_template_id: b126744d-2154-4b9a-87a9-1456899606e6
                    id: 1
                    status: activated
                    run_model: []
                    category: webpost_control
                    action: block
                    company_id: f7007ddf-efb3-4f54-94a7-b440639a4de7
                    period_category: permanent
                    detect_position: form_internal
                    update_time: '2025-05-20T09:56:02.859103Z'
                    source: added
                    expression: null
                    create_time: '2025-05-20T09:31:18.022911Z'
                    scope: global
                    expand: {}
                    expression_relation: all
                    checked_urls_options:
                      left: XX
                      value:
                      - XXXX
                      - sdasdas
                      operator: container
                    code: a04adf7a154699a3
                    uid: 07a09d1c-bdc4-42ab-8c5a-c8e090ffbd7b
                    create_by_id: ae952895-ab52-40a9-b82e-8389da8d619a
                    mode: advanced
                    name: 策略名称1
                    control_category: ''
                  page: 1
      security: []