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

  1. CubyCode
  2. Shoppy | Ecommerce App Template for Android/iOS
Public

37
67
37
67
  • 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-07-07T05:52:55.466Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-07-07T05:52:55.466Z",
          "id": "WCRatDbdxn",
          "installationId": "7f108a19-fa92-4c02-9b22-b997a1d14300",
          "restricted": false,
          "sessionToken": "r:d8f0b4c77741de0055af236961b50f46",
          "updatedAt": "2017-07-07T05:52:55.466Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-07-31T18:07:22.568Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-07-31T18:07:22.568Z",
          "id": "H7AGCSlqlX",
          "installationId": "ea591922-34fc-46f7-a019-38acacc8180a",
          "restricted": false,
          "sessionToken": "r:a66bc88f85939eab45c38060deaf15f0",
          "updatedAt": "2017-07-31T18:07:22.568Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-07-17T05:59:57.279Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "facebook"
          },
          "expiresAt": "2018-07-17T05:59:57.279Z",
          "id": "BXj2kSiB0G",
          "installationId": "b8d1c347-27f1-4d1a-8525-0435794e32ee",
          "restricted": false,
          "sessionToken": "r:53b607437e454bc9a2e565c7542d4f9d",
          "updatedAt": "2017-07-17T05:59:57.279Z",
          "user": null
        }
      ]
    }
  }
}