epugh commented on a change in pull request #91: URL: https://github.com/apache/solr/pull/91#discussion_r645110145
########## File path: solr/solr-ref-guide/src/schema-api.adoc ########## @@ -844,12 +827,27 @@ If `multiValued` is defined as either true or false (most likely true), that wil ==== List Fields Examples -Get a list of all fields. +[.dynamic-tabs] +-- +[example.tab-pane#v1list-fields] +==== +[tab-label]*V1 API* +[source,bash] +---- +http://localhost:8983/techproducts/schema/fields +---- +==== +[example.tab-pane#v2list-fields] +==== +[tab-label]*V2 API* [source,bash] ---- -curl http://localhost:8983/solr/gettingstarted/schema/fields + +curl -X GET "http://localhost:8983/api/collections/techproducts/schema/fields?wt=json" Review comment: I don't know why I thought I was getting xml! I really appreciate the eagle eyes... -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org