You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List projects. Requires token with scope `projects.get.own`.
501
+
502
+
-`limit` <code>[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)</code> The number of projects to return per page. No more than 100. Default: `20`
503
+
-`page` <code>[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)</code> The page number. No more than 2³² (4294967296). Default: `1`
@@ -742,6 +825,16 @@ Your current primary account e-mail address
742
825
-`address` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String) | [null](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/null)</code> Your primary e-mail address. May ben null if anonymised.
743
826
-`verified` <code>[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)</code> Whether this e-mail address has been verified
744
827
828
+
<aname="interface-cloudnodeproject"></a>
829
+
830
+
### Interface: `Cloudnode.Project`
831
+
832
+
An isolated group of servers
833
+
834
+
-`id` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)</code> The ID of the project
835
+
-`name` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)</code> Project name
836
+
-`user` <code>[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)</code> ID of the user that owns this project
Copy file name to clipboardExpand all lines: browser/Cloudnode.js
+74Lines changed: 74 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -570,6 +570,80 @@ class Cloudnode {
570
570
returnawaitthis.#sendRequest({"type": "operation","description": "List account permissions with user-friendly descriptions. Some permissions (such as wildcard ones) may be excluded in this list if they don't have a description.","token": "account.details","method": "GET","path": "/account/permissions","parameters": {},"returns": [{"status": 200,"type": "Permission[]"},{"status": 401,"type": "Error & {code: \"UNAUTHORIZED\"}"},{"status": 403,"type": "Error & {code: \"NO_PERMISSION\"}"},{"status": 429,"type": "Error & {code: \"RATE_LIMITED\"}"},{"status": 500,"type": "Error & {code: \"INTERNAL_SERVER_ERROR\"}"},{"status": 503,"type": "Error & {code: \"MAINTENANCE\"}"}]},{},{},{});
571
571
},
572
572
};
573
+
projects={
574
+
/**
575
+
* List projects
576
+
* @GET /projects
577
+
* @param limit The number of projects to return per page. No more than 100.
578
+
* @param page The page number. No more than 2³² (4294967296).
0 commit comments