incubator-deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: Improved JSON responses
Date Wed, 18 May 2011 13:07:36 GMT

On May 18, 2011, at 2:28 PM, Michal Fojtik wrote:

> On May 12, 2011, at 1:52 PM, mfojtik@redhat.com wrote:
> 
> Anyone? :-)

I've found Tomas to review this patchset. Thanks!

  -- Michal

> 
>  -- Michal
> 
>> Hi,
>> 
>> this patches add feature listing to API entrypoints, remove obsoleted
>> collections and empty attributes (prevent 'something: nil' in response)
>> and improve reporting of actions in JSON to:
>> 
>> actions: [
>> {
>>   start: {
>>     href: "/api/instances/inst0/start"
>>     method: "post"
>>   }
>> }
>> {
>>   destroy: {
>>     href: "/api/instances/inst0"
>>     method: "delete"
>>   }
>> }
>> ]
>> 
>> -- Michal
>> 
> 
> ------------------------------------------------------
> Michal Fojtik, mfojtik@redhat.com
> Deltacloud API: http://deltacloud.org
> 

------------------------------------------------------
Michal Fojtik, mfojtik@redhat.com
Deltacloud API: http://deltacloud.org


Mime
View raw message