Api\HiveController

api/hives POST Store a newly created Hive in storage for the authenticated user.

post/api/hives

Headers

Authorizationstring
Content-Typestring
Acceptstring

Request body

namestring required
location_idinteger required
hive_type_idinteger

Example request

{
  "name": "quod",
  "location_id": 9,
  "hive_type_id": 2,
  "queen": {
    "race_id": 12,
    "created_at": "2022-06-10T11:33:54",
    "name": "qui"
  }
}

Changes