Files
ziti/specs/source/client/current-api-session-service-updates.yml
T
Andrew Martinez b562fb5c07 splits API specs into composible modules
- splits Open API 2.0 (swagger) into client/management APIs
- uses go-swaggers flatten capabilities
- uses newer version of go-swagger (v0.27.0)
- introduces /edge/client/v1, /edge/management/v1
- non-prefixed URLs default to /edge/client/v1
- splits some shared management/client API handlers
- renames some REST models to "client" instead of "limited"
- passes all apitests, fails dataflow upd test (main fails this as well)
- updates generate rest script for powershell
- todo: test generate rest script for bash
- todo: use xweb (different branch)
2021-05-04 11:30:32 -04:00

45 lines
1.3 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: [ ]
tags:
- Current API Session
- Services
operationId: listServiceUpdates
responses:
'200':
$ref: '#/responses/listCurrentApiSessionServiceUpdates'
'401':
$ref: '../shared/standard-responses.yml#/responses/unauthorizedResponse'
responses:
listCurrentApiSessionServiceUpdates:
description: Data indicating necessary service updates
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'