Nice. It's spot on. I'll suggest it to a company who's just getting setup with a wfo "policy".
As a side note, it struck me that it should be PATCH /workers/id or PATCH /workers/email instead of PUT /workers...
Thanks for sharing!
As a side note, it struck me that it should be PATCH /workers/id or PATCH /workers/email instead of PUT /workers...
Thanks for sharing!
Yeah that's very true, it should use the more semantically correct verbs and params in the paths. I'll update it.
Any other comments feel free to register an issue.
Thanks for taking the time to comment.