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

  1. OMG Lancer
  2. Booking app | Powerful Hotel Booking app Solution By OMG Lancer
Public

23
34
23
34
  • 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-06-19T10:05:19.652Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2020-06-18T10:05:19.652Z",
          "id": "0JZWX1sFeM",
          "installationId": null,
          "restricted": false,
          "sessionToken": "r:aa8aab47a71fa765fd7dfbe05e38228b",
          "updatedAt": "2019-06-19T10:05:19.652Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2019-06-19T15:00:56.273Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2020-06-18T15:00:56.273Z",
          "id": "75Bz6A0oeY",
          "installationId": null,
          "restricted": false,
          "sessionToken": "r:f9e2ff688798fafdaa2c5fafd800a465",
          "updatedAt": "2019-06-19T15:00:56.273Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2019-06-22T07:36:02.725Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2020-06-21T07:36:02.723Z",
          "id": "znulO8XREU",
          "installationId": null,
          "restricted": false,
          "sessionToken": "r:18254ee025eabc65f1a60a671d8b895c",
          "updatedAt": "2019-06-22T07:36:02.725Z",
          "user": null
        }
      ]
    }
  }
}