feat(bootstrap): update tenant bootstrap endpoint to accept domain and path as query parameters, enhancing tenant resolution logic

This commit is contained in:
2026-08-14 15:17:24 -03:00
parent de8da72354
commit c1bfab471c
15 changed files with 344 additions and 37 deletions

View File

@@ -188,15 +188,18 @@
}
],
"url": {
"raw": "{{base_url}}/api/tenants/bootstrap/{{tenant_domain}}",
"raw": "{{base_url}}/api/tenants/bootstrap?dominio={{tenant_domain}}&path={{tenant_path}}",
"host": [
"{{base_url}}"
],
"path": [
"api",
"tenants",
"bootstrap",
"{{tenant_domain}}"
"bootstrap"
],
"query": [
{"key": "dominio", "value": "{{tenant_domain}}"},
{"key": "path", "value": "{{tenant_path}}"}
]
}
},
@@ -1402,6 +1405,11 @@
"value": "localhost",
"type": "string"
},
{
"key": "tenant_path",
"value": "/",
"type": "string"
},
{
"key": "tenant_id",
"value": "1",