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

  1. CubyCode
  2. Gems | Android/iOS Universal Geolocation Hunting Game Template
Public

10
11
10
11
  • 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": "2017-06-03T17:21:18.411Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-06-03T17:21:18.410Z",
          "id": "WOK499UfHU",
          "installationId": "577beb93-ab11-4b0f-a8c8-9a28d7ddd67d",
          "restricted": false,
          "sessionToken": "r:a1f26f7eca29bdc4e7e344b3ef4889b0",
          "updatedAt": "2017-06-03T17:21:18.411Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-05-31T15:26:16.635Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-05-31T15:26:16.635Z",
          "id": "cLiLFJp2WP",
          "installationId": "23a14f00-c199-4b8a-905f-d1c13dee4f05",
          "restricted": false,
          "sessionToken": "r:eec843709617fb999325f69212cb5b27",
          "updatedAt": "2017-05-31T15:26:16.635Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-06-06T09:37:29.521Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2018-06-06T09:37:29.519Z",
          "id": "v7F2onWhUk",
          "installationId": "7d9b93b8-ebec-443a-97a4-62c4ac95a7a5",
          "restricted": false,
          "sessionToken": "r:da64612ba83201316bc971deb32b24ec",
          "updatedAt": "2017-06-06T09:37:29.521Z",
          "user": null
        }
      ]
    }
  }
}