You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "John Durham (Jira)" <ji...@apache.org> on 2023/02/28 00:41:00 UTC

[jira] [Commented] (SOLR-16468) Create v2 equivalent of v1 'CREATESNAPSHOT', 'LISTSNAPSHOT' and 'DELETESNAPSHOT' (collection level)

    [ https://issues.apache.org/jira/browse/SOLR-16468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694240#comment-17694240 ] 

John Durham commented on SOLR-16468:
------------------------------------

I'd be willing to pick up the CREATE and DELETE endpoints, since LIST is already complete.

> Create v2 equivalent of v1 'CREATESNAPSHOT', 'LISTSNAPSHOT' and 'DELETESNAPSHOT' (collection level)
> ---------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-16468
>                 URL: https://issues.apache.org/jira/browse/SOLR-16468
>             Project: Solr
>          Issue Type: Sub-task
>          Components: v2 API
>    Affects Versions: 9.2
>            Reporter: Sanjay Dutt
>            Assignee: Jason Gerlowski
>            Priority: Major
>              Labels: V2, newdev
>
> 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|https://github.com/apache/solr/pull/1061/files]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org