131 lines
3.6 KiB
YAML
131 lines
3.6 KiB
YAML
# -------------------------------------------------------------------
|
|
# ATTENTION: This file will not be parsed by Cheetah
|
|
# Use plain openapi/yaml syntax, no Cheetah
|
|
# escaping
|
|
# -------------------------------------------------------------------
|
|
|
|
|
|
/v1/overhead_advances/flat/{flatId}:
|
|
get:
|
|
tags: [ "overhead_advance", "flat" ]
|
|
summary: Return overhead_advances by flat
|
|
operationId: additional_methods.get_overhead_advances_by_flat
|
|
parameters:
|
|
- name: flatId
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
responses:
|
|
'200':
|
|
description: overhead_advances_by_flat response
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/overhead_advance'
|
|
security:
|
|
- jwt: ['secret']
|
|
/v1/fees/tenancy/{tenancyId}:
|
|
get:
|
|
tags: [ "fee", "tenancy" ]
|
|
summary: Return fees by tenancy
|
|
operationId: additional_methods.get_fees_by_tenancy
|
|
parameters:
|
|
- name: tenancyId
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
responses:
|
|
'200':
|
|
description: get_fees_by_tenancy response
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/fee'
|
|
security:
|
|
- jwt: ['secret']
|
|
/v1/account/saldo/{accountId}:
|
|
get:
|
|
tags: [ "account" ]
|
|
summary: Return saldo of the account
|
|
operationId: additional_methods.get_account_saldo
|
|
parameters:
|
|
- name: accountId
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: integer
|
|
responses:
|
|
'200':
|
|
description: get_account_saldo
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: object
|
|
properties:
|
|
saldo:
|
|
type: number
|
|
security:
|
|
- jwt: ['secret']
|
|
/v1/tenants/saldo:
|
|
get:
|
|
tags: [ "tenant", "account" ]
|
|
summary: Return tenant with saldo of the account
|
|
operationId: additional_methods.get_tenant_with_saldo
|
|
responses:
|
|
'200':
|
|
description: get_tenant_with_saldo
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/tenant_with_saldo'
|
|
security:
|
|
- jwt: ['secret']
|
|
/v1/accounts/bydescription/{description}:
|
|
get:
|
|
tags: [ "account" ]
|
|
summary: Return the normalized account with given description
|
|
operationId: additional_methods.get_account_by_description
|
|
parameters:
|
|
- name: description
|
|
in: path
|
|
required: true
|
|
schema:
|
|
type: string
|
|
responses:
|
|
'200':
|
|
description: account response
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: array
|
|
items:
|
|
$ref: '#/components/schemas/account'
|
|
security:
|
|
- jwt: ['secret']
|
|
/v1/uniquenumber:
|
|
get:
|
|
tags: [ "uniquenumber" ]
|
|
summary: Returns a unique number
|
|
operationId: additional_methods.get_unique_number
|
|
responses:
|
|
'200':
|
|
description: get_unique_number
|
|
content:
|
|
'application/json':
|
|
schema:
|
|
type: object
|
|
properties:
|
|
number:
|
|
type: number
|
|
security:
|
|
- jwt: ['secret']
|
|
|