# Rules for Extending

Any modification to an existing API **MUST** avoid breaking changes and **MUST** maintain backward compatibility.

In particular, any change to an API **MUST** follow the following **Rules for Extending**:

1. **You MUST NOT take anything away** (related: [Minimal Surface Principle](/api-guidelines/general-guidelines/minimal-api-surface.md)

   , [Robustness Principle](/api-guidelines/general-guidelines/robustness.md))
2. **You MUST NOT change processing rules**&#x20;
3. **You MUST NOT make optional things required**
4. **Anything you add MUST be optional** (related [Robustness Principle](/api-guidelines/general-guidelines/robustness.md))

> NOTE: These rules cover also renaming and change to identifiers (URIs). Names and identifiers should be stable over the time including their semantics.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://adidas.gitbook.io/api-guidelines/general-guidelines/rules-for-extending.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
