Skip to content
Snippets Groups Projects
Verified Commit 5be85f88 authored by Andrej Ramašeuski's avatar Andrej Ramašeuski
Browse files

Cistka API

parent 1b14ba08
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ components: ...@@ -26,7 +26,7 @@ components:
id: id:
type: integer type: integer
readOnly: true readOnly: true
maxLength: 6 maxLength: 8
shortcut: shortcut:
type: string type: string
description: Zkratka description: Zkratka
...@@ -34,6 +34,7 @@ components: ...@@ -34,6 +34,7 @@ components:
type: string type: string
description: URL pro přesměrování description: URL pro přesměrování
maxLength: 1024 maxLength: 1024
required: true
code: code:
type: integer type: integer
description: Kód přesměrování description: Kód přesměrování
...@@ -46,7 +47,7 @@ components: ...@@ -46,7 +47,7 @@ components:
properties: properties:
period: period:
type: string type: string
description: Obdobi description: Období
count: count:
type: integer type: integer
description: Počet description: Počet
...@@ -55,7 +56,7 @@ components: ...@@ -55,7 +56,7 @@ components:
properties: properties:
timestamp: timestamp:
type: string type: string
description: Datum a cas description: Datum a čas
ip: ip:
type: string type: string
description: IP adresa description: IP adresa
...@@ -157,7 +158,6 @@ paths: ...@@ -157,7 +158,6 @@ paths:
/shortcuts/{id}/stat/: /shortcuts/{id}/stat/:
get: get:
tags: tags:
- shortcut
- statistic - statistic
security: security:
- Token: [] - Token: []
...@@ -197,7 +197,6 @@ paths: ...@@ -197,7 +197,6 @@ paths:
/shortcuts/{id}/log: /shortcuts/{id}/log:
get: get:
tags: tags:
- shortcuts
- statistic - statistic
security: security:
- Token: [] - Token: []
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment