Add contractors by residence endpoint and Bruno API collection

- Add GET /contractors/by-residence/:residence_id/ endpoint
- Create comprehensive Bruno API collection (89 endpoints)
- Collection covers all API endpoints with Local and Dev environments

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Trey t
2025-12-01 20:38:57 -06:00
parent 0c86611a10
commit c72741fd5f
89 changed files with 1622 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
meta {
name: Delete Device
type: http
seq: 7
}
delete {
url: {{api_url}}/notifications/devices/:id/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
params:path {
id: 1
}

View File

@@ -0,0 +1,15 @@
meta {
name: Get Preferences
type: http
seq: 8
}
get {
url: {{api_url}}/notifications/preferences/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,15 @@
meta {
name: List Devices
type: http
seq: 6
}
get {
url: {{api_url}}/notifications/devices/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,15 @@
meta {
name: List Notifications
type: http
seq: 1
}
get {
url: {{api_url}}/notifications/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Mark All Read
type: http
seq: 3
}
post {
url: {{api_url}}/notifications/mark-all-read/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,19 @@
meta {
name: Mark Read
type: http
seq: 4
}
post {
url: {{api_url}}/notifications/:id/mark-read/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
params:path {
id: 1
}

View File

@@ -0,0 +1,23 @@
meta {
name: Register Device
type: http
seq: 5
}
post {
url: {{api_url}}/notifications/devices/
body: json
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
body:json {
{
"device_token": "abc123devicetoken",
"platform": "ios",
"device_name": "iPhone 15 Pro"
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Unread Count
type: http
seq: 2
}
get {
url: {{api_url}}/notifications/unread-count/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,26 @@
meta {
name: Update Preferences
type: http
seq: 9
}
put {
url: {{api_url}}/notifications/preferences/
body: json
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
body:json {
{
"task_reminders": true,
"task_due_soon": true,
"task_overdue": true,
"task_completed": true,
"residence_shared": true,
"marketing": false
}
}