協會的公開文件
GET
/v1/aps/{slug}/documents
const url = 'https://api.vimine.network/v1/aps/example/documents';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vimine.network/v1/aps/example/documents協會在其文件庫中公開的文件——成立章程、舊版章程、其他文書——每份包括類型、標題、日期和原件位址。會議記錄或已核准的財務報表絕不會出現在這裡。唯讀;現行章程和規章各有自己的介面。
參數
章節「參數」路徑參數
章節「路徑參數」slug
必填
string
回應
章節「回應」200
章節「200」公開文件
媒體類型application/json
object
aps
必填
object
slug
必填
string
name
必填
string
documents
必填
Array<object>
object
uid
必填
string 格式: uuid
kind
必填
Founding_act · past_statute · other(會議記錄或財務報表絕不公開)
string
title
必填
string
act_date
文書的日期
string 格式: date
period
財務報表所屬的會計年度(2025、2025/2026)
string
pages
integer
bytes
integer
content_type
Application/pdf、image/jpeg 或 image/png
string
sha256
原件上傳時的 SHA-256
string
url
必填
GET 以 302 轉向一個十五分鐘內有效的原件連結——需要時再請求,不要保存
string 格式: uri
範例
{ "documents": [ { "kind": "founding_act" } ]}400
章節「400」請求無效
媒體類型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}404
章節「404」協會不存在,或未開放公開存取
429
章節「429」超出速率限制
媒體類型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}500
章節「500」內部錯誤
媒體類型application/problem+json
object
type
必填
string 格式: uri
title
必填
string
status
必填
integer
detail
string
code
必填
string
request_id
string
errors
Array<object>
object
field
string
code
string
message
string
範例自動產生
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "code": "example", "request_id": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}