Return all floor plans for specific business
GET/api/v1/businesses/:id/floor_plans
Return all floor plans for specific business
Request
Path Parameters
id stringrequired
Query Parameters
include string
Include associations (delimited with comma). Available associations: tables
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 10
Number of results to return per page.
Responses
- 200
Return all floor plans for specific business
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
required
id stringrequired
type stringrequired
Possible values: [floor_plans
]
links
object
required
self stringrequired
attributes
object
required
name string
Default value: Main
height int32
Default value: 1000
width int32
Default value: 1000
meta
object
required
total-count numberrequired
total-pages numberrequired
{
"data": [
{
"id": "string",
"type": "floor_plans",
"links": {
"self": "string"
},
"attributes": {
"name": "Main",
"height": 1000,
"width": 1000
}
}
],
"meta": {
"total-count": 0,
"total-pages": 0
}
}
Loading...