Commit 938eb670 authored by Alex Kakiris's avatar Alex Kakiris
Browse files

document POST /api/me/provider

parent 8921d666
Loading
Loading
Loading
Loading
+3 −0
Changes for README.md: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -115,6 +115,9 @@ Endpoints acting on behalf of the logged-in user. They require a valid access to
  - Requires `/dev/shm`: the key and certificate are written there only for the duration of the call. If it is missing, the call fails with `500` and never falls back to disk.
  - A CCF `404` with cause "No API Published accomplish filter conditions" is deliberately returned as `200` with an empty `serviceAPIDescriptions` list.
- GET /api/me/invokers: lists the logged-in user's invoker ids (empty list if none).
- POST /api/me/provider
  - Registers an API provider in CAPIF for the logged-in user, with one key pair and certificate per function (AEF, APF, AMF), all stored in a single Vault secret under `secret/backoffice/users/{uuid}/providers/{apiProvDomId}`.
  - Body: `{"apiProvDomInfo": "..."}`. Returns `201` `{"apiProvDomId": "..."}`.

### Events and Monitoring