lsst-epo / rubin-obs-api

The backend to the Rubin Obs. operational site
0 stars 0 forks source link

259 add page specific query params to revalidate endpoint request #260

Closed ericdrosas87 closed 4 months ago

ericdrosas87 commented 4 months ago

Drop a console.info(query); in the client revalidate.js and save a page or disable/enable to see the navigation tag sent as a query param.

ericdrosas87 commented 4 months ago

Sample reval request body:

{
    uri: 'about/history',
    secret: '1128f3c472c118caa63',
    'tags[0]': 'navigation'
}
{
    uri: 'es/about/history',
    secret: '1128f3c472c118caa63',
    'tags[0]': 'navigation'
}
ericdrosas87 commented 4 months ago

Resolves #259