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

  1. CubyCode
  2. MyStream | A social network app template
Public

37
49
37
49
  • 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
18
19
20
21
query allInboxes {
      inboxes (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          id
          image {
            url
            name
          }
          inboxID
          message
          receiver {
            id
          }
          sender {
            id
          }
          updatedAt
        }
      }
    }
{
  "data": {
    "inboxes": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2018-01-13T15:29:41.360Z",
          "id": "UwNRqZdUcD",
          "image": null,
          "inboxID": "rYX3nB6iHZRMgkEMomie",
          "message": "hi bob, nice stuff in your stream!",
          "receiver": {
            "id": "RMgkEMomie"
          },
          "sender": {
            "id": "rYX3nB6iHZ"
          },
          "updatedAt": "2018-01-13T15:29:41.360Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-07-20T11:35:34.517Z",
          "id": "UvsNnZVJEt",
          "image": null,
          "inboxID": "0lX1Xoc3xuJpOfpxhO8X",
          "message": "test",
          "receiver": {
            "id": "JpOfpxhO8X"
          },
          "sender": {
            "id": "0lX1Xoc3xu"
          },
          "updatedAt": "2018-07-20T11:35:34.517Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-07-03T13:59:03.839Z",
          "id": "MIwosjCPtf",
          "image": null,
          "inboxID": "0Pg7udZDIgqYb2IbyigN",
          "message": "hello",
          "receiver": {
            "id": "qYb2IbyigN"
          },
          "sender": {
            "id": "0Pg7udZDIg"
          },
          "updatedAt": "2018-07-03T13:59:03.839Z"
        }
      ]
    }
  }
}