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

  1. CubyCode
  2. Storyteller | Video Sharing App Template for Android/iOS
Public

18
23
18
23
  • 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
query allActivities {
      activities (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          currentUser {
            id
          }
          id
          otherUser {
            id
          }
          text
          updatedAt
        }
      }
    }
{
  "data": {
    "activities": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2017-08-18T15:16:42.504Z",
          "currentUser": {
            "id": "IH22iACAal"
          },
          "id": "KfiimRhEH7",
          "otherUser": {
            "id": "IH22iACAal"
          },
          "text": "johndoe liked your video: Don't miss this news by John Doe!",
          "updatedAt": "2017-08-18T15:16:42.504Z"
        },
        {
          "ACL": null,
          "createdAt": "2018-04-19T13:58:04.884Z",
          "currentUser": {
            "id": "fsQARqhmVZ"
          },
          "id": "g5SYCBZCN8",
          "otherUser": {
            "id": "fsQARqhmVZ"
          },
          "text": "*cubycode started following you!",
          "updatedAt": "2018-04-19T14:13:25.403Z"
        },
        {
          "ACL": null,
          "createdAt": "2017-08-19T12:47:07.580Z",
          "currentUser": {
            "id": "IvJ2rhNISY"
          },
          "id": "KhYlTUuH3B",
          "otherUser": {
            "id": "IH22iACAal"
          },
          "text": "johndoe started following you!",
          "updatedAt": "2017-08-19T12:47:07.580Z"
        }
      ]
    }
  }
}