[go: up one dir, main page]

Create endpoint for obtaining and deleting all settings in Settings Sync API

The problem

VSCode Settings Sync has a feature to display all the synced data and to delete it from the cloud

See all synced data Delete all data
see_synced_data.png delete_all_synced_data.png

GitLab's API compatible with VSCode settings sync should provide endpoints to enable this functionality.

Solution

Implement the following endpoints in the REST endpoints

  • GET /resource/[resource_type] to fetch all the resources of a given type.
  • DELETE /resource/[resource_type] to delete all the resources of a given type.

Availability and Testing

Ensure updated test coverage in unit/integration/feature tests.

Edited by Nivetha Prabakaran