- 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
483 B
Plaintext
32 lines
483 B
Plaintext
meta {
|
|
name: Create Residence
|
|
type: http
|
|
seq: 2
|
|
}
|
|
|
|
post {
|
|
url: {{api_url}}/residences/
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Authorization: Token {{auth_token}}
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"name": "My Home",
|
|
"property_type_id": 1,
|
|
"street_address": "123 Main St",
|
|
"city": "San Francisco",
|
|
"state_province": "CA",
|
|
"postal_code": "94102",
|
|
"country": "USA",
|
|
"bedrooms": 3,
|
|
"bathrooms": 2.5,
|
|
"square_footage": 2000,
|
|
"year_built": 2015
|
|
}
|
|
}
|