mirror of
https://github.com/hanzozt/edge-api.git
synced 2026-10-30 14:44:05 +00:00
* for openziti/ziti#3356 add www-authenticate headers - adds www-authenticate headers to all responses - moves to swagger 0.33.1 - updates readme - updates version checking in powershell and bash
59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
---
|
|
paths:
|
|
network-jwts:
|
|
get:
|
|
summary: Returns a list of JWTs suitable for bootstrapping network trust.
|
|
description: Returns a list of JWTs for trusting a network
|
|
tags:
|
|
- Enrollment
|
|
operationId: listNetworkJWTs
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listNetworkJWTs'
|
|
'400':
|
|
$ref: '../shared/standard-responses.yml#/responses/badRequestResponse'
|
|
'429':
|
|
$ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse'
|
|
|
|
responses:
|
|
listNetworkJWTs:
|
|
description: A list of network JWTs
|
|
headers:
|
|
WWW-Authenticate:
|
|
description: "Denotes different type of security token related information"
|
|
type: array
|
|
items:
|
|
type: string
|
|
schema:
|
|
$ref: '#/definitions/listNetworkJWTsEnvelope'
|
|
|
|
definitions:
|
|
listNetworkJWTsEnvelope:
|
|
type: object
|
|
required:
|
|
- meta
|
|
- data
|
|
properties:
|
|
meta:
|
|
$ref: '../shared/standard-responses.yml#/definitions/meta'
|
|
data:
|
|
$ref: '#/definitions/networkJWTList'
|
|
networkJWTList:
|
|
description: An array of network JWTs
|
|
type: array
|
|
items:
|
|
$ref: '#/definitions/networkJWT'
|
|
|
|
networkJWT:
|
|
description: A network JWT
|
|
type: object
|
|
allOf:
|
|
- type: object
|
|
required:
|
|
- name
|
|
- token
|
|
properties:
|
|
name:
|
|
type: string
|
|
token:
|
|
type: string |