mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-27 08:18:24 +03:00
Improved visits REST endpoint path
This commit is contained in:
parent
0ef9db0bdf
commit
3ba51c5390
2 changed files with 2 additions and 2 deletions
|
@ -222,7 +222,7 @@ Posible errors:
|
|||
|
||||
**REQUEST**
|
||||
|
||||
* `GET` -> `/rest/visits/{shortCode}`
|
||||
* `GET` -> `/rest/short-codes/{shortCode}/visits`
|
||||
* Route params:
|
||||
* shortCode: `string` -> The shortCode from which we eant to get the visits.
|
||||
* Query params:
|
||||
|
|
|
@ -30,7 +30,7 @@ return [
|
|||
],
|
||||
[
|
||||
'name' => 'rest-get-visits',
|
||||
'path' => '/rest/visits/{shortCode}',
|
||||
'path' => '/rest/short-codes/{shortCode}/visits',
|
||||
'middleware' => Action\GetVisitsMiddleware::class,
|
||||
'allowed_methods' => ['GET', 'OPTIONS'],
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue