Graph Traversal

Martin Linkov edited this page Jun 27, 2018 · 10 revisions

Endpoint: /query

Connecting to the Graph Traversal endpoint:

<<<<<<< Updated upstream

<<<<<<< HEAD

curl -X POST -H 'X-Unigraph-API-Key: [YOUR_API_KEY]' -d '[THE_QUERY]' http://gcp.unigraph.rocks/api/query
=======
>>>>>>> Stashed changes
```bash
curl -X POST \
http://try.unigraph.rocks/api/query \
 -H 'X-Unigraph-API-Key: [YOUR_API_KEY]' \
 -d '[THE_QUERY]'
<<<<<<< Updated upstream
=======
>>>>>>> origin/master
>>>>>>> Stashed changes

Objects

Objects represent the resources that you can access. Objects can contain a list of fields, which are specifically typed. For example, the label object has a field called Text, which is a String and a field called lang, again a String:

"label": [
	{
		"object": {
			"text": "Google",
			"lang": "en"
		}
	}
]
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.