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

  1. CubyCode
  2. Feedews - News Mobile App Template for Android/iOS
Public

10
10
10
10
  • 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-12-06T06:34:18.861Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2018-12-06T06:34:18.861Z",
          "id": "qYlNLOKhX2",
          "installationId": "b98db798-8c0a-4752-accf-6c5cc4143561",
          "restricted": false,
          "sessionToken": "r:01b7cc944cc1ad91927dbb0a10536c2b",
          "updatedAt": "2017-12-06T06:34:18.861Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-12-06T07:24:47.906Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2018-12-06T07:24:47.906Z",
          "id": "Crf0ppWd1a",
          "installationId": "b98db798-8c0a-4752-accf-6c5cc4143561",
          "restricted": false,
          "sessionToken": "r:2c9f593c68cf27e9ad076555fa1881f7",
          "updatedAt": "2017-12-06T07:24:47.906Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2017-12-06T06:34:55.221Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2018-12-06T06:34:55.221Z",
          "id": "7ETEymWxyp",
          "installationId": "b98db798-8c0a-4752-accf-6c5cc4143561",
          "restricted": false,
          "sessionToken": "r:c226f0e52d6c8210884946e4bbb0400c",
          "updatedAt": "2017-12-06T06:34:55.221Z",
          "user": null
        }
      ]
    }
  }
}