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

David Smiley commented on SOLR-18425:
-------------------------------------

Looking at the v2 API in the description, it seems there should be a way to 
fetch the full collection state for all/most collections under and endpoint 
like /api/collections albeit that's taken and only returns collection names.  
What if it had a param for the detail?  Not sure if there's a REST 
best-practice for this.

> Break up CLUSTERSTATUS V2 API 
> ------------------------------
>
>                 Key: SOLR-18425
>                 URL: https://issues.apache.org/jira/browse/SOLR-18425
>             Project: Solr
>          Issue Type: Improvement
>          Components: v2 API
>    Affects Versions: 10.0
>            Reporter: Eric Pugh
>            Priority: Major
>
> This ticket relates to SOLR-15781 to layout the subtasks for breaking up the 
> CLUSTERSTATUS V2 API, and along with that, bring them up to the modern Jax RS 
> appraoch.
> There is a developer thread related to this: 
> https://lists.apache.org/thread/779x969ho66kgl5jyqwgzyyxc016psj2
>  
> Goal: every CLUSTERSTATUS field has an obvious, independently-cacheable, 
> independently-permissioned
> v2 home, at the right level of the resource hierarchy (cluster → collection → 
> shard → replica).
> ```
> GET /api/cluster/nodes                                  live nodes            
> [finish: resolve dup impl, JAX-RS]
> GET /api/cluster/properties                              cluster properties   
>  [done]
> GET /api/aliases                                         aliases              
>  [done]
> GET /api/cluster/node-roles ...                          (roles replacement)  
>  [done, not JAX-RS yet]
> GET /api/collections                                     collection names     
>  [done]
> GET /api/collections/\{collection}                        collection detail   
>   [augment: +configName, +aliases, +PRS]
> GET /api/collections/\{collection}/shards                 shard summaries     
>   [NEW]
> GET /api/collections/\{collection}/shards/\{shard}         single shard 
> detail   [NEW]
> GET /api/collections/\{collection}/shards/\{shard}/replicas            
> replica list    [NEW]
> GET /api/collections/\{collection}/shards/\{shard}/replicas/\{replica}  
> replica detail  [NEW]
> ```



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to