Closed johnalotoski closed 3 years ago
A url webhook option in smash to enable selective automated refresh of the front end cache would permit:
If an optional smash webhook base URL parameter is supplied upon smash startup where:
Smash would then take the following additional webhook action with each of the following endpoint calls:
PATCH Enlist API:
Webhook call all affected new $POOL and $HASH attributes:
PATCH Delist API:
Webhook call all affected delisted $POOL and $HASH attributes:
Also call:
POST Insert Pool metadata (POST api/v1/metadata):
Webhook call all affected pool data inserts to $POOL and $HASH attributes:
This has been superseded by https://github.com/input-output-hk/smash/pull/153
A url webhook option in smash to enable selective automated refresh of the front end cache would permit:
If an optional smash webhook base URL parameter is supplied upon smash startup where:
Smash would then take the following additional webhook action with each of the following endpoint calls:
PATCH Enlist API:
Webhook call all affected new $POOL and $HASH attributes:
PATCH Delist API:
Webhook call all affected delisted $POOL and $HASH attributes:
Also call:
POST Insert Pool metadata (POST api/v1/metadata):
Webhook call all affected pool data inserts to $POOL and $HASH attributes: