mirror of
https://github.com/netbirdio/docs.git
synced 2026-04-16 07:26:35 +00:00
use small letters for the api badges (#297)
This commit is contained in:
@@ -4,7 +4,7 @@ export const title = '<%- tag %>'
|
||||
|
||||
<% operations.forEach(function(operation){ %>
|
||||
|
||||
## <%- operation.summary %> <% if(operation.deprecated) { %> <Badge status="warning" text="Deprecated" /> <% } %><% if(operation["x-cloud-only"]) { %> <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> <% } %><% if(operation["x-experimental"]) { %> <Badge status="experimental" text="Experimental" hoverText="This feature is experimental. The endpoint will likely change and does not guarantee backwards compatibility." /> <% } %> {{ tag: '<%- operation.operation.toUpperCase() %>' , label: '<%- operation.path %>' }}
|
||||
## <%- operation.summary %> <% if(operation.deprecated) { %> <Badge status="warning" text="deprecated" /> <% } %><% if(operation["x-cloud-only"]) { %> <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> <% } %><% if(operation["x-experimental"]) { %> <Badge status="experimental" text="experimental" hoverText="This feature is experimental. The endpoint will likely change and we do not guarantee backwards compatibility." /> <% } %> {{ tag: '<%- operation.operation.toUpperCase() %>' , label: '<%- operation.path %>' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
|
||||
@@ -211,7 +211,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## List all Network Traffic Events <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> <Badge status="experimental" text="Experimental" hoverText="This feature is experimental. The endpoint will likely change and does not guarantee backwards compatibility." /> {{ tag: 'GET' , label: '/api/events/network-traffic' }}
|
||||
## List all Network Traffic Events <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> <Badge status="experimental" text="experimental" hoverText="This feature is experimental. The endpoint will likely change and we do not guarantee backwards compatibility." /> {{ tag: 'GET' , label: '/api/events/network-traffic' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
|
||||
@@ -2,7 +2,7 @@ export const title = 'Ingress Ports'
|
||||
|
||||
|
||||
|
||||
## List all Port Allocations <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/peers/{peerId}/ingress/ports' }}
|
||||
## List all Port Allocations <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/peers/{peerId}/ingress/ports' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -226,7 +226,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Create a Port Allocation <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'POST' , label: '/api/peers/{peerId}/ingress/ports' }}
|
||||
## Create a Port Allocation <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'POST' , label: '/api/peers/{peerId}/ingress/ports' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -614,7 +614,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Retrieve a Port Allocation <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
## Retrieve a Port Allocation <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -830,7 +830,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Update a Port Allocation <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'PUT' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
## Update a Port Allocation <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'PUT' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -1222,7 +1222,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Delete a Port Allocation <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'DELETE' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
## Delete a Port Allocation <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'DELETE' , label: '/api/peers/{peerId}/ingress/ports/{allocationId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -1390,7 +1390,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## List all Ingress Peers <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/ingress/peers' }}
|
||||
## List all Ingress Peers <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/ingress/peers' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -1590,7 +1590,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Create a Ingress Peer <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'POST' , label: '/api/ingress/peers' }}
|
||||
## Create a Ingress Peer <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'POST' , label: '/api/ingress/peers' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -1848,7 +1848,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Retrieve a Ingress Peer <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
## Retrieve a Ingress Peer <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'GET' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -2052,7 +2052,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Update a Ingress Peer <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'PUT' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
## Update a Ingress Peer <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'PUT' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
@@ -2306,7 +2306,7 @@ echo $response;
|
||||
---
|
||||
|
||||
|
||||
## Delete a Ingress Peer <Badge status="cloud-only" text="Cloud-Only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'DELETE' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
## Delete a Ingress Peer <Badge status="cloud-only" text="cloud-only" hoverText="This feature is only available in the cloud version of NetBird." /> {{ tag: 'DELETE' , label: '/api/ingress/peers/{ingressPeerId}' }}
|
||||
|
||||
<Row>
|
||||
<Col>
|
||||
|
||||
Reference in New Issue
Block a user