swag-payments/spec/paths/analytics@shops@{shopID}@payments@stats@geo.yaml
Andrew Mayorov 27a8069f28 ITS-21: Prepare for the release (#31)
* ITS-21: Make the spec ready for ReDoc

* ITS-21: Make it possible to define paths in subdirs

* ITS-21: Translate tags back to English + abuse x-displayName

* ITS-21: Introduce Makefile

* ITS-21: Describe analytics operations more

* ITS-21: Describe analytics definitions more

* ITS-21: Fix tag descriptions a bit

* ITS-21: Describe geo operations

* ITS-21: Translate common parameter descriptions

* ITS-21: Describe invoice/payments operations and definitions

* ITS-21 Make shop/party activation/suspension truly idempotent. Fix UpdateShopArgs definition

* ITS-21: Describe payments/tokens operations and definitions

* ITS-21: Describe invoice.reason property

* ITS-21: Describe user interactions

* ITS-21: Unskuccaite all the paths backs

* ITS-21: Fix warnings + use hack w/ allOf where applicable

* ITS-21 Rename all Args to Params

* ITS-21 Rename context to metadata
2017-02-06 15:09:03 +03:00

25 lines
753 B
YAML

get:
description: |
Получить статистику по геопозициям плательщиков за определённое время.
tags:
- Analytics
operationId: getPaymentGeoStats
parameters:
- $ref: '#/parameters/requestID'
- $ref: '#/parameters/shopID'
- $ref: '#/parameters/fromTime'
- $ref: '#/parameters/toTime'
- $ref: '#/parameters/splitUnit'
- $ref: '#/parameters/splitSize'
responses:
'200':
description: Статистика по геопозициям плательщиков
schema:
type: array
items:
$ref: '#/definitions/PaymentGeoStat'
'400':
$ref: '#/responses/BadRequest'
'404':
$ref: '#/responses/NotFound'