Description
Snapshot API has no v2 equivalent at collection level. This ticket is to track changes made to the Solr to add v2 equivalent of 'CREATESNAPSHOT', 'LISTSNAPSHOT' and 'DELETESNAPSHOT' api.
Proposed API design
- collection CREATESNAPSHOT - POST /api/collections/collName/snapshots/snapshotName
- collection LISTSNAPSHOT - GET /api/collections/collName/snapshots
- collection DELETESNAPSHOT - DELETE /api/collections/collName/snapshots/snapshotName
A few other pointers that might be helpful, especially for newcomers:
- The v1 logic for this API lives in CollectionsHandler (for the collection-level APIs) and CoreAdminHandler (for the core-level APIs).
- Some discussion of how APIs work in Solr (Particularly the "APIs in Solr" section.)
- A step-by-step guide to creating APIs using the preferred v2 API framework
- A recent PR that adds a v2 API, as an example