Restaurants
GET List Restaurants /restaurants/list
Retrieve all restaurants accessible to company.
Response
| Name | Value | Description | Required |
|---|---|---|---|
id | string | Unique Id | true |
name | string | Restaurant Name | true |
Authorization Bearer Token
Token API_Key
Headers
Content-Type application/json
Example
import axios from "axios";
const headers = {
"Authorization": `Bearer ${your_api_key}`,
"Content-Type": "application/json"
};
const rootUrl = "https://us-central1-checklist-admin-d0013.cloudfunctions.net/api/v1";
const request = axios(rootUrl+`/restaurants/list`, { headers });
Body Response JSON
[
{
"id": "restaurant-id_1",
"name": "Fresno Wings & Fries",
},
{
"id": "restaurant-id-2",
"name": "Fresno Burgers and Sandwhiches",
}
]