All checks were successful
Build / build (push) Successful in 2m35s
#2 - Added request to download the newest version of the app #3 - Added request to check progress during sync #4 - Now blocking all request while sync is in progress #5 - Implemented ants for thread pooling #6 - Changed the sync request to now only start the sync
38 lines
779 B
YAML
38 lines
779 B
YAML
definitions:
|
|
backend.VersionData:
|
|
properties:
|
|
changelog:
|
|
example: account name
|
|
type: string
|
|
history:
|
|
items:
|
|
$ref: '#/definitions/backend.VersionData'
|
|
type: array
|
|
version:
|
|
example: 1.0.0
|
|
type: string
|
|
type: object
|
|
info:
|
|
contact: {}
|
|
paths:
|
|
/version:
|
|
get:
|
|
consumes:
|
|
- application/json
|
|
description: get string by ID
|
|
produces:
|
|
- application/json
|
|
responses:
|
|
"200":
|
|
description: OK
|
|
schema:
|
|
$ref: '#/definitions/backend.VersionData'
|
|
"404":
|
|
description: Not Found
|
|
schema:
|
|
type: string
|
|
summary: Getting the version of the backend
|
|
tags:
|
|
- accounts
|
|
swagger: "2.0"
|