Calico BGPPeer API
The BGPPeer API from Calico — 2 operation(s) for bgppeer.
The BGPPeer API from Calico — 2 operation(s) for bgppeer.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/calico-bgppeer-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Project Calico API (projectcalico.org/v3) BGPConfiguration BGP Peer API
version: 3.0.0
description: 'Calico exposes its custom resources through the Kubernetes API server
under the `projectcalico.org/v3` API group. Authentication and transport
follow standard Kubernetes conventions (bearer token or client cert) and
requests are made against the cluster''s kube-apiserver. This document
covers the most commonly used resources: NetworkPolicy, GlobalNetworkPolicy,
BGPPeer, BGPConfiguration, IPPool, HostEndpoint, and Profile. Cluster-scoped
resources do not appear under a `/namespaces/{namespace}/` segment.
'
contact:
name: Project Calico / Tigera
url: https://docs.tigera.io/calico/latest/reference/
servers:
- url: https://{kube_apiserver_host}/apis/projectcalico.org/v3
description: Calico API group on the Kubernetes API server
variables:
kube_apiserver_host:
default: kubernetes.default.svc
description: Kubernetes API server host
security:
- BearerAuth: []
tags:
- name: BGPPeer
paths:
/bgppeers:
get:
tags:
- BGPPeer
summary: List BGPPeer
operationId: listBGPPeer
responses:
'200':
description: BGPPeer list.
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeerList'
post:
tags:
- BGPPeer
summary: Create BGPPeer
operationId: createBGPPeer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeer'
responses:
'201':
description: Created.
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeer'
/bgppeers/{name}:
parameters:
- $ref: '#/components/parameters/Name'
get:
tags:
- BGPPeer
summary: Read BGPPeer
operationId: readBGPPeer
responses:
'200':
description: BGPPeer.
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeer'
put:
tags:
- BGPPeer
summary: Replace BGPPeer
operationId: replaceBGPPeer
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeer'
responses:
'200':
description: Updated.
content:
application/json:
schema:
$ref: '#/components/schemas/BGPPeer'
delete:
tags:
- BGPPeer
summary: Delete BGPPeer
operationId: deleteBGPPeer
responses:
'200':
description: Deleted.
content:
application/json:
schema:
$ref: '#/components/schemas/Status'
components:
schemas:
BGPPeer:
type: object
required:
- apiVersion
- kind
- metadata
- spec
properties:
apiVersion:
type: string
const: projectcalico.org/v3
kind:
type: string
const: BGPPeer
metadata:
$ref: '#/components/schemas/ObjectMeta'
spec:
$ref: '#/components/schemas/BGPPeerSpec'
ObjectMeta:
type: object
properties:
name:
type: string
namespace:
type: string
resourceVersion:
type: string
uid:
type: string
creationTimestamp:
type: string
format: date-time
labels:
type: object
additionalProperties:
type: string
annotations:
type: object
additionalProperties:
type: string
BGPPeerList:
type: object
properties:
apiVersion:
type: string
kind:
type: string
const: BGPPeerList
items:
type: array
items:
$ref: '#/components/schemas/BGPPeer'
Status:
type: object
properties:
kind:
type: string
default: Status
apiVersion:
type: string
status:
type: string
message:
type: string
reason:
type: string
code:
type: integer
BGPPeerSpec:
type: object
properties:
node:
type: string
nodeSelector:
type: string
peerIP:
type: string
peerSelector:
type: string
asNumber:
type: integer
keepOriginalNextHop:
type: boolean
password:
type: object
properties:
secretKeyRef:
type: object
properties:
name:
type: string
key:
type: string
sourceAddress:
type: string
enum:
- UseNodeIP
- None
maxRestartTime:
type: string
ttlSecurity:
type: integer
parameters:
Name:
name: name
in: path
required: true
schema:
type: string
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: JWT
description: Kubernetes service account bearer token.