Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 593 Bytes

README.md

File metadata and controls

14 lines (14 loc) · 593 Bytes

The GraphQL queries in DBS are supported as proof-of-concept. The implementation is done via graph-gophers library. The code reads DBS GraphQL schema and provides /query end-point for GraphQL queries. The queries can be posted via HTTP POST request as following:

curl -X POST -d@/tmp/qraph.ql https://some-host.com/dbs2go/query

where /tmp/graph.ql represents GraphQL query like

{"query": "{getDataset(name: \"test\") {name}}"}