You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The detail api is simple enough - /{{objecttype}}/{{objectid}}
Perhaps the list stuff could look like
/objecttype/1;2;3;4;5
And work as a classmethod to avoid instantiating an instance of the model for ever item in the list.
For updating a list of items, I think the respresentation of the items should include the id and arive in the same order as specified in the uri. The id and the uri order should be double checked.
Create should take a list of items to support creating multiple items in a single request
There's currently a bug in mongrel2 that truncates a route path at ; - Although ; seems like a good choice because it's a reserved char in http and has a clear English meaning that maps well, in the meantime I'll flip the separation char to something else
Creating a document type of APIDocument should give you a simple list/detail api that supports post/put/get/delete
The text was updated successfully, but these errors were encountered: