This patch adds /api/capabilities, which currently lists the operations
available in the collection. The next step would be for the client to parse
and use this info.

Tobias Crawley (2):
  Move actual capability test out to its own method.
  Added simple capability reporting to the API.

 server/lib/deltacloud/backend_capability.rb |    6 ++++-
 server/server.rb                            |   29 +++++++++++++++++++++++++-
 server/views/api/capabilities.html.haml     |   14 +++++++++++++
 server/views/api/capabilities.xml.haml      |    6 +++++
 server/views/api/show.html.haml             |    4 +-
 server/views/api/show.xml.haml              |    2 +-
 6 files changed, 55 insertions(+), 6 deletions(-)
 create mode 100644 server/views/api/capabilities.html.haml
 create mode 100644 server/views/api/capabilities.xml.haml

-- 
1.7.2.3

Reply via email to