Remove all endpoints that return forms.

This commit is contained in:
sneakypete81 2013-09-07 11:30:27 +01:00
parent adecf7aad0
commit a4add97f59
8 changed files with 0 additions and 90 deletions

View file

@ -23,16 +23,6 @@ class Photo(TroveboxObject):
# def delete_source(self, **kwds):
def edit(self, **kwds):
"""
Endpoint: /photo/<id>/edit.json
Returns an HTML form to edit this photo's attributes.
"""
result = self._trovebox.get("/photo/%s/edit.json" %
self.id, **kwds)["result"]
return result["markup"]
def replace(self, photo_file, **kwds):
""" Not implemented yet """
raise NotImplementedError()