Skip to content

Instantly share code, notes, and snippets.

@nmonga91
nmonga91 / award_last_updated.md
Last active August 7, 2017 19:47
Award Last Updated Endpoint

Retrieve last updated date for Award data

Route: /api/v2/awards/last_updated/

Method: GET

This route sends a request to the backend to retrieve the last updated date for the Award data.

Response (JSON)

@nmonga91
nmonga91 / search_filters_v2_docs.md
Last active October 30, 2017 14:35
Search Filters v2 Documentation

Search Filters v2 Documentation

NOTE: Filter examples can be combined into a single object in order to AND their results. Some search filters can be OR'd internally and will be specified as such. For example:

{
	"keyword": "example search text",
	"time_period": [
		{
 "start_date": "2001-01-01",
@nmonga91
nmonga91 / spending_explorer_endpoint.md
Created September 18, 2017 19:33
Spending Explorer Endpoint

Retrieve Spending Explorer Data

Route: /api/v2/spending/

Method: POST

This route sends a request to the backend to retrieve spending data information through various types and filters.

POST Example

@nmonga91
nmonga91 / spending_by_award.md
Last active October 18, 2017 18:59
Spending By Award

Route: /api/v2/search/spending_by_award/

Method: POST

This route takes award filters and fields, and returns the fields of the filtered awards.

Request

field: Defines what award variables are returned.