public-api

Public Update Project

更新專案設定,如標題、描述或 TTS 語音配置。

可部分更新,僅提供需要修改的欄位即可。常用於切換 TTS 供應商/語音, 或修改專案標題和描述。

路徑參數:project_id(專案 ID)。 選填欄位:title、description、tts_provider、tts_language、tts_voice、tts_speaking_rate。

錯誤:

  • 404:專案不存在。
  • 403:該專案不屬於目前使用者。
  • 400:沒有提供任何需要更新的欄位。
patch/api/v1/public/projects/{project_id}

Request

  • Base URL: https://api.slidemaster.tw (the document declares no server; this is the origin it was published from)
  • URL: https://api.slidemaster.tw/api/v1/public/projects/{project_id}
  • Auth: none declared

Path parameters

project_idstring required

Headers

Authorizationstring nullable
X-API-Keystring nullable

Request body

titlestring nullable
descriptionstring nullable
tts_providerstring nullable
tts_languagestring nullable
tts_voicestring nullable
tts_speaking_ratenumber nullable

Response

Successful Response

idstring required
titlestring required
descriptionstring required
statusstring required
typestring
created_atstring date-time nullable
updated_atstring date-time nullable
summarystring
next_suggestionstring

Changes

No recorded changes to this operation across all 1 revision of this API.