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,32 @@
meta {
name: Update Contractor
type: http
seq: 4
}
put {
url: {{api_url}}/contractors/:id/
body: json
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
params:path {
id: 1
}
body:json {
{
"name": "John's Plumbing Updated",
"company": "John's Plumbing Co LLC",
"phone": "555-123-4567",
"email": "john@plumbing.com",
"address": "456 Oak Ave",
"notes": "Available weekends and evenings",
"specialty_ids": [1, 2, 3],
"residence_ids": [1, 2]
}
}