https://github.com/gruppe-adler/nodebb-plugin-attendance
plugin which adds ability to show whether you attend a event by a single mouse click
https://github.com/gruppe-adler/nodebb-plugin-attendance
nodebb nodebb-plugin web
Last synced: 6 months ago
JSON representation
plugin which adds ability to show whether you attend a event by a single mouse click
- Host: GitHub
- URL: https://github.com/gruppe-adler/nodebb-plugin-attendance
- Owner: gruppe-adler
- Created: 2016-11-23T21:44:59.000Z (over 9 years ago)
- Default Branch: 2.5
- Last Pushed: 2023-05-30T17:01:39.000Z (almost 3 years ago)
- Last Synced: 2025-01-24T17:46:05.715Z (about 1 year ago)
- Topics: nodebb, nodebb-plugin, web
- Language: JavaScript
- Homepage:
- Size: 233 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# nodebb-plugin-attendance
plugin which adds ability to show whether you attend a event by a single mouse click
## API
the following endpoints are added:
### GET /api/attendance/:tid
ex.
wget --progress=dot --save-headers -O - http://localhost:4567/api/attendance/1
### POST /api/attendance/:tid
body:
{
"type": commitment|firm_commitment|canceled
}
ex.
wget --progress=dot --method=POST --header="Content-Type:application/json" --body-data='{"type":"yes"}' --save-headers -O - "http://localhost:4567/api/attendance/1"
### GET /api/attendance/:tid/user/:uid/history
----
omg I just realized…
fuck attendance. What we have here is an API for users to tag a topic from a pre-defined list of tags, some of which are mutually exclusive.