Get Platforms
Description
取得平台列表。
Resource
GET /v1/basic/platforms
Authorization
採用 OAuth 2.0 Bearer Token,詳細使用流程請參考 Auth Login。
Request Example
GET /v1/basic/platforms
Response Body Parameters
| Name | Type | Description |
|---|---|---|
| platforms | Platform | 平台列表 |
Response Body Parameters - Platform
| Name | Type | Description |
|---|---|---|
| id | string | 平台代碼 |
| name | string | 平台名稱 |
Response Body Example
Status-Code: 200
{
"platforms": [
{
"id": "001",
"name": "UberEats"
},
{
"id": "002",
"name": "foodpanda"
}
]
}