Skip to content
This repository was archived by the owner on Mar 7, 2018. It is now read-only.

Conversation

@c-w
Copy link
Contributor

@c-w c-w commented Aug 17, 2017

After this change, all the Edges Schema endpoints work.

Test urls:

  • http://localhost:8000/api/edges/graphiql?query=query{%0A terms(site%3A"fortis"){%0A runTime%0A edges{%0A name%0A }%0A }%0A}&operationName=undefined
  • http://localhost:8000/api/edges/graphiql?query=query{%0A locations(site%3A"fortis"){%0A runTime%0A edges{%0A name%0A }%0A }%0A}&operationName=undefined
  • http://localhost:8000/api/edges/graphiql?query=query{%0A popularLocations(site%3A"fortis"%2CfromDate%3A"2016"%2CtoDate%3A"2017"%2C%0A bbox%3A[-122.8217%2C47.4634%2C-121.517%2C48.0028]%2CmainEdge%3A"isis"){%0A runTime%0A edges{%0A name%0A coordinates%0A }%0A }%0A}&operationName=undefined
  • http://localhost:8000/api/edges/graphiql?query=query{%0A timeSeries(site%3A"fortis"%2CfromDate%3A"2016"%2CtoDate%3A"2017"%2C%0A bbox%3A[48.0028%2C-122.8217%2C47.4634%2C-121.517]%2CmainEdge%3A"isis"%2C%0A zoomLevel%3A4){%0A labels{%0A name%0A mentions%0A }%0A graphData{%0A date%0A mentions%0A edges%0A }%0A }%0A}&operationName=undefined
  • http://localhost:8000/api/edges/graphiql?query=query{%0A topSources(site%3A"fortis"%2CfromDate%3A"2016"%2CtoDate%3A"2017"%2C%0A bbox%3A[48.0028%2C-122.8217%2C47.4634%2C-121.517]%2CmainTerm%3A"isis"%2C%0A zoomLevel%3A4%2Climit%3A10){%0A sources{%0A Name%0A Count%0A Source%0A }%0A }%0A}&operationName=undefined

Response screenshots:

locations
popularlocations
terms
timeseries
topsources

@c-w c-w requested a review from Smarker August 17, 2017 17:42
Copy link
Contributor

@Smarker Smarker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@c-w c-w merged commit 80d1ab1 into master Aug 17, 2017
@c-w c-w deleted the fix-edges branch August 17, 2017 17:44
@c-w c-w removed the in progress label Aug 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants