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

  1. CubyCode
  2. Lingochat | Android/iOS Universal Language Exchange Chat App Template
Public

10
14
10
14
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Inboxes

This GraphQL query fetches All Inboxes


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
query allInboxes {
      inboxes (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          id
          inboxID
          message
          receiver {
            id
          }
          sender {
            id
          }
          updatedAt
        }
      }
    }
{
  "data": {
    "inboxes": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2016-12-06T14:09:53.564Z",
          "id": "D0Bj6iEZo6",
          "inboxID": "kjPMiS97rVjUwN1JCYDh",
          "message": "hi sarah, sorry for my english, I am Italian, how do I say \"ciao\" in your language?",
          "receiver": {
            "id": "jUwN1JCYDh"
          },
          "sender": {
            "id": "kjPMiS97rV"
          },
          "updatedAt": "2016-12-06T14:17:04.036Z"
        },
        {
          "ACL": null,
          "createdAt": "2016-12-19T13:11:21.192Z",
          "id": "0cHQlZi3yC",
          "inboxID": "kjPMiS97rVjUwN1JCYDh",
          "message": "hey sarah!",
          "receiver": {
            "id": "jUwN1JCYDh"
          },
          "sender": {
            "id": "kjPMiS97rV"
          },
          "updatedAt": "2016-12-19T13:11:21.192Z"
        },
        {
          "ACL": null,
          "createdAt": "2016-12-06T14:23:38.078Z",
          "id": "3KsGJYSDOA",
          "inboxID": "kjPMiS97rVjUwN1JCYDh",
          "message": "you say \"come stai?\"",
          "receiver": {
            "id": "jUwN1JCYDh"
          },
          "sender": {
            "id": "kjPMiS97rV"
          },
          "updatedAt": "2016-12-06T14:23:38.078Z"
        }
      ]
    }
  }
}