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
56 lines
1.7 KiB
YAML
56 lines
1.7 KiB
YAML
---
|
|
paths:
|
|
current-api-session-service-updates:
|
|
get:
|
|
summary: Returns data indicating whether a client should updates it service list
|
|
description: |
|
|
Retrieves data indicating the last time data relevant to this API Session was altered that would necessitate
|
|
service refreshes.
|
|
security:
|
|
- ztSession: [ ]
|
|
- oauth2: [ openid ]
|
|
tags:
|
|
- Current API Session
|
|
- Services
|
|
operationId: listServiceUpdates
|
|
responses:
|
|
'200':
|
|
$ref: '#/responses/listCurrentApiSessionServiceUpdates'
|
|
'401':
|
|
$ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse'
|
|
'429':
|
|
$ref: '../shared/standard-responses.yml#/responses/rateLimitedResponse'
|
|
'503':
|
|
$ref: '../shared/standard-responses.yml#/responses/serverUnavailableResponse'
|
|
|
|
responses:
|
|
listCurrentApiSessionServiceUpdates:
|
|
description: Data indicating necessary service updates
|
|
headers:
|
|
WWW-Authenticate:
|
|
description: "Denotes different type of security token related information"
|
|
type: array
|
|
items:
|
|
type: string
|
|
schema:
|
|
$ref: '#/definitions/listCurrentApiSessionServiceUpdatesEnvelope'
|
|
|
|
definitions:
|
|
listCurrentApiSessionServiceUpdatesEnvelope:
|
|
type: object
|
|
required:
|
|
- meta
|
|
- data
|
|
properties:
|
|
meta:
|
|
$ref: '../shared/standard-responses.yml#/definitions/meta'
|
|
data:
|
|
$ref: '#/definitions/CurrentApiSessionServiceUpdateList'
|
|
CurrentApiSessionServiceUpdateList:
|
|
type: object
|
|
required:
|
|
- lastChangeAt
|
|
properties:
|
|
lastChangeAt:
|
|
type: string
|
|
format: 'date-time' |