Skip to content

Latest commit

 

History

History
117 lines (107 loc) · 1.94 KB

activities.md

File metadata and controls

117 lines (107 loc) · 1.94 KB

Find Activities

GET /activities

Description

Find the latest activities

Request

Headers

Name Required Description
X-NCU-API-TOKEN yes your API token
## Query Parameters
Name Required Description
size no fetch size, 1 ~ 40, default to 20

Example

GET /activities?size=3

Response

Formats

  • json

Structure

Field Name Type Value Description
name String activity name
club String activity sponsor
place String activity place
content String activity content
start String activity start time
end String activity end time

Example

[
	{
		"name":"電機營輔訓",
		"club":"電機系學會",
		"place":"志道樓 - 一樓大活動室",
		"content":"試跑電機營第一天活動內容",
		"start":"2015-05-01 16:00",
		"end":"2015-05-01 22:00"
	},
	{
		"name":"成果展",
		"club":"手語社",
		"place":"志道樓 - 二樓小活動室",
		"content":"練習",
		"start":"2015-05-01 20:00",
		"end":"2015-05-01 22:00"
	},
	{
		"name":"中友週傳情",
		"club":"台中南投地區校友會",
		"place":"志道樓 - 擺攤宣傳區 66大順",
		"content":"舉辦傳情活動,藉由傳情的溫馨活動讓同學們可以傳達心意並且介紹台中美食,以增加社團之特色。",
		"start":"2015-05-01 12:00",
		"end":"2015-05-01 21:00"
	}
]