- 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>
32 lines
426 B
Plaintext
32 lines
426 B
Plaintext
meta {
|
|
name: Update Residence
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
put {
|
|
url: {{api_url}}/residences/:id/
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Authorization: Token {{auth_token}}
|
|
}
|
|
|
|
params:path {
|
|
id: 1
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"name": "My Updated Home",
|
|
"property_type_id": 1,
|
|
"street_address": "123 Main St",
|
|
"city": "San Francisco",
|
|
"state_province": "CA",
|
|
"postal_code": "94102",
|
|
"country": "USA"
|
|
}
|
|
}
|