mirror of
https://github.com/valitydev/swag-payments.git
synced 2024-11-07 01:55:22 +00:00
27a8069f28
* 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
25 lines
753 B
YAML
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'
|