[API] add cloud and experimantal badges + new pages (#292)

This commit is contained in:
Pascal Fischer
2025-03-20 18:04:45 +01:00
committed by GitHub
parent 553d2908b8
commit 4a66f17880
18 changed files with 2873 additions and 97 deletions

View File

@@ -2,12 +2,24 @@ export const title = 'Peers'
## List all Peers {{ tag: 'GET' , label: '/api/peers' }}
## List all Peers {{ tag: 'GET' , label: '/api/peers' }}
<Row>
<Col>
Returns a list of all peers
</Col>
### Query Parameters
<Properties>
<Property name="name" type="string" required={false}>
Filter peers by name
</Property>
<Property name="ip" type="string" required={false}>
Filter peers by IP address
</Property>
</Properties>
</Col>
<Col sticky>
<CodeGroup title="Request" tag="GET" label="/api/peers">
@@ -252,7 +264,7 @@ echo $response;
---
## Retrieve a Peer {{ tag: 'GET' , label: '/api/peers/{peerId}' }}
## Retrieve a Peer {{ tag: 'GET' , label: '/api/peers/{peerId}' }}
<Row>
<Col>
@@ -504,7 +516,7 @@ echo $response;
---
## Update a Peer {{ tag: 'PUT' , label: '/api/peers/{peerId}' }}
## Update a Peer {{ tag: 'PUT' , label: '/api/peers/{peerId}' }}
<Row>
<Col>
@@ -842,7 +854,7 @@ echo $response;
---
## Delete a Peer {{ tag: 'DELETE' , label: '/api/peers/{peerId}' }}
## Delete a Peer {{ tag: 'DELETE' , label: '/api/peers/{peerId}' }}
<Row>
<Col>
@@ -1006,7 +1018,7 @@ echo $response;
---
## List accessible Peers {{ tag: 'GET' , label: '/api/peers/{peerId}/accessible-peers' }}
## List accessible Peers {{ tag: 'GET' , label: '/api/peers/{peerId}/accessible-peers' }}
<Row>
<Col>