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