Noticed that old endpoints will keep working

This commit is contained in:
Alejandro Celaya 2018-09-24 22:49:30 +02:00
parent a964e2b3c9
commit 8784843a7a
6 changed files with 13 additions and 13 deletions

View File

@ -5,7 +5,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "List short URLs", "summary": "List short URLs",
"description": "Returns the list of short codes", "description": "Returns the list of short codes.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "page", "name": "page",
@ -148,7 +148,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Create short URL", "summary": "Create short URL",
"description": "Creates a new short code", "description": "Creates a new short URL.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"security": [ "security": [
{ {
"Bearer": [] "Bearer": []

View File

@ -5,7 +5,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Create a short URL", "summary": "Create a short URL",
"description": "Creates a short URL in a single API call. Useful for third party integrations", "description": "Creates a short URL in a single API call. Useful for third party integrations.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "apiKey", "name": "apiKey",

View File

@ -5,7 +5,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Parse short code", "summary": "Parse short code",
"description": "Get the long URL behind a short code.", "description": "Get the long URL behind a short code.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "shortCode", "name": "shortCode",
@ -84,7 +84,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Edit short code", "summary": "Edit short code",
"description": "Update certain meta arguments from an existing short URL.", "description": "Update certain meta arguments from an existing short URL.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "shortCode", "name": "shortCode",
@ -169,7 +169,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Delete short code", "summary": "Delete short code",
"description": "Deletes the short URL for provided short code.", "description": "Deletes the short URL for provided short code.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "shortCode", "name": "shortCode",

View File

@ -5,7 +5,7 @@
"Short URLs" "Short URLs"
], ],
"summary": "Edit tags on short URL", "summary": "Edit tags on short URL",
"description": "Edit the tags on provided short code.", "description": "Edit the tags on URL identified by provided short code.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "shortCode", "name": "shortCode",

View File

@ -5,7 +5,7 @@
"Visits" "Visits"
], ],
"summary": "List visits for short URL", "summary": "List visits for short URL",
"description": "Get the list of visits on provided short code.", "description": "Get the list of visits on the short URL behind provided short code.<br><br>**Important note**: Before shlink v1.13, this endpoint used to use the `/short-codes` path instead of `/short-urls`. Both of them will keep working, while the first one is considered deprecated.",
"parameters": [ "parameters": [
{ {
"name": "shortCode", "name": "shortCode",

View File

@ -57,16 +57,16 @@
}, },
"/v1/short-urls": { "/v1/short-urls": {
"$ref": "paths/v1_short-codes.json" "$ref": "paths/v1_short-urls.json"
}, },
"/v1/short-urls/shorten": { "/v1/short-urls/shorten": {
"$ref": "paths/v1_short-codes_shorten.json" "$ref": "paths/v1_short-urls_shorten.json"
}, },
"/v1/short-urls/{shortCode}": { "/v1/short-urls/{shortCode}": {
"$ref": "paths/v1_short-codes_{shortCode}.json" "$ref": "paths/v1_short-urls_{shortCode}.json"
}, },
"/v1/short-urls/{shortCode}/tags": { "/v1/short-urls/{shortCode}/tags": {
"$ref": "paths/v1_short-codes_{shortCode}_tags.json" "$ref": "paths/v1_short-urls_{shortCode}_tags.json"
}, },
"/v1/tags": { "/v1/tags": {
@ -74,7 +74,7 @@
}, },
"/v1/short-urls/{shortCode}/visits": { "/v1/short-urls/{shortCode}/visits": {
"$ref": "paths/v1_short-codes_{shortCode}_visits.json" "$ref": "paths/v1_short-urls_{shortCode}_visits.json"
} }
} }
} }