Skip to main content
POST
/openrice/restaurants/photos

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
restaurant
string
required
Minimum string length: 1
count
integer
required
Required range: x >= 1
timeout
integer
default:300
Required range: 20 <= x <= 1500
region
enum<string>
default:hongkong
Available options:
hongkong,
macau,
shenzhen,
guangzhou,
zhuhai,
dongguan,
foshan,
zhongshan,
taipei,
newtaipei-keelung,
taoyuan,
hsinchu-miaoli,
taichung,
changhua-nantou,
yunlin-chiayi,
tainan,
kaohsiung-pingtung,
eastern,
tokyo-kanto,
osaka-kobe,
kyoto-kinki,
nagoya-chubu,
hokkaido,
tohoku,
hiroshima-chugoku,
shikoku,
fukuoka-kyushu,
okinawa,
bangkok,
chonburi,
phuket,
prachuapkhirikhan,
chiangmai,
suratthani,
nakhonratchasima,
chiangrai,
others,
singapore,
manila
lang
enum<string>
default:en
Available options:
en,
tc,
sc,
tc-tw,
ja,
th,
id
photo_type
enum<string> | null
Available options:
food,
interior,
exterior,
menu,
other

Response

Successful Response

id
integer
required
@type
string
default:OpenricePhoto
url
string | null
image
string | null
image_full
string | null
image_thumbnail
string | null
caption
string | null
caption_other_lang
string | null
photo_type_id
integer | null
price
number | null
rating
number | null
width
integer | null
height
integer | null
view_count
integer | null
like_count
integer | null
comment_count
integer | null
review_id
integer | null
restaurant_id
integer | null
submitted_at
integer | null
user
object | null