[Openstack] [Swift] API changes in v2 vs v1

Shrinand Javadekar shrinand at maginatics.com
Tue Jul 22 17:46:41 UTC 2014


> Hope this helps clear things up.

This does. Thanks for the detailed explanation.

-Shri

>
> --John
>
>
>
>
>
>
> On Jul 22, 2014, at 10:05 AM, Shrinand Javadekar <shrinand at maginatics.com> wrote:
>
>> This is confusing. So does this mean semantic versioning applies to
>> the API's and not the Swift product versions? If so how are the
>> product versions decided? And given a product version, how does one
>> know about what API version is in use? The /info endpoint does not
>> mention the API version.
>>
>> I had asked about versioning sometime ago [1] and I thought the
>> release version and API version are identical.
>>
>> -Shri
>>
>> [1] http://www.gossamer-threads.com/lists/openstack/dev/36042
>>
>>
>> On Tue, Jul 22, 2014 at 5:37 AM, Anne Gentle <anne at openstack.org> wrote:
>>> Hi Shri,
>>> The Object Storage API change is just to add a header called
>>> 'X-Storage-Policy: <name>' where name is set in the swift configuration
>>> files by the cloud provider.
>>>
>>> See http://docs.openstack.org/developer/swift/overview_policies.html
>>>
>>> We'll add it to the API docs next, no version change needed for the API
>>> itself.
>>> Anne
>>>
>>>
>>> On Tue, Jul 22, 2014 at 12:46 AM, Shrinand Javadekar
>>> <shrinand at maginatics.com> wrote:
>>>>
>>>> Hi,
>>>>
>>>> Swift has been following the semantic versioning scheme. The fact that
>>>> the product version changed from v1.x to v2.0 should suggest that the
>>>> Swift APIs changed in this release.
>>>>
>>>> I see that storage policies has been the biggest change in this
>>>> release. Has that impacted the APIs?
>>>>
>>>> Is there a document that lists exactly the API difference between v1.x and
>>>> v2.0?
>>>>
>>>> Thanks in advance.
>>>> -Shri
>>>>
>>>> _______________________________________________
>>>> Mailing list:
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>> Post to     : openstack at lists.openstack.org
>>>> Unsubscribe :
>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>>
>>>
>>
>> _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>




More information about the Openstack mailing list