Add optional path parameter to Settings Sync endpoints

What does this MR do and why?

Introduces an optional path parameter settings_context_hash to Settings Sync endpoints.

References

Issue: Add optional namespace to Settings Sync API URL (#501272 - closed)

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots

demo

How to set up and validate locally

  1. In the GDK, open a project with the Web IDE
  2. Inspect network requests to Settings Sync endpoints (filter by settings_sync). Existing endpointsbehave as expected (returns successful response).
  3. In an HTTP client , copy one of the requests and update the base URL to ap1/v4/vscode/settings_sync/1234 to test the behavior with the optional param. Should also return a successful response.

Merge request reports

Loading