Please enable JavaScript.
Coggle requires JavaScript to display documents.
MunchDeck API (tables (restaurant (name, id, cards, business hours, cover…
MunchDeck API
tables
restaurant
name
id
cards
business hours
cover photo
yelp url
address
latLng
zip
cuisineTypes
phone
price
card
upVotes
creator id
id
restaurant id
created datetime
title
description
hashtags
reportIds
downVotes
status
PENDING
PUBLISHED
UNPUBLISHED
DELETED_BY_ADMIN
report
id
creator id
detail
created datetime
photo id
status
PENDING
RESOLVED
REJECTED
user
last name
email
avatar
fb id
google id
settings
filter
region
latitude
longitudeDelta
latitudeDelta
longitude
price
cuisine types
openTime
id
upvotedCards
first name
downvotedCards
metadata
cuisineTypes
endpoints
user
GET
/users/{id}
get the user with the id
used in
profile view
POST
/users
create a user
used in
landing screen
restaurant
GET
/restaurants/{id}
get the restaurant with the id
used in
restaurant detail view
GET
/restaurants/{openTime}{price}{cuisineType}{latLng}
query restaurants with params
params
default
?openTime = device's current local time
used in
filter
deck view
POST
/restaurants
ADMIN
create a restaurant
used in
PUT
/restaurants/{id}
ADMIN
update a restaurant
used in
ADMIN: restaurant editing panel
card
GET
/cards/{id}
get the card with the id
used in
ADMIN: card editing panel
GET
/cards/{userId}
get published cards by a user
used in
profile view
GET
/cards/{openTime}{price}{cuisineType}{latLng}
query cards with params
params
default
?openTime = device's current local time
used in
ADMIN: card mgnt panel
filter
deck view
POST
/cards
create a card
used in
edit detail view
POST
/cards/{id}/upvote
up vote the card with the id
params
used in
deck view
PUT
/cards/{id}
ADMIN
update the card's status
used in
ADMIN: card mgnt panel
ADMIN: card editing panel
PUT
/cards/{id}
update the card with the id
used in
ADMIN: card editing panel
GET
/cards/{restaurantId}
get all cards of the restaurant
used in
restaurant detail view
ADMIN: card mgnt panel
POST
/cards/{id}/downvote
down vote the card with the id
used in
deck view
report
POST
/reports
create a report
used in
report view
PUT
/reports/{id}
ADMIN
update the report's status
used in
ADMIN: report mgnt panel
cuisine
POST
/cuisines
ADMIN
create a cuisine
used in
ADMIN: cuisine mgnt panel
DELETE
/cuisines/{id}
ADMIN
delete a cuisine type
used in
ADMIN: cuisine mgnt panel
PUT
/cuisines/{id}
ADMIN
update a cuisine type
used in
ADMIN: cuisine mgnt panel
GET
/cuisines
get all cuisine types
used in
ADMIN: cuisine mgnt panel
filter