Idobata Public API

API Explorer

Please login to explor API with GraphiQL.

API Overview

Idobata provides public GraphQL API at https://api.idobata.io/graphql.

# Get an access token
curl https://idobata.io/oauth/token \
     -H "Content-type: application/json" \
     -d '{"grant_type":"password", "username":"EMAIL", "password":"PASSWORD" }'
     # => {"access_token":"ACCESS_TOKEN","token_type":"bearer","created_at":1492141818}

# Do query with that
curl https://api.idobata.io/graphql \
    -H 'Content-Type: application/json' \
    -H 'Authorization: Bearer ACCESS_TOKEN' \
    -d '{"query": "query { viewer { name } }"}'
    # => {"data":{"viewer":{"name":"alice"}}}