GoodMemGoodMem
ReferenceAPIREST APIAdmin

Reload the active license from disk

POST /v1/admin/license:reload: Triggers the server to reload its license file from the configured directory and returns metadata about the currently active license.

POST
/v1/admin/license:reload

Triggers the server to reload its license file from the configured directory and returns metadata about the currently active license.

Authorization

ApiKeyAuth
headerx-api-key<token>

Header Parameters

GoodMem-Timeout-Ms?integer

Optional waiting budget in milliseconds, measured from REST servlet ingress and shared across all internal gRPC calls. Supply one decimal integer from 1 to 86400000. Omission adds no deadline. Existing shorter deadlines still apply. Expiry returns HTTP 504 before streaming starts; after streaming starts, no successful completion event is sent. Use SSE or opt into GoodMem-Stream-Terminal for an explicit terminal outcome. Retrieval work is cooperatively cancelled. An accepted mutation may still commit after timeout or disconnect; a failed response does not imply rollback.

Formatint64
Range1 <= value <= 86400000

Response Body

License reload attempt processed

application/json
  1. response
status*string

Outcome of the reload attempt, such as LOADED, UNCHANGED, FAILED, or NOT_FOUND.

Value in"LOADED""UNCHANGED""FAILED""NOT_FOUND"
message*string

Human-readable message describing the reload result.

activeLicense?

Metadata for the currently active license after reload, or null if no license is active.

Example Request
curl -X POST 'https://your-goodmem-server.example.com/v1/admin/license:reload' \  -H 'GoodMem-Timeout-Ms: 30000'
Example Response
{  "status": "LOADED",  "message": "string",  "activeLicense": {    "filename": "string",    "sha256": "string",    "sizeBytes": 0,    "modifiedAt": "2019-08-24T14:15:22Z"  }}