get https://api.naoca.com/v1/branches
Responses
xxxxxxxxxx
curl --request GET \
--url https://api.naoca.com/v1/branches \
--header 'accept: application/json'
xxxxxxxxxx
38}
{
"data": [
{
"id": "f1a26bb9-ceb2-40ff-9a97-56501f06df67",
"name": "Rothwell Branch",
"default": true,
"assigned_channels": [
{
"id": "783b38d5-eda7-4d15-9472-fe4d762963ce",
"name": "Channel 1"
}
],
"created_at": "2023-05-22T23:57:02.000Z",
"updated_at": "2023-05-22T23:57:02.000Z"
}
],
"total": 2,
"metadata": {
"request_id": "Cd-cJi3cSwMEMWg=",
"method": "GET",
"url": "https://api.naoca.com/v1/branches"
},
"pagination": {
"page": 2,
"perPage": 20,