v2-terms-import.yaml 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. # 由 openapi/scripts/generate.php 生成,请勿手改;补充写到 overrides/v2-terms-import.yaml
  2. get:
  3. summary: 'import terms-import'
  4. tags:
  5. - terms-import
  6. operationId: get_api_v2_terms_import
  7. description: 实现:`TermExportController@import`
  8. parameters:
  9. -
  10. name: view
  11. in: query
  12. schema:
  13. type: string
  14. enum:
  15. - channel
  16. - studio
  17. -
  18. name: id
  19. in: query
  20. schema:
  21. type: string
  22. -
  23. name: name
  24. in: query
  25. schema:
  26. type: string
  27. -
  28. name: filename
  29. in: query
  30. schema:
  31. type: string
  32. responses:
  33. 200:
  34. description: '成功。业务失败时 HTTP 仍可能为 200,以 ok 字段为准。'
  35. content:
  36. application/json:
  37. schema:
  38. type: object
  39. properties:
  40. ok:
  41. type: boolean
  42. message:
  43. type: string
  44. data:
  45. type: object
  46. 401:
  47. $ref: '../../main.yaml#/components/responses/Unauthorized'
  48. 422:
  49. $ref: '../../main.yaml#/components/responses/ValidationError'