nodebb-plugin-attendance

plugin which adds ability to show whether you attend a event by a single mouse click

Usage no npm install needed!

<script type="module">
  import nodebbPluginAttendance from 'https://cdn.skypack.dev/nodebb-plugin-attendance';
</script>

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.