[Ocs] problem adding a content with a download

Mateu Batle mateu.batle at collabora.co.uk
Thu Sep 16 06:14:23 PDT 2010


 On 09/16/2010 05:58 AM, Frank Karlitschek wrote:
> [snip]
>>>>> 2) How we can know if it is type 0, 1 or 2 ? There is no field in the
>>>>> response specifying that AFAIK.
>>>>> Check here for an example:
>>>>>
>>>>> https://test.opendesktop.org/v1/content/data/129629
>>> I seams that I made a stupid error in the 1.x version of the spec. The tag for the distribution type is called "downloadtype" instead of "downloaddistributiontype" So this tag is already taken.
>>> Do you have an idea how to name it? Something like "downloadmode" perhaps?
>> Yes, I saw that, it caused me some confusion.
>> Other suggestions for names, maybe downloadkind or downloadway ?
>> Up to you.
> O.K. It´s called downloadway now. :-)
> I updated the specification. Will be on the test with the next update tomorrow.
>
> Cheers
> Frank
>
> [snip]

I see, just to make sure, in get requests like content list / content
get / content download we use downloadway
and in post requests like content add / content edit we use downloadtypN
being N a number, is that right ?

thanks Frank !

cheers
  Mat




More information about the Ocs mailing list