Skip to main content

Set the catalog refresh settings

PUT 

/settings/catalog

Required role: admin. Only an account or token with the admin role can call this operation.

Example request
curl --request PUT \
--header "Authorization: Bearer $HOSERVA_TOKEN" \
--header "Content-Type: application/json" \
--data @body.json \
"https://$HOSERVA_HOST:8008/api/v1/settings/catalog"

Sets either or both settings; a field left out stays as it is. An interval other than off, 1h, 6h, 12h or 24h is refused with 400. With the interval off and checkOnOpen off, nothing reaches the catalog host except refreshCatalog. The background check applies a changed interval without a daemon restart.

Request​

Responses​

The settings now saved.