簡介
API Base URL:
https://mou-api.cherites.org
所有需要權限的 API 端點必須在 Header 中加入
Authorization: Bearer <Base64(API_KEY)>
API 端點
不需驗證
curl -X GET "https://mou-api.cherites.org/welfare/0044149a-4130-4bef-934f-4c91a8e2f87b"
需要驗證
{
"title": "更新後的福利標題",
"link": "https://new.link.com",
"status": 1
}
需要驗證
curl -X DELETE "https://mou-api.cherites.org/welfare/:id" \
-H "Authorization: Bearer <Base64Token>"
需要驗證
{
"title": "新建立的福利",
"detail": "詳細內容...",
"summary": "這是摘要",
"link": "https://example.com/new-welfare",
"forward": "快來看看這個新福利!",
"publicationDate": "2025-07-13",
"status": 1,
"locationID": 1,
"categoryID": [1, 5],
"identityID": [2, 3]
}