# 触发(system) 场景

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /iotscene/v1.scenes/triggerScenes:
    post:
      summary: 触发(system) 场景
      deprecated: false
      description: |-
        ~~~
        {
            token: "123456",
            scene_payload: {
                user_id: "",
                img_base64: "",
                similar: "",
                time: "",
            },
        }
        ~~~
      tags:
        - admin 👨‍💻/iotscene/v1/scenes
      parameters:
        - name: X-Client
          in: header
          description: ''
          required: true
          example: '{{x_client}}'
          schema:
            type: string
        - name: X-ApifoxUser
          in: header
          description: ''
          required: true
          example: '{{apifox_user}}'
          schema:
            type: string
        - name: X-Time
          in: header
          description: ''
          required: true
          example: '{{timestamp}}'
          schema:
            type: string
      requestBody:
        content:
          multipart/form-data:
            schema:
              type: object
              properties:
                scene_name:
                  description: 场景标识
                  example: scene_face_opening
                  type: string
                scene_payload:
                  description: 触发载荷
                  example:
                    - ''
                  type: array
              required:
                - scene_name
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      type:
                        type: string
                      scene_ids:
                        type: array
                        items:
                          type: integer
                      flow_ids:
                        type: array
                        items:
                          type: integer
                    required:
                      - type
                      - scene_ids
                      - flow_ids
                    x-apifox-orders:
                      - type
                      - scene_ids
                      - flow_ids
                  msg:
                    type: string
                  code:
                    type: integer
                required:
                  - data
                  - msg
                  - code
                x-apifox-orders:
                  - data
                  - msg
                  - code
          headers: {}
          x-apifox-name: 成功
      security: []
      x-apifox-folder: admin 👨‍💻/iotscene/v1/scenes
      x-apifox-status: testing
      x-run-in-apifox: https://app.apifox.com/web/project/2493394/apis/api-70865468-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://admin.api.test.domain.cn
    description: 测试环境
security: []

```
