The Database Hub | Back4App
The Database Hub | Back4App
How it works
  • Log In
  • Sign Up

  1. Carbon Code Technology
  2. Classified Native App Template
Public

3
0
3
0
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Sessions

This GraphQL query fetches All Sessions


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query allSessions {
      sessions (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          createdWith
          expiresAt
          id
          installationId
          restricted
          sessionToken
          updatedAt
          user {
            id
          }
        }
      }
    }
{
  "data": {
    "sessions": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2019-07-15T11:15:14.992Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2020-07-14T11:15:14.992Z",
          "id": "Jft2GMP0Xp",
          "installationId": "1ebd5421-c142-48ab-8e0b-4645bbf1c057",
          "restricted": false,
          "sessionToken": "r:5b5afff270acce87d1d54b700542dc33",
          "updatedAt": "2019-07-15T11:15:14.992Z",
          "user": {
            "id": "8P4HPYGh3g"
          }
        },
        {
          "ACL": null,
          "createdAt": "2019-07-17T08:33:05.287Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2020-07-16T08:33:05.287Z",
          "id": "JghRr1IURN",
          "installationId": "012066f9-6037-5503-fd43-4edfac379653",
          "restricted": false,
          "sessionToken": "r:20289bda2fca1d2c653a85d8b2a281d6",
          "updatedAt": "2019-07-17T08:33:05.287Z",
          "user": {
            "id": "aISCLRG01y"
          }
        },
        {
          "ACL": null,
          "createdAt": "2019-07-17T09:27:56.486Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2020-07-16T09:27:56.486Z",
          "id": "1mfrJGAdKg",
          "installationId": "012066f9-6037-5503-fd43-4edfac379653",
          "restricted": false,
          "sessionToken": "r:97d29997c089f16156b9c69be082a9e1",
          "updatedAt": "2019-07-17T09:27:56.486Z",
          "user": {
            "id": "74OOEXY3Jc"
          }
        }
      ]
    }
  }
}