Seehttps://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details`))}function l(){f(p).forEach(function(A){delete p[A]})}var s=d(34).default,f=d(13).default,g=d(3).default;o.__esModule=!0,o.createProtoAccessControl=r,o.resultIsAllowed=n,o.resetLoggedProperties=l;var i=d(36),v=d(32),h=g(v),p=s(null)},function(E,o,d){E.exports={default:d(35),__esModule:!0}},function(E,o,d){var r=d(9);E.exports=function(n,u){return r.create(n,u)}},function(E,o,d){"use strict";function r(){for(var c=arguments.length,l=Array(c),s=0;s<c;s++)l[s]=arguments[s];return u.extend.apply(void 0,[n(null)].concat(l))}var n=d(34).default;o.__esModule=!0,o.createNewLookupObject=r;var u=d(5)},function(E,o){"use strict";function d(r){this.string=r}o.__esModule=!0,d.prototype.toString=d.prototype.toHTML=function(){return""+this.string},o.default=d,E.exports=o.default},function(E,o,d){"use strict";function r(b){var P=b&&b[0]||1,L=_.COMPILER_REVISION;if(!(P>=_.LAST_COMPATIBLE_COMPILER_REVISION&&P<=_.COMPILER_REVISION)){if(P<_.LAST_COMPATIBLE_COMPILER_REVISION){var k=_.REVISION_CHANGES[L],F=_.REVISION_CHANGES[P];throw new C.default("Template was precompiled with an older version of Handlebars than the current runtime. Please update your precompiler to a newer version ("+k+") or downgrade your runtime to an older version ("+F+").")}throw new C.default("Template was precompiled with a newer version of Handlebars than the current runtime. Please update your runtime to a newer version ("+b[1]+").")}}function n(b,P){function L(W,z,$){$.hash&&(z=T.extend({},z,$.hash),$.ids&&($.ids[0]=!0)),W=P.VM.resolvePartial.call(this,W,z,$);var V=T.extend({},$,{hooks:this.hooks,protoAccessControl:this.protoAccessControl}),Y=P.VM.invokePartial.call(this,W,z,V);if(Y==null&&P.compile&&($.partials[$.name]=P.compile(W,b.compilerOptions,P),Y=$.partials[$.name](z,V)),Y!=null){if($.indent){for(var nt=Y.split(`
`+s+"^"},next:function(){if(this.done)return this.EOF;this._input||(this.done=!0);var l,s,f,g,i;this._more||(this.yytext="",this.match="");for(var v=this._currentRules(),h=0;h<v.length&&(f=this._input.match(this.rules[v[h]]),!f||s&&!(f[0].length>s[0].length)||(s=f,g=h,this.options.flex));h++);return s?(i=s[0].match(/(?:\r\n?|\n).*/g),i&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+s[0].length},this.yytext+=s[0],this.match+=s[0],this.matches=s,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._input=this._input.slice(s[0].length),this.matched+=s[0],l=this.performAction.call(this,this.yy,this,v[g],this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),l||void 0):this._input===""?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+`.Unrecognizedtext.
*/var r=function(n){var u=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,c=0,l={},s={manual:n.Prism&&n.Prism.manual,disableWorkerMessageHandler:n.Prism&&n.Prism.disableWorkerMessageHandler,util:{encode:functionw(C){returnCinstanceoff?newf(C.type,w(C.content),C.alias):Array.isArray(C)?C.map(w):C.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(w){returnObject.prototype.toString.call(w).slice(8,-1)},objId:function(w){returnw.__id||Object.defineProperty(w,"__id",{value:++c}),w.__id},clone:functionw(C,_){_=_||{};varD,R;switch(s.util.type(C)){case"Object":if(R=s.util.objId(C),_[R])return_[R];D={},_[R]=D;for(varNinC)C.hasOwnProperty(N)&&(D[N]=w(C[N],_));returnD;case"Array":returnR=s.util.objId(C),_[R]?_[R]:(D=[],_[R]=D,C.forEach(function(b,P){D[P]=w(b,_)}),D);default:returnC}},getLanguage:function(w){for(;w;){varC=u.exec(w.className);if(C)returnC[1].toLowerCase();w=w.parentElement}return"none"},setLanguage:function(w,C){w.className=w.className.replace(RegExp(u,"gi"),""),w.classList.add("language-"+C)},currentScript:function(){if(typeofdocument=="undefined")returnnull;if("currentScript"indocument&&1<2)returndocument.currentScript;try{thrownewError}catch(D){varw=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(D.stack)||[])[1];if(w){varC=document.getElementsByTagName("script");for(var_inC)if(C[_].src==w)returnC[_]}returnnull}},isActive:function(w,C,_){for(varD="no-"+C;w;){varR=w.classList;if(R.contains(C))return!0;if(R.contains(D))return!1;w=w.parentElement}return!!_}},languages:{plain:l,plaintext:l,text:l,txt:l,extend:function(w,C){var_=s.util.clone(s.languages[w]);for(varDinC)_[D]=C[D];return_},insertBefore:function(w,C,_,D){D=D||s.languages;varR=D[w],N={};for(varbinR)if(R.hasOwnProperty(b)){if(b==C)for(varPin_)_.hasOwnProperty(P)&&(N[P]=_[P]);_.hasOwnProperty(b)||(N[b]=R[b])}varL=D[w];returnD[w]=N,s.languages.DFS(s.languages,function(k,F){F===L&&k!=w&&(this[k]=N)}),N},DFS:functionw(C,_,D,R){R=R||{};varN=s.util.objId;for(varbinC)if(C.hasOwnProperty(b)){_.call(C,b,C[b],D||b);varP=C[b],L=s.util.type(P);L==="Object"&&!R[N(P)]?(R[N(P)]=!0,w(P,_,null,R)):L==="Array"&&!R[N(P)]&&(R[N(P)]=!0,w(P,_,b,R))}}},plugins:{},highlightAll:function(w,C){s.highlightAllUnder(document,w,C)},highlightAllUnder:function(w,C,_){varD={callback:_,container:w,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};s.hooks.run("before-highlightall",D),D.elements=Array.prototype.slice.apply(D.container.querySelectorAll(D.selector)),s.hooks.run("before-all-elements-highlight",D);for(varR=0,N;N=D.elements[R++];)s.highlightElement(N,C===!0,D.callback)},highlightElement:function(w,C,_){varD=s.util.getLanguage(w),R=s.languages[D];s.util.setLanguage(w,D);varN=w.parentElement;N&&N.nodeName.toLowerCase()==="pre"&&s.util.setLanguage(N,D);varb=w.textContent,P={element:w,language:D,grammar:R,code:b};functionL(F){P.highlightedCode=F,s.hooks.run("before-insert",P),P.element.innerHTML=P.highlightedCode,s.hooks.run("after-highlight",P),s.hooks.run("complete",P),_&&_.call(P.element)}if(s.hooks.run("before-sanity-check",P),N=P.element.parentElement,N&&N.nodeName.toLowerCase()==="pre"&&!N.hasAttribute("tabindex")&&N.setAttribute("tabindex","0"),!P.code){s.hooks.run("complete",P),_&&_.call(P.element);return}if(s.hooks.run("before-highlight",P),!P.grammar){L(s.util.encode(P.code));return}if(C&&n.Worker){vark=newWorker(s.filename);k.onmessage=function(F){L(F.data)},k.postMessage(JSON.stringify({language:P.language,code:P.code,immediateClose:!0}))}elseL(s.highlight(P.code,P.grammar,P.language))},highlight:function(w,C,_){varD={code:w,grammar:C,language:_};if(s.hooks.run("before-tokenize",D),!D.grammar)thrownewError('The language "'+D.language+'" has no grammar.');returnD.tokens=s.tokenize(D.code,D.grammar),s.hooks.run("after-tokenize",D),f.stringify(s.util.encode(D.tokens),D.language)},tokenize:function(w,C){var_=C.rest;if(_){for(varDin_)C[D]=_[D];deleteC.rest}varR=newv;returnh(R,R.head,w),i(w,R,C,R.head,0),A(R)},hooks:{all:{},add
`),y.hasAttribute("data-start")||y.setAttribute("data-start",String(P+1))}T.textContent=R,r.highlightElement(T)},function(R){y.setAttribute(s,i),T.textContent=R})}}),r.plugins.fileHighlight={highlight:function(y){for(var T=(y||document).querySelectorAll(v),w=0,C;C=T[w++];)r.highlightElement(C)}};var A=!1;r.fileHighlight=function(){A||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),A=!0),r.plugins.fileHighlight.highlight.apply(this,arguments)}}()},2257:(x,E,o)=>{const d=Symbol("SemVer ANY");class r{static get ANY(){return d}constructor(v,h){if(h=n(h),v instanceof r){if(v.loose===!!h.loose)return v;v=v.value}s("comparator",v,h),this.options=h,this.loose=!!h.loose,this.parse(v),this.semver===d?this.value="":this.value=this.operator+this.semver.version,s("comp",this)}parse(v){const h=this.options.loose?u[c.COMPARATORLOOSE]:u[c.COMPARATOR],p=v.match(h);if(!p)throw new TypeError(`Invalidcomparator:${v}`);this.operator=p[1]!==void 0?p[1]:"",this.operator==="="&&(this.operator=""),p[2]?this.semver=new f(p[2],this.options.loose):this.semver=d}toString(){return this.value}test(v){if(s("Comparator.test",v,this.options.loose),this.semver===d||v===d)return!0;if(typeof v=="string")try{v=new f(v,this.options)}catch(h){return!1}return l(v,this.operator,this.semver,this.options)}intersects(v,h){if(!(v instanceof r))throw new TypeError("a Comparator is required");if((!h||typeof h!="object")&&(h={loose:!!h,includePrerelease:!1}),this.operator==="")return this.value===""?!0:new g(v.value,h).test(this.value);if(v.operator==="")return v.value===""?!0:new g(this.value,h).test(v.semver);const p=(this.operator===">="||this.operator===">")&&(v.operator===">="||v.operator===">"),A=(this.operator==="<="||this.operator==="<")&&(v.operator==="<="||v.operator==="<"),m=this.semver.version===v.semver.version,y=(this.operator===">="||this.operator==="<=")&&(v.operator===">="||v.operator==="<="),T=l(this.semver,"<",v.semver,h)&&(this.operator===">="||this.operator===">")&&(v.operator==="<="||v.operator==="<"),w=l(this.semver,">",v.semver,h)&&(this.operator==="<="||this.operator==="<")&&(v.operator===">="||v.operator===">");return p||A||m&&y||T||w}}x.exports=r;const n=o(2893),{re:u,t:c}=o(5765),l=o(7539),s=o(4225),f=o(6376),g=o(6902)},6902:(x,E,o)=>{class d{constructor(H,W){if(W=u(W),H instanceof d)return H.loose===!!W.loose&&H.includePrerelease===!!W.includePrerelease?H:new d(H.raw,W);if(H instanceof c)return this.raw=H.value,this.set=[[H]],this.format(),this;if(this.options=W,this.loose=!!W.loose,this.includePrerelease=!!W.includePrerelease,this.raw=H,this.set=H.split("||").map(z=>this.parseRange(z.trim())).filter(z=>z.length),!this.set.length)throw new TypeError(`InvalidSemVerRange:${H}`);if(this.set.length>1){const z=this.set[0];if(this.set=this.set.filter($=>!p($[0])),this.set.length===0)this.set=[z];else if(this.set.length>1){for(const $ of this.set)if($.length===1&&A($[0])){this.set=[$];break}}}this.format()}format(){return this.range=this.set.map(H=>H.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(H){H=H.trim();const z=`parseRange:${Object.keys(this.options).join(",")}:${H}`,$=n.get(z);if($)return $;const V=this.options.loose,Y=V?f[g.HYPHENRANGELOOSE]:f[g.HYPHENRANGE];H=H.replace(Y,L(this.options.includePrerelease)),l("hyphen replace",H),H=H.replace(f[g.COMPARATORTRIM],i),l("comparator trim",H),H=H.replace(f[g.TILDETRIM],v),H=H.replace(f[g.CARETTRIM],h),H=H.split(/\s+/).join(" ");let nt=H.split(" ").map(dt=>y(dt,this.options)).join(" ").split(/\s+/).map(dt=>P(dt,this.options));V&&(nt=nt.filter(dt=>(l("loose invalid filter",dt,this.options),!!dt.match(f[g.COMPARATORLOOSE])))),l("range list",nt);const it=new Map,ut=nt.map(dt=>new c(dt,this.options));for(const dt of ut){if(p(dt))return[dt];it.set(dt.value,dt)}it.size>1&&it.has("")&&it.delete("");const et=[...it.values()];return n.set(z,et),et}intersects(H,W){if(!(H instanceof d))throw new TypeError("a Range is required");return this.set.some(z=>m(z,W)&&H.set.some($=>m($,W)&&z.every(V=>$.every(Y=>V.in
`+Qt),st.find(".sample-request-response").is(":visible")&&st.find(".sample-request-response").fadeTo(1,.1),st.find(".sample-request-response").fadeTo(250,1),st.find(".sample-request-response-json").text(Gt),v().highlightAll()}}function R(Ft,lt,Ct){const It=E()('article[data-group="'+Ft+'"][data-name="'+lt+'"][data-version="'+Ct+'"]');It.find(".sample-request-response-json").html(""),It.find(".sample-request-response").hide(),It.find(".sample-request-input").each((mt,vt)=>{vt.value=vt.placeholder!==vt.dataset.name?vt.placeholder:""});const st=It.find(".sample-request-url");st.val(st.prop("defaultValue"))}const N={"Allowed values:":"Valors permesos:","Compare all with predecessor":"Comparar tot amb versi\xF3 anterior","compare changes to:":"comparar canvis amb:","compared to":"comparat amb","Default value:":"Valor per defecte:",Description:"Descripci\xF3",Field:"Camp",General:"General","Generated with":"Generat amb",Name:"Nom","No response values.":"Sense valors en la resposta.",optional:"opcional",Parameter:"Par\xE0metre","Permission:":"Permisos:",Response:"Resposta",Send:"Enviar","Send a Sample Request":"Enviar una petici\xF3 d'exemple","show up to version:":"mostrar versi\xF3:","Size range:":"Tamany de rang:",Type:"Tipus",url:"url"},b={"Allowed values:":"Povolen\xE9 hodnoty:","Compare all with predecessor":"Porovnat v\u0161e s p\u0159edchoz\xEDmi verzemi","compare changes to:":"porovnat zm\u011Bny s:","compared to":"porovnat s","Default value:":"V\xFDchoz\xED hodnota:",Description:"Popis",Field:"Pole",General:"Obecn\xE9","Generated with":"Vygenerov\xE1no pomoc\xED",Name:"N\xE1zev","No response values.":"Nebyly vr\xE1ceny \u017E\xE1dn\xE9 hodnoty.",optional:"voliteln\xE9",Parameter:"Parametr","Permission:":"Opr\xE1vn\u011Bn\xED:",Response:"Odpov\u011B\u010F",Send:"Odeslat","Send a Sample Request":"Odeslat uk\xE1zkov\xFD po\u017Eadavek","show up to version:":"zobrazit po verzi:","Size range:":"Rozsah velikosti:",Type:"Typ",url:"url"},P={"Allowed values:":"Erlaubte Werte:","Compare all with predecessor":"Vergleiche alle mit ihren Vorg\xE4ngern","compare changes to:":"vergleiche \xC4nderungen mit:","compared to":"verglichen mit","Default value:":"Standardwert:",Description:"Beschreibung",Field:"Feld",General:"Allgemein","Generated with":"Erstellt mit",Name:"Name","No response values.":"Keine R\xFCckgabewerte.",optional:"optional",Parameter:"Parameter","Permission:":"Berechtigung:",Response:"Antwort",Send:"Senden","Send a Sample Request":"Eine Beispielanfrage senden","show up to version:":"zeige bis zur Version:","Size range:":"Gr\xF6\xDFenbereich:",Type:"Typ",url:"url"},L={"Allowed values:":"Valores permitidos:","Compare all with predecessor":"Comparar todo con versi\xF3n anterior","compare changes to:":"comparar cambios con:","compared to":"comparado con","Default value:":"Valor por defecto:",Description:"Descripci\xF3n",Field:"Campo",General:"General","Generated with":"Generado con",Name:"Nombre","No response values.":"Sin valores en la respuesta.",optional:"opcional",Parameter:"Par\xE1metro","Permission:":"Permisos:",Response:"Respuesta",Send:"Enviar","Send a Sample Request":"Enviar una petici\xF3n de ejemplo","show up to version:":"mostrar a versi\xF3n:","Size range:":"Tama\xF1o de rango:",Type:"Tipo",url:"url"},k={"Allowed values:":"Valeurs autoris\xE9es :",Body:"Corps","Compare all with predecessor":"Tout comparer avec ...","compare changes to:":"comparer les changements \xE0 :","compared to":"comparer \xE0","Default value:":"Valeur par d\xE9faut :",Description:"Description",Field:"Champ",General:"G\xE9n\xE9ral","Generated with":"G\xE9n\xE9r\xE9 avec",Header:"En-t\xEAte",Headers:"En-t\xEAtes",Name:"Nom","No response values.":"Aucune valeur de r\xE9ponse.","No value":"Aucune valeur",optional:"optionnel",Parameter:"Param\xE8tre",Parameters:"Param\xE8tres","Permission:":"Permission :","Query Parameter(s)":"Param\xE8tre(s) de la requ\xEAte","Query Parameters":"Param\xE8tres de la requ\xEAte","Request Body":"Corps de la requ\xEAte",required:"requis",Response:"R\xE9ponse",Send:"Envoyer","Send a Sample Request":"Envoyer une
HTTP/1.0200
{
'queue_size':10,
'overdue_watches':["watch-uuid-list"],
'uptime':38344.55,
'watch_count':800,
'version':"0.40.1"
}`,type:"curl"}],name:"Get_Info",group:"System_Information",version:"0.0.0",filename:"api_v1.py",groupTitle:"System_Information"},{type:"post",url:"/api/v1/watch",title:"Create a single watch",description:'<p>Requires atleast <code>url</code> set, can accept the same structure as <a href="#api-Watch-Watch">get single watch information</a> to create.</p>',examples:[{title:"Example usage:",content:`curlhttp://localhost:4000/api/v1/watch -H"x-api-key:813031b16330fe25e3780cf0325daa45" -H "Content-Type: application/json" -d '{"url": "https://my-nice.com" , "tag": "nice list"}'`,type:"curl"}],name:"Create",group:"Watch",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:"<p>Was created</p>"}],500:[{group:"500",type:"String",optional:!1,field:"ERR",description:"<p>Some other error</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch"},{type:"delete",url:"/api/v1/watch/:uuid",title:"Delete a watch and related history",examples:[{title:"Example usage:",content:'curl http://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091 -X DELETE -H"x-api-key:813031b16330fe25e3780cf0325daa45"',type:"curl"}],parameter:{fields:{Parameter:[{group:"Parameter",type:"uuid",optional:!1,field:"uuid",description:"<p>Watch unique ID.</p>"}]}},name:"Delete",group:"Watch",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:"<p>Was deleted</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch"},{type:"put",url:"/api/v1/watch/:uuid",title:"Update watch information",examples:[{title:"Example usage:",content:`Update (PUT)
curlhttp://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091 -X PUT -H"x-api-key:813031b16330fe25e3780cf0325daa45" -H "Content-Type: application/json" -d '{"url": "https://my-nice.com" , "tag": "new list"}'`,type:"curl"}],description:'<p>Updates an existing watch using JSON, accepts the same structure as returned in <a href="#api-Watch-Watch">get single watch information</a></p>',parameter:{fields:{Parameter:[{group:"Parameter",type:"uuid",optional:!1,field:"uuid",description:"<p>Watch unique ID.</p>"}]}},name:"Update_a_watch",group:"Watch",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:"<p>Was updated</p>"}],500:[{group:"500",type:"String",optional:!1,field:"ERR",description:"<p>Some other error</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch"},{type:"get",url:"/api/v1/watch/:uuid",title:"Get a single watch data",description:"<p>Retrieve watch information and set muted/paused status</p>",examples:[{title:"Example usage:",content:`curl http://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091 -H"x-api-key:813031b16330fe25e3780cf0325daa45"
curl"http://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091?paused=unpaused"-H"x-api-key:813031b16330fe25e3780cf0325daa45"`,type:"curl"}],name:"Watch",group:"Watch",parameter:{fields:{Parameter:[{group:"Parameter",type:"uuid",optional:!1,field:"uuid",description:"<p>Watch unique ID.</p>"}]}},query:[{group:"Query",type:"Boolean",optional:!0,field:"recheck",description:"<p>Recheck this watch <code>recheck=1</code></p>"},{group:"Query",type:"String",optional:!0,field:"paused",description:"<p>=<code>paused</code> or =<code>unpaused</code> , Sets the PAUSED state</p>"},{group:"Query",type:"String",optional:!0,field:"muted",description:"<p>=<code>muted</code> or =<code>unmuted</code> , Sets the MUTE NOTIFICATIONS state</p>"}],success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:"<p>When paused/muted/recheck operation OR full JSON object of the watch</p>"},{group:"200",type:"JSON",optional:!1,field:"WatchJSON",description:"<p>JSON Full JSON object of the watch</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch"},{type:"get",url:"/api/v1/watch/<string:uuid>/history",title:"Get a list of all historical snapshots available for a watch",description:"<p>Requires <code>uuid</code>, returns list</p>",examples:[{title:"Example usage:",content:`curlhttp://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091/history -H"x-api-key:813031b16330fe25e3780cf0325daa45" -H "Content-Type: application/json"
}`,type:"curl"}],name:"Get_list_of_available_stored_snapshots_for_watch",group:"Watch_History",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:""}],404:[{group:"404",type:"String",optional:!1,field:"ERR",description:"<p>Not found</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch_History"},{type:"get",url:"/api/v1/watch/<string:uuid>/history/<int:timestamp>",title:"Get single snapshot from watch",description:'<p>Requires watch <code>uuid</code> and <code>timestamp</code>. <code>timestamp</code> of "<code>latest</code>" for latest available snapshot, or <a href="#api-Watch_History-Get_list_of_available_stored_snapshots_for_watch">use the list returned here</a></p>',examples:[{title:"Example usage:",content:'curl http://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091/history/1677092977 -H"x-api-key:813031b16330fe25e3780cf0325daa45" -H "Content-Type: application/json"',type:"curl"}],name:"Get_single_snapshot_content",group:"Watch_History",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:""}],404:[{group:"404",type:"String",optional:!1,field:"ERR",description:"<p>Not found</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch_History"},{type:"get",url:"/api/v1/watch",title:"List watches",description:"<p>Return concise list of available watches and some very basic info</p>",examples:[{title:"Example usage:",content:`curlhttp://localhost:4000/api/v1/watch -H"x-api-key:813031b16330fe25e3780cf0325daa45"
recheck_all=1torecheckall`,type:"curl"}],parameter:{fields:{Parameter:[{group:"Parameter",type:"String",optional:!0,field:"recheck_all",description:"<p>Optional Set to =1 to force recheck of all watches</p>"},{group:"Parameter",type:"String",optional:!0,field:"tag",description:"<p>Optional name of tag to limit results</p>"}]}},name:"ListWatches",group:"Watch_Management",success:{fields:{200:[{group:"200",type:"String",optional:!1,field:"OK",description:"<p>Was created</p>"}]}},version:"0.0.0",filename:"api_v1.py",groupTitle:"Watch_Management"}];const lt={name:"changedetection.io API",version:"0.1.0",description:"Manage your changedetection.io watches via API, requires the `x-api-key` header which is found in the settings UI.",title:"changedetection.io API",url:"",sampleUrl:!1,defaultVersion:"0.0.0",apidoc:"0.3.0",generator:{name:"apidoc",time:"Wed Feb 22 2023 23:38:56 GMT+0100 (Central European Standard Time)",url:"https://apidocjs.com",version:"0.54.0"}};kt();const Ct=u().compile(E()("#template-header").html()),It=u().compile(E()("#template-footer").html()),st=u().compile(E()("#template-article").html()),mt=u().compile(E()("#template-compare-article").html()),vt=u().compile(E()("#template-generator").html()),St=u().compile(E()("#template-project").html()),Zt=u().compile(E()("#template-sections").html()),Xt=u().compile(E()("#template-sidenav").html()),jt={aloneDisplay:!1,showRequiredLabels:!1,withGenerator:!0,withCompare:!0};lt.template=Object.assign(jt,(Z=lt.template)!=null?Z:{}),lt.template.forceLanguage&&Ot(lt.template.forceLanguage);const _t=(0,o.groupBy)(Ft,J=>J.group),Gt={};E().each(_t,(J,U)=>{Gt[J]=(0,o.groupBy)(U,q=>q.name)});const Qt=[];E().each(Gt,(J,U)=>{let q=[];E().each(U,(tt,at)=>{const ht=at[0].title;ht&&q.push(ht.toLowerCase()+"#~#"+tt)}),q.sort(),lt.order&&(q=M(q,lt.order,"#~#")),q.forEach(tt=>{const ht=tt.split("#~#")[1];U[ht].forEach(gt=>{Qt.push(gt)})})}),Ft=Qt;let qt={};const He={};let Oe={};Oe[lt.version]=1,E().each(Ft,(J,U)=>{qt[U.group]=1,He[U.group]=U.groupTitle||U.group,Oe[U.version]=1}),qt=Object.keys(qt),qt.sort(),lt.order&&(qt=G(He,lt.order)),Oe=Object.keys(Oe),Oe.sort(r().compare),Oe.reverse();const Ce=[];qt.forEach(J=>{Ce.push({group:J,isHeader:!0,title:He[J]});let U="";Ft.forEach(q=>{q.group===J&&(U!==q.name?Ce.push({title:q.title,group:J,name:q.name,type:q.type,version:q.version,url:q.url}):Ce.push({title:q.title,group:J,hidden:!0,name:q.name,type:q.type,version:q.version,url:q.url}),U=q.name)})});function Tn(J,U,q){let tt=!1;if(!U)return tt;const at=U.match(/<h(1|2).*?>(.+?)<\/h(1|2)>/gi);return at&&at.forEach(function(ht){const gt=ht.substring(2,3),wt=ht.replace(/<.+?>/g,""),Tt=ht.match(/id="api-([^-]+)(?:-(.+))?"/),Lt=Tt?Tt[1]:null,Yt=Tt?Tt[2]:null;gt==="1"&&wt&&Lt&&(J.splice(q,0,{group:Lt,isHeader:!0,title:wt,isFixed:!0}),q++,tt=!0),gt==="2"&&wt&&Lt&&Yt&&(J.splice(q,0,{group:Lt,name:Yt,isHeader:!1,title:wt,isFixed:!1,version:"1.0"}),q++)}),tt}let sn;if(lt.header&&(sn=Tn(Ce,lt.header.content,0),sn||Ce.unshift({group:"_header",isHeader:!0,title:lt.header.title==null?yt("General"):lt.header.title,isFixed:!0})),lt.footer){const J=Ce.length;sn=Tn(Ce,lt.footer.content,Ce.length),!sn&<.footer.title!=null&&Ce.splice(J,0,{group:"_footer",isHeader:!0,title:lt.footer.title,isFixed:!0})}const Ue=lt.title?lt.title:"apiDoc: "+lt.name+" - "+lt.version;E()(document).attr("title",Ue),E()("#loader").remove();const dn={nav:Ce};E()("#sidenav").append(Xt(dn)),E()("#generator").append(vt(lt)),(0,o.extend)(lt,{versions:Oe}),E()("#project").append(St(lt)),lt.header&&E()("#header").append(Ct(lt.header)),lt.footer&&(E()("#footer").append(It(lt.footer)),lt.template.aloneDisplay&&document.getElementById("api-_footer").classList.add("hide"));const Me={};let gn="";qt.forEach(function(J){const U=[];let q="",tt={},at=J,ht="";Me[J]={},Ft.forEach(function(gt){J===gt.group&&(q!==gt.name?(Ft.forEach(function(wt){J===wt.group&>.name===wt.name&&(Object.prototype.hasOwnProperty.call(Me[gt.group],gt.name)||(Me[gt.group][gt.name]=[]),Me[gt.group][gt.name].push(wt.version))}),tt={article:gt,versions:Me[gt.group][gt.na