| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v2-channel-name-name.yaml
- get:
- summary: '按名称获取 channel'
- tags:
- - channel-name
- operationId: get_api_v2_channel_name_name_
- description: 实现:`ChannelController@showByName`
- parameters:
- -
- name: name
- in: path
- required: true
- schema:
- type: string
- description: 'channel 名称'
- responses:
- 200:
- description: '成功。业务失败时 HTTP 仍可能为 200,以 ok 字段为准。'
- content:
- application/json:
- schema:
- type: object
- properties:
- ok:
- type: boolean
- message:
- type: string
- data:
- type: object
- properties:
- uid:
- type: string
- name:
- type: string
- summary:
- type: string
- nullable: true
- type:
- type: string
- studio:
- type: object
- properties:
- id: { type: string }
- nickName: { type: string }
- realName: { type: string }
- studioName: { type: string }
- nullable: true
- lang:
- type: string
- is_system:
- type: boolean
- status:
- type: integer
- created_at:
- type: string
- updated_at:
- type: string
- source_type:
- type: string
- nullable: true
- source_id:
- type: string
- nullable: true
- progress:
- type: number
- description: 仅在部分查询口径下返回。
- role:
- type: string
- description: 仅在部分查询口径下返回。
- 401:
- $ref: '../../main.yaml#/components/responses/Unauthorized'
- 422:
- $ref: '../../main.yaml#/components/responses/ValidationError'
|