What's the relationship between REST API v1 and v2

Asked by Feilong Wang

Hi stacker,

I'm just wondering about the relationship between Cinder REST API v1 and v2. There are some questions I'd like to know. Thanks in advance.

1. Can I say v1 is a subset of v2? Or they just have some overlap but support some different functions from each other.
2. Is it the v1 still being maintained now and in the future?
3. What's rule to backport a bug fix from v2 to v1?

Thanks.

Question information

Language:
English Edit question
Status:
Answered
For:
Cinder Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Feilong Wang (flwang) said :
#1

Anybody knows the answer? The relationship between v1 and v2.

Revision history for this message
Duncan Thomas (duncan-thomas) said :
#2

V2 is a replacement of V1. The functionality it provides is a superset of V1, though several ugly parts of the interface have been cleaned up so they are not entirely backwards compatable.

I don't know the current plans for maintaining V1 I'm afraid, but I'd sugggest all new applications should be coded against V2 since V1 is unlikely to gain new features and it will be depreciated and removed at some point.

Can you help with this problem?

Provide an answer of your own, or ask Feilong Wang for more information if necessary.

To post a message you must log in.