Download OpenAPI specification:Download
This is the tentative API specification for Club Event Calendar. Only HTTPS supports.
Check Refresh Token and current password; then, change user's password/
User may get Bad Request response when:
If Refresh Token is about to expire (15 min before expire), new refresh token will issued.
Admin Only
currentPassword required | string |
newPassword required | string |
{- "currentPassword": "thisisprevpassword",
- "newPassword": "HelloWorld"
}
Retrieve the number of event and list of given month. Only support months after Jan. 2021.
If no event planned on the month, You will get response that there is no planned event.
year required | number >= 2021 Year of the month |
month required | number [ 1 .. 12 ] Month |
{- "numEvent": 0
}
Add new event: Date and name are required, category and detail are optional.
Admin Only
year required | number >= 2021 |
month required | number [ 1 .. 12 ] |
date required | number [ 1 .. 31 ] |
name required | string |
detail | string |
category | string |
{- "year": 2021,
- "month": 10,
- "date": 31,
- "name": "Halloween Party",
- "detail": "On Oct. 31, we hold Halloween Party. Everyone is welcomed.",
- "category": "Networking"
}
Edit an existing event: Need eventId pointing an existing event
Admin Only
eventID required | string Unique ID for an existing event |
year | number >= 2021 |
month | number [ 1 .. 12 ] |
date | number [ 1 .. 31 ] |
name | string |
detail | string |
category | string |
{- "month": 11,
- "date": 1,
- "name": "Late Halloween party",
- "detail": "We postpone the Halloween party."
}
Get Event ID: Need unique event ID
eventID required | string Unique ID for an existing event |
{- "year": 2021,
- "month": 11,
- "date": 1,
- "name": "Late Halloween party",
- "detail": "We postpone the Halloween party.",
- "category": "Networking"
}
Create Participation Ticket: Participant's name and email are required. Optionally submit phone number (Korean phone number only, 11 digits) and comment.
If there exists duplicated name and email pair, the API will return BAD REQUEST.
eventID required | string Unique ID for an existing event |
participantName required | string |
phoneNumber | string |
email required | string |
comment | string |
{- "participantName": "Gildong Hong",
- "phoneNumber": "01012345678",
- "email": "gildong.hong@gmail.com",
- "comment": "Estimated Time Arrival is 10AM."
}
List participants: Return all participation ticket and associated information
Admin only
eventID required | string Unique ID for an existing event |
{- "numParticipants": 0
}
Modify Participation Ticket: Edit specific participation ticket
Need unique id for the event and the participation ticket.
Admin only
eventID required | string Unique ID for an existing event |
ticketID required | string Unique ID for an existing participation ticket |
participantName | string |
phoneNumber | string |
string | |
comment | string |
{- "phoneNumber": "01077777777"
}