jbob / the_queue

Web-based queue thingy written with Perl/Mojolicious/MongoDB/Mandel.
1 stars 1 forks source link

Create additional API endpoints #13

Open defaude opened 1 year ago

defaude commented 1 year ago

These (and most likely some others) are still missing:

Do we want to have a REST-y approach to this? I.e. something like this:

defaude commented 1 year ago

Oh and "what to watch" could also just be a GET /submissions with query parameters like ?users=jbob,rene&onlyAvailable=true

jbob commented 1 year ago

More things now have API support:

login/logout is tricky, because to use the API it is currently necessary to be logged in in the first place.

defaude commented 1 year ago

upsert

Hä? 🤣

jbob commented 1 year ago

upsert (verb): (computing, databases) To insert rows into a database table if they do not already exist, or update them if they do.