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

  1. CubyCode
  2. EverNotes | iOS Universal Notetaking App Template (Swift)
Public

10
11
10
11
  • 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": "2016-09-29T15:48:22.999Z",
          "createdWith": {
            "action": "login",
            "authProvider": "password"
          },
          "expiresAt": "2017-09-29T15:48:22.998Z",
          "id": "sP2wEJJAZC",
          "installationId": "0e03ac74-c934-4b09-a44b-c48b42855567",
          "restricted": false,
          "sessionToken": "r:d770126a3ba5ee47a2a077c0e71b38db",
          "updatedAt": "2016-09-29T15:48:22.999Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2016-10-14T06:12:25.881Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2017-10-14T06:12:25.880Z",
          "id": "1TGCEAD5Ub",
          "installationId": "37db33f9-f85d-4898-8061-d62552db1e3c",
          "restricted": false,
          "sessionToken": "r:7754f67d1f621e9ea876827556097b0c",
          "updatedAt": "2016-10-14T06:12:25.881Z",
          "user": null
        },
        {
          "ACL": null,
          "createdAt": "2016-12-18T01:22:57.162Z",
          "createdWith": {
            "action": "signup",
            "authProvider": "password"
          },
          "expiresAt": "2017-12-18T01:22:57.162Z",
          "id": "6vh8AvBvSM",
          "installationId": "d03affd2-6126-48a8-843c-e10755eb7853",
          "restricted": false,
          "sessionToken": "r:4519a4e456c15fae6397d3598ae19dc5",
          "updatedAt": "2016-12-18T01:22:57.162Z",
          "user": null
        }
      ]
    }
  }
}