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

Dev Protocol Data Viewer

Akira Taniguchi edited this page Feb 15, 2021 · 9 revisions

Overview

https://explorer.graphql.devprtcl.com to retrieve data for Dev Protocol events and variables using GraphQL.

query

First things first

See the SQL file of Table Creation SQL List for a description of the tables and columns available for the query.

You can only execute queries that refer to data, not register or update it.

Tips

command execution

The query can be executed as a command as well as on the screen.

example

curl -X POST -H "Content-Type: application/json" --data '{ "query": "{ Properties { property_meta(limit: 10) { property author} }" }' https://api.devprtcl.com/v1/graphql

Number of records.

The maximum number of records that can be retrieved at any one time is 100. If you want to retrieve more than 100 records, use pagination or other methods to execute the API multiple times.

Using Apollo command to get schema information

Please refer to Exporting the Hasura GraphQL schema(Using Apollo CLI) to get it.

You don't need to specify a header for the endpoint.

Clone this wiki locally