SOP-10:提交附圖診所評價

API SOP

為診所撰寫星級評價,可附加照片。

1 個節點 · 0 條連接medirank
apisopmedirankclinic-reviews
ex-sop-10-create-clinic-review.osop.yaml
# 原始:SOP-10: 發表診所評價(含圖片)
osop_version: '1.0'
id: sop-10-create-clinic-review
name: "SOP-10:提交附圖診所評價"
description: "為診所撰寫星級評價,可附加照片。"
version: 1.0.0
tags:
- api
- sop
- medirank
- clinic-reviews
nodes:
- id: step_1
  type: api
  subtype: rest
  name: POST /clinic-reviews
  description: Create a star-rated clinic review with optional photos (up to 6).
  runtime:
    method: POST
    url: https://medi-rank.com/api/v1
    endpoint: /clinic-reviews
    headers:
      Authorization: Bearer ${secrets.TOKEN}
    content_type: multipart/form-data
    body:
      clinic_id: 1
      rating: 5
      content: Excellent service and results...
      is_anonymous: false
      review_images[]: (files)
      user_id: 5