Files
Testing/html5-chat/nodeMulti/node_modules/@pm2/js-api/docs/Bucket.application.html

1690 lines
43 KiB
HTML
Raw Normal View History

2026-11-17 16:15:01 -05:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>application - Documentation</title>
<script src="scripts/prettify/prettify.js"></script>
<script src="scripts/prettify/lang-css.js"></script>
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="styles/prettify.css">
<link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
</head>
<body>
<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
<div class="navicon"></div>
</label>
<label for="nav-trigger" class="overlay"></label>
<nav>
<h2><a href="index.html">Home</a></h2><h3>Namespaces</h3><ul><li><a href="Actions.html">Actions</a><ul class='methods'><li data-type='method'><a href="Actions.html#triggerAction">triggerAction</a></li><li data-type='method'><a href="Actions.html#triggerPM2Action">triggerPM2Action</a></li><li data-type='method'><a href="Actions.html#triggerScopedAction">triggerScopedAction</a></li></ul></li><li><a href="Auth.html">Auth</a><ul class='methods'><li data-type='method'><a href="Auth.html#register">register</a></li><li data-type='method'><a href="Auth.html#revoke">revoke</a></li></ul></li><li><a href="Bucket.html">Bucket</a><ul class='methods'><li data-type='method'><a href="Bucket.html#claimTrial">claimTrial</a></li><li data-type='method'><a href="Bucket.html#destroy">destroy</a></li><li data-type='method'><a href="Bucket.html#removeInvitation">removeInvitation</a></li><li data-type='method'><a href="Bucket.html#removeUser">removeUser</a></li><li data-type='method'><a href="Bucket.html#retrieveCharges">retrieveCharges</a></li><li data-type='method'><a href="Bucket.html#sendFeedback">sendFeedback</a></li><li data-type='method'><a href="Bucket.html#setNotificationState">setNotificationState</a></li><li data-type='method'><a href="Bucket.html#setUserRole">setUserRole</a></li><li data-type='method'><a href="Bucket.html#transferOwnership">transferOwnership</a></li><li data-type='method'><a href="Bucket.html#update">update</a></li><li data-type='method'><a href="Bucket.html#updateUserOptions">updateUserOptions</a></li></ul></li><li><a href="Bucket.alert.html">alert</a><ul class='methods'><li data-type='method'><a href="Bucket.alert.html#create">create</a></li><li data-type='method'><a href="Bucket.alert.html#delete">delete</a></li><li data-type='method'><a href="Bucket.alert.html#deleteEvent">deleteEvent</a></li><li data-type='method'><a href="Bucket.alert.html#get">get</a></li><li data-type='method'><a href="Bucket.alert.html#list">list</a></li><li data-type='method'><a href="Bucket.alert.html#sendReport">sendReport</a></li><li data-type='method'><a href="Bucket.alert.html#triggerSample">triggerSample</a></li><li data-type='method'><a href="Bucket.alert.html#update">update</a></li><li data-type='method'><a href="Bucket.alert.html#updateAlert">updateAlert</a></li><li data-type='method'><a href="Bucket.alert.html#updateSlack">updateSlack</a></li><li data-type='method'><a href="Bucket.alert.html#updateWebhooks">updateWebhooks</a></li></ul></li><li><a href="Bucket.alert.analyzer.html">analyzer</a><ul class='methods'><li data-type='method'><a href="Bucket.alert.analyzer.html#editState">editState</a></li><li data-type='method'><a href="Bucket.alert.analyzer.html#list">list</a></li><li data-type='method'><a href="Bucket.alert.analyzer.html#updateConfig">updateConfig</a></li></ul></li><li><a href="Bucket.application.html">application</a><ul class='methods'><li data-type='method'><a href="Bucket.application.html#create">create</a></li><li data-type='method'><a href="Bucket.application.html#delete">delete</a></li><li data-type='method'><a href="Bucket.application.html#get">get</a></li><li data-type='method'><a href="Bucket.application.html#getPreview">getPreview</a></li><li data-type='method'><a href="Bucket.application.html#getReports">getReports</a></li><li data-type='method'><a href="Bucket.application.html#list">list</a></li><li data-type='method'><a href="Bucket.application.html#update">update</a></li></ul></li><li><a href="Bucket.billing.html">billing</a><ul class='methods'><li data-type='method'><a href="Bucket.billing.html#attachBankAccount">attachBankAccount</a></li><li data-type='method'><a href="Bucket.billing.html#attachCreditCard">attachCreditCard</a></li><li data-type='method'><a href="Bucket.billing.html#deleteBankAccount">deleteBankAccount</a></li><li data-type='method'><a href="Bucket.billing.html#deleteCreditCard">deleteCreditCard</a></li><li data-type='method'><a href="Bucket.billing.html#fetchBankAccount">fetchBankAccount</a></li><li data-type='method'><a href="Bucket.billing.html#fetchCreditCard">fetchCreditCard</a>
</nav>
<div id="main">
<h1 class="page-title">application</h1>
<section>
<header>
<h2>
<span class="ancestors"><a href="Bucket.html">Bucket</a>.</span>
application
</h2>
</header>
<article>
<div class="container-overview">
<dl class="details">
</dl>
</div>
<h3 class="subsection-title">Methods</h3>
<h4 class="name" id="create"><span class="type-signature">(async, route) </span>create<span class="signature">(:id)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">POST</td>
<td class="name last">/api/bucket/:id/applications</td>
</tr>
</table>
Create an application
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Body Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">name</td>
<td class="type">String</td>
<td class="description last"></td>
</tr><tr>
<td class="name">domains</td>
<td class="type">Object</td>
<td class="description last">Array of string with domains</td>
</tr>
</table>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">400</td>
<td class="description last">missing parameters</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly created application</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="delete"><span class="type-signature">(async, route) </span>delete<span class="signature">(:id, :application)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">DELETE</td>
<td class="name last">/api/bucket/:id/applications/:application</td>
</tr>
</table>
Delete an application
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr><tr>
<td class="name">:application</td>
<td class="type">String</td>
<td class="description last">application id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">204</td>
<td class="description last">successfuly deleted application</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
<tr>
<td class="name"><code>:application</code></td>
<td class="type">
</td>
<td class="description last">application id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="get"><span class="type-signature">(async, route) </span>get<span class="signature">(:id, :application)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">GET</td>
<td class="name last">/api/bucket/:id/applications/:application</td>
</tr>
</table>
Get an application
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr><tr>
<td class="name">:application</td>
<td class="type">String</td>
<td class="description last">application id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">404</td>
<td class="description last">application not found</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly retrieved application</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
<tr>
<td class="name"><code>:application</code></td>
<td class="type">
</td>
<td class="description last">application id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="getPreview"><span class="type-signature">(async, route) </span>getPreview<span class="signature">(:id, :application)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">GET</td>
<td class="name last">/api/bucket/:id/applications/:application/preview</td>
</tr>
</table>
Get a screenshot for application
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr><tr>
<td class="name">:application</td>
<td class="type">String</td>
<td class="description last">application id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">404</td>
<td class="description last">preview not found</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly retrieved application screenshot</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
<tr>
<td class="name"><code>:application</code></td>
<td class="type">
</td>
<td class="description last">application id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="getReports"><span class="type-signature">(async, route) </span>getReports<span class="signature">(:id, :application)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">GET</td>
<td class="name last">/api/bucket/:id/applications/:application/report</td>
</tr>
</table>
Get a report (lighthouse + requests size) for application
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr><tr>
<td class="name">:application</td>
<td class="type">String</td>
<td class="description last">application id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">404</td>
<td class="description last">report not found</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly retrieved application report</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
<tr>
<td class="name"><code>:application</code></td>
<td class="type">
</td>
<td class="description last">application id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="list"><span class="type-signature">(async, route) </span>list<span class="signature">(:id)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">GET</td>
<td class="name last">/api/bucket/:id/applications</td>
</tr>
</table>
List applications from statuses and applications
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly retrieved applications</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
</tbody>
</table>
<h4 class="name" id="update"><span class="type-signature">(async, route) </span>update<span class="signature">(:id, :application)</span><span class="type-signature"></span></h4>
<dl class="details">
</dl>
<div class="description">
<h5>Route:</h5>
<table class="params">
<thead><tr><th>Method</th><th class="last">Path</th></tr></thead>
<tr>
<td class="type">PUT</td>
<td class="name last">/api/bucket/:id/applications/:application</td>
</tr>
</table>
Update an application
<h5>Authentication</h5>
<p>A authentication is needed to access this endpoint</p>
<h5>Body Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th>Attributes</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">name</td>
<td class="type">String</td>
<td class="attributes">optional</td>
<td class="description last"></td>
</tr><tr>
<td class="name">domains</td>
<td class="type">Object</td>
<td class="attributes">optional</td>
<td class="description last"></td>
</tr>
</table>
<h5>Header Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">Authorization</td>
<td class="type">String</td>
<td class="description last">bearer access token issued for the user</td>
</tr>
</table>
<h5>Route Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="name">:id</td>
<td class="type">String</td>
<td class="description last">bucket id</td>
</tr><tr>
<td class="name">:application</td>
<td class="type">String</td>
<td class="description last">application id</td>
</tr>
</table>
<h5>Response Code:</h5>
<table class="params">
<thead>
<tr>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tr>
<td class="type">500</td>
<td class="description last">database error</td>
</tr><tr>
<td class="type">400</td>
<td class="description last">missing parameters</td>
</tr><tr>
<td class="type">200</td>
<td class="description last">successfuly updated application</td>
</tr>
</table>
</div>
<h5>Parameters:</h5>
<table class="params">
<thead>
<tr>
<th>Name</th>
<th>Type</th>
<th class="last">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td class="name"><code>:id</code></td>
<td class="type">
</td>
<td class="description last">bucket id</td>
</tr>
<tr>
<td class="name"><code>:application</code></td>
<td class="type">
</td>
<td class="description last">application id</td>
</tr>
</tbody>
</table>
</article>
</section>
</div>
<br class="clear">
<footer>
Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Thu Jun 13 2019 12:24:19 GMT+0000 (Coordinated Universal Time) using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>
<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
</body>
</html>