Skip to content
This repository has been archived by the owner. It is now read-only.

Fix typo #106

Merged
merged 1 commit into from Aug 17, 2017

Conversation

Projects
None yet
2 participants
@c-w
Copy link
Member

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 Aug 17, 2017

@c-w c-w added the in progress label Aug 17, 2017

@Smarker
Copy link
Contributor

left a comment

LGTM

@c-w c-w merged commit 80d1ab1 into master Aug 17, 2017

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
continuous-integration/travis-ci/push The Travis CI build passed
Details

@c-w c-w deleted the fix-edges branch Aug 17, 2017

@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.
You can’t perform that action at this time.