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

  1. CubyCode
  2. Woopy | Listings + Chat App Template for Android/iOS
Public

43
44
43
44
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Activities

This GraphQL query fetches All Activities


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
query allActivities {
      activities (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          currUser {
            id
          }
          currentUser {
            id
          }
          id
          otherUser {
            id
          }
          streamPointer {
            id
          }
          text
          updatedAt
        }
      }
    }
{
  "data": {
    "activities": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2017-11-15T10:34:32.338Z",
          "currUser": {
            "id": "IxjY2sP9Ta"
          },
          "currentUser": null,
          "id": "zeBRSKziNj",
          "otherUser": {
            "id": "7RHhpyqPwK"
          },
          "streamPointer": null,
          "text": "@johndoe commented your Ad: House in Taranto",
          "updatedAt": "2017-12-23T06:01:18.775Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-08-11T06:37:26.712Z",
          "currUser": {
            "id": "8JRgxaQs1K"
          },
          "currentUser": null,
          "id": "kwcBBU6BNC",
          "otherUser": {
            "id": "U3EGXNAU0k"
          },
          "streamPointer": null,
          "text": "@testandroid liked your Ad: audi q5",
          "updatedAt": "2018-08-11T06:37:26.712Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-07-13T01:08:32.543Z",
          "currUser": {
            "id": "iDWkRFgKt2"
          },
          "currentUser": null,
          "id": "l3nrqncm9c",
          "otherUser": {
            "id": "iDWkRFgKt2"
          },
          "streamPointer": null,
          "text": "@nashaatt liked your Ad: jxkckvk",
          "updatedAt": "2018-07-13T01:08:32.543Z"
        }
      ]
    }
  }
}