List subjects and counts.
Changed onBrowse subjects starting by a prefex (can be a whole term or a letter)
/discovery/browse/subjects?search_scope=starts_with&q=M
Look up exact subjects
/discovery/browse/subjects?q=Manhattan
Or look up subjects containing a substring
/discovery/browse/subjects?search_scope=has&q=Africa
Request
- Base URLhttps://platform.nypl.org/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Term to match for a whole-subject, prefix or substring search.
Page number to return
Number of results to return
Specify how to order results (relevance, preferredTerm, count)
Override the default direction for the current sort (asc, desc). Default depends on the field. (preferredTerm defaults to asc, count defaults to desc, relevance is fixed desc)
Specify how to search across the subject index. has will search for substrings within a subject term. starts_with returns the list of subjects beginning with the query term.
Response
An array of subjects
Changes
- info
endpoint added
- info