You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: Replaces the current club's logo with a new one. Logos must respect a 1:1 aspect ratio (with a 5% deviation allowed). A 2 MB limit is imposed as well.
Description: Replaces the current club's banner with a new one. Banners must respect a 10:3 aspect ratio (with a 5% deviation allowed). A 2 MB limit is imposed as well.
Description: Fetches all events from the club profile.
Path: GET /api/admin/events
Headers:
Authorization: Bearer <access_token>
Sample body output:
[
{
"id": "example-event-1",
"name": "Example event 1",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Add event
Description: Adds a new event.
Path: POST /api/admin/events
Headers:
Authorization: Bearer <access_token>
Sample body input:
{
"name": "Example event 2",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
Sample body output:
[
{
"id": "example-event-1",
"name": "Example event 1",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
},
{
"id": "example-event-2",
"name": "Example event 2",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Update event
Description: Updates an existing event.
Path: PUT /api/admin/events/<event-id>
Headers:
Authorization: Bearer <access_token>
Sample body input:
{
"name": "Example event 10",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the new event."
}
Sample body output:
[
{
"id": "example-event-1",
"name": "Example event 10",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the new event."
},
{
"id": "example-event-2",
"name": "Example event 2",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Delete event
Description: Deletes an existing event.
Path: DELETE /api/admin/events/<event-id>
Headers:
Authorization: Bearer <access_token>
Sample body output:
[
{
"id": "example-event-10",
"name": "Example event 10",
"link": "http://example.com/",
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the new event."
}
]
Recruiting Events
Fetch recruiting events
Description: Fetches all recruiting events from the club profile.
Path: GET /api/admin/recruiting-events
Headers:
Authorization: Bearer <access_token>
Sample body output:
[
{
"id": "example-recruiting-event-1",
"name": "Example recruiting event 1",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": false,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Add recruiting event
Description: Adds a new recruiting event.
Path: POST /api/admin/recruiting-events
Headers:
Authorization: Bearer <access_token>
Sample body input:
{
"name": "Example recruiting event 2",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": true,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
Sample body output:
[
{
"id": "example-recruiting-event-1",
"name": "Example recruiting event 1",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": false,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
},
{
"id": "example-recruiting-event-2",
"name": "Example recruiting event 2",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": true,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Update recruiting event
Description: Updates an existing recruiting event.
Path: PUT /api/admin/recruiting-events/<event-id>
Headers:
Authorization: Bearer <access_token>
Sample body input:
{
"name": "Example recruiting event 10",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": false,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the new event."
}
Sample body output:
[
{
"id": "example-recruiting-event-1",
"name": "Example recruiting event 10",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": false,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the new event."
},
{
"id": "example-recruiting-event-2",
"name": "Example recruiting event 2",
"link": "http://example.com/",
"virtual_link": "https://zoom.com/example-link",
"invite_only": false,
"event_start": "2020-04-01T07:00:00.000Z",
"event_end": "2020-08-01T07:00:00.000Z",
"description": "This is something about the event."
}
]
Delete recruiting event
Description: Deletes an existing recruiting event.