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,20 @@
meta {
name: Apple Sign In
type: http
seq: 11
}
post {
url: {{api_url}}/auth/apple-sign-in/
body: json
auth: none
}
body:json {
{
"identity_token": "eyJhbG...",
"authorization_code": "code...",
"first_name": "John",
"last_name": "Doe"
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Current User
type: http
seq: 4
}
get {
url: {{api_url}}/auth/me/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,17 @@
meta {
name: Forgot Password
type: http
seq: 6
}
post {
url: {{api_url}}/auth/forgot-password/
body: json
auth: none
}
body:json {
{
"email": "user@example.com"
}
}

View File

@@ -0,0 +1,18 @@
meta {
name: Login
type: http
seq: 1
}
post {
url: {{api_url}}/auth/login/
body: json
auth: none
}
body:json {
{
"username": "apple",
"password": "password123"
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Logout
type: http
seq: 3
}
post {
url: {{api_url}}/auth/logout/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,19 @@
meta {
name: Register
type: http
seq: 2
}
post {
url: {{api_url}}/auth/register/
body: json
auth: none
}
body:json {
{
"username": "newuser",
"email": "newuser@example.com",
"password": "securepassword123"
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Resend Verification
type: http
seq: 10
}
post {
url: {{api_url}}/auth/resend-verification/
body: none
auth: none
}
headers {
Authorization: Token {{auth_token}}
}

View File

@@ -0,0 +1,19 @@
meta {
name: Reset Password
type: http
seq: 8
}
post {
url: {{api_url}}/auth/reset-password/
body: json
auth: none
}
body:json {
{
"email": "user@example.com",
"code": "123456",
"new_password": "newSecurePassword123"
}
}

View File

@@ -0,0 +1,23 @@
meta {
name: Update Profile
type: http
seq: 5
}
put {
url: {{api_url}}/auth/profile/
body: json
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
body:json {
{
"first_name": "John",
"last_name": "Doe",
"phone_number": "+1234567890"
}
}

View File

@@ -0,0 +1,21 @@
meta {
name: Verify Email
type: http
seq: 9
}
post {
url: {{api_url}}/auth/verify-email/
body: json
auth: none
}
headers {
Authorization: Token {{auth_token}}
}
body:json {
{
"code": "123456"
}
}

View File

@@ -0,0 +1,18 @@
meta {
name: Verify Reset Code
type: http
seq: 7
}
post {
url: {{api_url}}/auth/verify-reset-code/
body: json
auth: none
}
body:json {
{
"email": "user@example.com",
"code": "123456"
}
}