jcgharvey / vsm-svr

0 stars 1 forks source link

Add department listing endpoints #39

Closed bighuggies closed 11 years ago

bighuggies commented 11 years ago

Adding these so we can have a central list of departments, these endpoints could be used to populate the web app/nfc receiver department lists.

/departments/ lists all departments /departments/<id>/ will show a single department (not really useful, just there for consistency).

bighuggies commented 11 years ago

Departments are read only atm. Does anyone want to be able to make new departments via the API? If not I won't add POST methods for it.