[Ocs] problem adding a content with a download
Frank Karlitschek
karlitschek at kde.org
Fri Sep 17 09:57:21 PDT 2010
Hi Mateu,
the release is online now.
I hope everything works.
Sorry for the delay.
I´m working on redoing the content voting now. So we can get the number of votes for an application. I think you requested this feature.
Regards
Frank
On 17.09.2010, at 17:25, Mateu Batle wrote:
> Hi Frank,
>
> I still don't see the downloadway tag in the following responses from
> OCS server
>
> https://test.opendesktop.org/v1/content/data?categories=1801
> https://test.opendesktop.org/v1/content/data/132711
> https://test.opendesktop.org/v1/content/download/132711/1
>
> In the first one, it does not even report anything about the downloads.
>
> Also the download count does not seem to raise when I do the following
>
> https://test.opendesktop.org/v1/content/download/132711/1
>
> best regards
> Mateu
>
>
> On 09/16/2010 08:43 AM, Frank Karlitschek wrote:
>> On 16.09.2010, at 15:14, Mateu Batle wrote:
>>
>>> 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 ?
>> exactly :-)
>>
>>> thanks Frank !
>> no problem. Thanks for the API review and the bugreports
>>
>> Cheers
>> FRank
>>
>>> cheers
>>> Mat
>>>
>>>
>>> _______________________________________________
>>> Ocs mailing list
>>> Ocs at lists.freedesktop.org
>>> http://lists.freedesktop.org/mailman/listinfo/ocs
>>
>> --
>> Frank Karlitschek
>> karlitschek at kde.org
>>
>>
>>
>>
>
>
> --
> Mateu Batle
> Software Engineer
> Collabora Ltd.
>
> _______________________________________________
> Ocs mailing list
> Ocs at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/ocs
--
Frank Karlitschek
karlitschek at kde.org
More information about the Ocs
mailing list