You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Archie 168a2dafd8 List statuses for multiple users 14 hours ago
api List statuses for multiple users 14 hours ago
.env.example Removed unnecessary env vars 2 weeks ago
.gitignore First Commit 4 months ago
Dockerfile First Commit 4 months ago
LICENSE First Commit 4 months ago
README.md Readme 2 weeks ago
db.js Updated db.js 2 weeks ago
docker-compose-example.yml Example docker-compose file 4 months ago
index.js List statuses for multiple users 14 hours ago
package.json CORS 4 months ago
yarn.lock Upgraded dependencies 2 weeks ago

README.md

Wassup?

This is Alles' user status api.

Endpoints

  • GET /:id - Get a user's status
  • POST /:id - Set a user's status
  • DELETE /:id - Clear a user's status

Set status parameters

Parameters for the status should be sent in a JSON body.

  • content: A string between 1 and 100 characters
  • time: The number of seconds that the status will last, between 10 seconds and a week