- 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>
30 lines
437 B
Plaintext
30 lines
437 B
Plaintext
meta {
|
|
name: Update Document
|
|
type: http
|
|
seq: 4
|
|
}
|
|
|
|
put {
|
|
url: {{api_url}}/documents/:id/
|
|
body: json
|
|
auth: none
|
|
}
|
|
|
|
headers {
|
|
Authorization: Token {{auth_token}}
|
|
}
|
|
|
|
params:path {
|
|
id: 1
|
|
}
|
|
|
|
body:json {
|
|
{
|
|
"name": "Home Insurance Policy 2024",
|
|
"description": "Updated annual home insurance policy",
|
|
"file_url": "https://example.com/documents/policy-2024.pdf",
|
|
"residence_id": 1,
|
|
"is_warranty": false
|
|
}
|
|
}
|