SearchInstitutions
SearchInstitutions pages through the catalogue matching every condition, by name unless order_by says otherwise, 25 a page by default. A condition on fulltext also returns the matching pages of each institution’s website in fulltext_matches.
Authentication
A team API key, sent as Authorization: Bearer <key>.
The Cognito access token of a signed-in Edulead user (edulead auth login), sent as Authorization: Bearer <token>.
Headers
Query parameters
A JSON array of up to 30 conditions, all of which must hold: [{“field”: “type”, “operator”: “equals”, “value”: “DISTRICT”}, …]. The fields and the operators each allows are those of the Edulead console’s institution search: among them name, state, type, subtype, studentsTotal, idParentInstitution, grade, shapes, list and fulltext; and beaconIds ({“operator”: “in”, “value”: [“<beacon id>”, …]}) with radiusMiles ({“operator”: “equals”, “value”: 25}) for the team’s beacons’ institutions, or those within the miles of them. A comma in a value matches any of its parts (“TX,CA”).
Set to INSTITUTIONS_SEARCH to keep the search in the caller’s search history, as the console’s directory does; empty keeps no history.
Sort order: a sortable field name, optionally followed by ” desc”. The allowed values are listed.
Opaque token from a previous response; empty for the first page.
Response
Token for the next page; empty when this is the last page.