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

  1. OMG Lancer
  2. Ideas Box | Share Ideas & Meet Investors (Android, iOS, Web) Template by OMG Lancer
Public

28
42
28
42
  • 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-11-07T05:26:24.245Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2020-11-06T05:26:24.244Z",
          "id": "Y8lFc2jtkx",
          "installationId": null,
          "restricted": false,
          "sessionToken": "r:ef41f3f9905ce43379ead80892400924",
          "updatedAt": "2019-11-07T05:26:24.245Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2019-11-04T08:31:43.545Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2020-11-03T08:31:43.545Z",
          "id": "OtCbLPQYXx",
          "installationId": "196367b4-9ec1-4099-be49-c492081f7844",
          "restricted": false,
          "sessionToken": "r:a9792f5fd1feb435a665708ccf54e49e",
          "updatedAt": "2019-11-04T08:31:43.545Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2019-10-23T09:54:56.768Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2020-10-22T09:54:56.768Z",
          "id": "rPefJkj5Fx",
          "installationId": "90979a76-9c5f-4b29-800f-2b6b845bbefc",
          "restricted": false,
          "sessionToken": "r:45ebd5b738d6ea10aa958850f76cafa6",
          "updatedAt": "2019-10-23T09:54:56.768Z",
          "user": null
        }
      ]
    }
  }
}