Create a photo for business or review or dish
POST/api/v1/pictures
Create a photo for business or review or dish
Request
- application/vnd.api+json
Body
required
data
object
type stringrequired
Possible values: [pictures
]
attributes
object
parent_resource stringrequired
Valid values: business, dish, point, chapter, blog_post, food_review, service_review, atmosphere_review, cleanliness_review, concept_review, pricing_review
photo binaryrequired
main boolean
Marks picture as main picture of the resource, available only for business
relationships
object
business
object
data
object
type string
Possible values: [business
]
id string
Related business ID
review
object
data
object
type string
Possible values: [review
]
id string
Related review ID
dish
object
data
object
type string
Possible values: [dish
]
id string
Related dish ID
Responses
- 201
Create a photo for business or review or dish
- application/vnd.api+json
- Schema
Schema
any
Loading...