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

  1. CubyCode
  2. MyHotel | is a hotel app template.
Public

15
13
15
13
  • DatabaseDatabase
  • GraphQL API PlaygroundAPI Playground
  • Get Started GuideGet Started
  • IssuesIssues
  • ContributorsContributors
  • Database
    Database
    Get Started Guide
    Get Started
    Issues
    Issues
    Contributors
    Contributors

All Galleries

This GraphQL query fetches All Galleries


0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
query allGalleries {
      galleries (skip: 0, limit: 3) {
        results {
          ACL
          createdAt
          id
          image {
            url
            name
          }
          title
          updatedAt
        }
      }
    }
{
  "data": {
    "galleries": {
      "results": [
        {
          "ACL": null,
          "createdAt": "2017-07-19T08:07:55.763Z",
          "id": "MGHtn3cIGJ",
          "image": {
            "url": "https://parsefiles.back4app.com/aBWkr0Eb79d6rV008C8tLAraPUgtxzZqdwTKIddv/415cca65ac474f09e828d8a1bec31500_actons-hotel-pool-01.jpg",
            "name": "415cca65ac474f09e828d8a1bec31500_actons-hotel-pool-01.jpg"
          },
          "title": "Swimming pool",
          "updatedAt": "2017-07-19T08:07:55.763Z"
        },
        {
          "ACL": null,
          "createdAt": "2017-07-19T08:07:55.790Z",
          "id": "NQll9bO1PW",
          "image": {
            "url": "https://parsefiles.back4app.com/aBWkr0Eb79d6rV008C8tLAraPUgtxzZqdwTKIddv/3a3857bbd5ed726fc5f9c5dcbcd6216a_top-10-caribbean-beaches-eagle-beach-aruba.jpg.rend.tccom.1280.960.jpeg",
            "name": "3a3857bbd5ed726fc5f9c5dcbcd6216a_top-10-caribbean-beaches-eagle-beach-aruba.jpg.rend.tccom.1280.960.jpeg"
          },
          "title": "The beach",
          "updatedAt": "2017-07-19T08:07:55.790Z"
        },
        {
          "ACL": null,
          "createdAt": "2017-07-19T08:07:55.779Z",
          "id": "SID34lEzjL",
          "image": {
            "url": "https://parsefiles.back4app.com/aBWkr0Eb79d6rV008C8tLAraPUgtxzZqdwTKIddv/ebd9c65180c051059b27db3dc2f49597_foto-chef.jpg",
            "name": "ebd9c65180c051059b27db3dc2f49597_foto-chef.jpg"
          },
          "title": "Our Chef",
          "updatedAt": "2017-07-19T08:07:55.779Z"
        }
      ]
    }
  }
}