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

  1. CubyCode
  2. Catch The Monsters | Game Template - Android/iOS
Public

10
12
10
12
  • 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-04-01T16:27:51.668Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-04-01T16:27:51.667Z",
          "id": "AuuQkHODSr",
          "installationId": "78e0378d-0ec2-41a3-92c5-8319fc515538",
          "restricted": false,
          "sessionToken": "r:49e4a3581589cf3a98c0c605d46c6320",
          "updatedAt": "2017-04-01T16:27:51.668Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-05-04T08:54:21.971Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-05-04T08:54:21.970Z",
          "id": "4cgzLVaJG9",
          "installationId": "44a16b73-77b1-45f6-97a0-22cb0d1fc7b4",
          "restricted": false,
          "sessionToken": "r:83bafd293a014adfc52e42826b986ade",
          "updatedAt": "2017-05-04T08:54:21.971Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-09-26T03:20:13.100Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-09-26T03:20:13.099Z",
          "id": "vPREC3v5tL",
          "installationId": "850b8bfe-4174-4820-abc7-1e8cfcf29152",
          "restricted": false,
          "sessionToken": "r:71e63062e9e036948b56746965257438",
          "updatedAt": "2017-09-26T03:20:13.100Z",
          "user": null
        }
      ]
    }
  }
}