Skip to content

Commit

Permalink
Update GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Jun 12, 2024
1 parent 2c6cbad commit d594c4d
Show file tree
Hide file tree
Showing 2 changed files with 104 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.html

Large diffs are not rendered by default.

103 changes: 103 additions & 0 deletions docs/openapi3.json
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,79 @@
]
}
},
"/api/peers/count/{platform}": {
"get": {
"tags": [
"peer"
],
"summary": "Count Peers per platform",
"description": "This function is an API endpoint that retrieves the count of peers per platform. It is tagged with \"peer\" for OpenAPI documentation.\n\n## Parameters\n\n- `platform`: The platform to filter the peers by (windows, macos, linux, android or all). <br>\n\n## Returns\n\nIf successful, this function returns a `Json<PeersCountResponse>` object, which includes the total number of peers for the specified platform. <br>",
"operationId": "peers_count",
"parameters": [
{
"name": "platform",
"in": "path",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/PeersCountResponse"
}
}
}
},
"404": {
"description": ""
}
},
"security": [
{
"authorization": []
}
]
}
},
"/api/peers/cpus": {
"get": {
"tags": [
"peer"
],
"summary": "Get the List of cpus used by the peers",
"description": "This function is an API endpoint that retrieves the count of cpus used by the peers. It is tagged with \"peer\" for OpenAPI documentation.\n\n## Parameters\n\n## Returns\n\nIf successful, this function returns a `Json<Vec<CpuCount>>` object, which includes the total number of cpus used by the peers. <br>",
"operationId": "peers_cpus",
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"$ref": "#/components/schemas/CpuCount"
}
}
}
}
},
"404": {
"description": ""
}
},
"security": [
{
"authorization": []
}
]
}
},
"/api/stategies": {
"get": {
"tags": [
Expand Down Expand Up @@ -2415,6 +2488,36 @@
}
}
},
"PeersCountResponse": {
"type": "object",
"required": [
"total"
],
"properties": {
"total": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
"CpuCount": {
"type": "object",
"required": [
"cpu",
"total"
],
"properties": {
"cpu": {
"type": "string"
},
"total": {
"type": "integer",
"format": "uint32",
"minimum": 0.0
}
}
},
"OidcAuthUrl": {
"type": "object",
"required": [
Expand Down

0 comments on commit d594c4d

Please sign in to comment.