Secrets
Alle operaties rond Secrets.
Datamodel
De endpoints van deze module werken op de volgende entiteit. De schemareferentie toont elk veld met type, validatie en relaties:
| Entiteit | Schema-ID | Velden | Volgnummer | Permissions |
|---|---|---|---|---|
| Secret | secret |
34 | — | secret_* |
Endpoints
| Methode | Pad | Operatie | Beschrijving |
|---|---|---|---|
POST |
/v1/secrets |
Create secret | Create a new secret in the active tenant. |
DELETE |
/v1/secrets/{id} |
Delete secret | Soft delete entity. |
DELETE |
/v1/secrets/{id}/share/{userId} |
DELETE /v1/secrets/{id}/share/{userId} | CodeMeta OS API endpoint. |
GET |
/v1/secrets/{id} |
Get secret by id | Fetch a single secret. |
GET |
/v1/secrets/{id}/access |
GET /v1/secrets/{id}/access | CodeMeta OS API endpoint. |
GET |
/v1/secrets/{id}/linked |
Get linked entities | CodeMeta OS API endpoint. |
GET |
/v1/secrets/{id}/timeline |
Get timeline | CodeMeta OS API endpoint. |
GET |
/v1/secrets/{id}/transitions |
List transitions | CodeMeta OS API endpoint. |
GET |
/v1/secrets |
List secrets | List secrets for the active tenant. |
PATCH |
/v1/secrets/{id} |
Patch secret | JSON Merge Patch update. |
POST |
/v1/secrets/bulk |
Bulk operation | CodeMeta OS API endpoint. |
POST |
/v1/secrets/search |
POST /v1/secrets/search | CodeMeta OS API endpoint. |
POST |
/v1/secrets/{id}/share |
POST /v1/secrets/{id}/share | CodeMeta OS API endpoint. |
POST |
/v1/secrets/{id}/transition |
POST /v1/secrets/{id}/transition | CodeMeta OS API endpoint. |
POST |
/v1/secrets/{id}/transitions/{transitionKey} |
Execute transition | CodeMeta OS API endpoint. |
PUT |
/v1/secrets/{id} |
Replace secret | Full replace with optimistic locking. |