Sha256: 17e2f0e1a9d1efe7f447f02474159b1d1c3b2b40506c7c0844892692702cbed4

Contents?: true

Size: 583 Bytes

Versions: 4

Compression:

Stored size: 583 Bytes

Contents

Feature added in v4.5

By default the search page, the show page, and the facet list page can return JSON responses provided you set the format suffix:

Search results
`/catalog.json?search_field=all_fields&q=auckland`

Facet list
`/catalog/facet/subject_topic_facet.json`

Single record
`/catalog/2009002600.json`


If you wish to alter the format of the returned JSON, you can override `render_search_results_as_json` and `render_facet_list_as_json` methods in CatalogController.

See: https://github.com/projectblacklight/blacklight/blob/master/lib/blacklight/catalog.rb#L175-L191

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-4.9.0 doc/JSON-API.md
blacklight-4.8.0 doc/JSON-API.md
blacklight-4.7.0 doc/JSON-API.md
blacklight-4.7.0.pre1 doc/JSON-API.md