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:
15
bruno-collections/casera-api/Subscription/Cancel.bru
Normal file
15
bruno-collections/casera-api/Subscription/Cancel.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Cancel
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{api_url}}/subscription/cancel/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
15
bruno-collections/casera-api/Subscription/Features.bru
Normal file
15
bruno-collections/casera-api/Subscription/Features.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Features
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{api_url}}/subscription/features/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get Subscription
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{api_url}}/subscription/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
15
bruno-collections/casera-api/Subscription/Promotions.bru
Normal file
15
bruno-collections/casera-api/Subscription/Promotions.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Promotions
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{api_url}}/subscription/promotions/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
22
bruno-collections/casera-api/Subscription/Purchase.bru
Normal file
22
bruno-collections/casera-api/Subscription/Purchase.bru
Normal file
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Purchase
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{api_url}}/subscription/purchase/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"receipt": "base64_encoded_receipt_data",
|
||||
"platform": "ios"
|
||||
}
|
||||
}
|
||||
22
bruno-collections/casera-api/Subscription/Restore.bru
Normal file
22
bruno-collections/casera-api/Subscription/Restore.bru
Normal file
@@ -0,0 +1,22 @@
|
||||
meta {
|
||||
name: Restore
|
||||
type: http
|
||||
seq: 9
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{api_url}}/subscription/restore/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"receipt": "base64_encoded_receipt_data",
|
||||
"platform": "ios"
|
||||
}
|
||||
}
|
||||
15
bruno-collections/casera-api/Subscription/Status.bru
Normal file
15
bruno-collections/casera-api/Subscription/Status.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Status
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{api_url}}/subscription/status/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: Upgrade Trigger
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{api_url}}/subscription/upgrade-trigger/
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"trigger": "residence_limit"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Upgrade Triggers
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{api_url}}/subscription/upgrade-triggers/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
||||
|
||||
headers {
|
||||
Authorization: Token {{auth_token}}
|
||||
}
|
||||
Reference in New Issue
Block a user