SpotOn API Documentation.

From SpotOn Restaurant

Restaurant Gallery

    URL: https://www.api.123demo.co.in/api/restaurant_gallery
    Method:  POST
  
Object Description
device_token [Required] (Get during app installation)
app_api_key [Required] (Get during app installation)
token [Required] Bearer Token (Get during app login)
restaurant_id [Required]
output JSON formats.
    {
      "success": true,
      "data": {
          "public_root_url": "http://superadmin.123demo.co.in/storage/app/public/",
          "data": [
              {
                  "id": 6,
                  "restaurant_id": 40,
                  "banner": "6206525404e691644581460.jpg",
                  "sequence": 1,
                  "status": 0,
                  "created_at": "2022-02-11 17:41:00"
              },
              {
                  "id": 7,
                  "restaurant_id": 40,
                  "banner": "620652541da701644581460.jpg",
                  "sequence": 2,
                  "status": 0,
                  "created_at": "2022-02-11 17:41:00"
              },
              {
                  "id": 8,
                  "restaurant_id": 40,
                  "banner": "620652544a8df1644581460.jpg",
                  "sequence": 3,
                  "status": 0,
                  "created_at": "2022-02-11 17:41:00"
              }
          ]
      },
      "message": "Get fetched restaurant gallery."
    }
  
    {
        "success": false,
        "message": "Unauthorized",
        "data": "Unauthorized"
    }