# 获取场景列表

## OpenAPI Specification

```yaml
openapi: 3.0.1
info:
  title: ''
  description: ''
  version: 1.0.0
paths:
  /iotscene/v1.scenes/search:
    post:
      summary: 获取场景列表
      deprecated: false
      description: ''
      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:
                status:
                  description: '状态: 0-未启用，1-已启用'
                  example: 0
                  type: integer
                name:
                  description: 场景名称(英文标识)
                  example: ''
                  type: string
                category_id:
                  description: 场景分类id
                  type: integer
                keyword:
                  description: name|title|desc
                  type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                type: object
                properties: {}
                x-apifox-orders: []
          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-70865457-run
components:
  schemas: {}
  securitySchemes: {}
servers:
  - url: http://admin.api.test.domain.cn
    description: 测试环境
security: []

```
