GET /news
Display a listing of news articles
Request
- Base URLhttps://www.rcac.purdue.edu/api
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
startstring date-time
Example:2021-01-30T08:30:00Z
Filter entries scheduled on or after this date
stopstring date-time
Example:2021-01-30T08:30:00Z
Filter entries scheduled to end before this date
typeinteger
New type ID
state'published' | 'unpublished'
The article state.
resourcestring
Example:1,2,3,4
A comma-separated list of associated resource IDs to filter by
locationstring
A location to filter entries by.
searchstring
A word or phrase to search for.
limitinteger
Number of result per page.
pageinteger
Number of where to start returning results.
order'id' | 'headline' | 'datetimecreated'
Field to sort results by.
order_dir'asc' | 'desc'
Direction to sort results by.
Changes
No recorded changes to this operation across all 1 revision of this API.