mirror of
https://github.com/adidas/api-guidelines.git
synced 2025-10-25 15:19:19 +00:00
Updates core-principles/versioning.md
Auto commit by GitBook Editor
This commit is contained in:
@@ -15,10 +15,10 @@ Any change to:
|
||||
MUST follow the [Rules for Extending](core-principles/rules-for-extending.md).
|
||||
|
||||
## No URI Versioning
|
||||
A change SHALL NOT affect **existing** resource identifiers (name / URI).
|
||||
A change SHALL NOT affect **existing** resource identifiers (name / URI). Resource identifier MUST NOT contain semantic versioning to convey a version of resource or its representation format.
|
||||
|
||||
#### Example
|
||||
Adding a new action to existing resource with identifier `/greeting` doesn't change its identifier to `/v2/greeting`.
|
||||
Adding a new action to existing resource with identifier `/greeting` doesn't change its identifier to `/v2/greeting` (or `/greeting-with-new-action` etc.).
|
||||
|
||||
## Backward-incompatible Change
|
||||
A change to _resource identifier_, _resource metadata_, _resource actions_ and _resource relations_, that can't follow the [Rules for Extending](core-principles/rules-for-extending.md) MUST result into a **new resource variant**. Existing resource variant MUST be preserved.
|
||||
|
||||
Reference in New Issue
Block a user