Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

tento-app/tento-api

Repository files navigation

API based on graphene for tento

Docs

https://github.com/tento-app/api-graphen/tree/master/docs

Auth

mutation ($username: String!, $password: String!) {
  authToken(username: $username, password: $password) {
    token
  }
}
# variables
{
  "username": "xxxx",
  "password": "xxxx"
}
{
  joinTeams(token: "xxxx") {
    edges {
      node {
        name
      }
    }
  }
}

Reference

https://docs.graphene-python.org/en/latest/

https://django-filter.readthedocs.io/en/master/guide/usage.html#request-based-filtering

https://github.com/eamigo86/graphene-django-extras

https://qiita.com/okoppe8/items/10ae61808dc3056f9c8e