Commit 389611b6 authored by Paris Stentoumis's avatar Paris Stentoumis
Browse files

fix: list service specification should be always filtered by the app provider id

parent 1f0bc397
Loading
Loading
Loading
Loading
+5 −1
Changes for srm/interface-contract.md: 5 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -778,7 +778,11 @@ Number Verification is **not** part of this contract; model separately.

### E.4 Trusted catalog/admin

- `GET /catalog/service-specifications` — list with linked units/requirements.
- `GET /catalog/service-specifications?app_provider_id=<id>` — list with linked
  units/requirements for one tenant. `app_provider_id` is **required** (query param;
  same trusted-internal pattern as `GET /service-instances`). Response is an array of
  the same shape as `GET /catalog/service-specifications/{id}`; an unknown provider
  returns `200 []`, not `404`.
- `POST /catalog/service-specifications` — create a specification with its
  `service_deployment_unit`(s) and `service_capability_requirement`(s) in one transaction;
  emits `event.srm.catalog.updated`. `service_specification.id` is **optional client-supplied**: