From 9080802c3e7b6d0b10197e748d5e455e03c759b5 Mon Sep 17 00:00:00 2001 From: pheralb Date: Tue, 20 Aug 2024 19:16:36 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=84=20Update=20api=20docs=20with=20new?= =?UTF-8?q?=20api=20route?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/docs/api.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/docs/api.md b/src/docs/api.md index 60380fc..76dc803 100644 --- a/src/docs/api.md +++ b/src/docs/api.md @@ -20,9 +20,9 @@ The API is currently open to everyone and does not require any authentication. H The base URL for the API is: ```bash -https://svgl.app/api/svgs +https://api.svgl.app # or -https://svgl.app/api/categories +https://api.svgl.app/categories ``` ## Typescript usage @@ -59,7 +59,7 @@ export interface iSVG { ```bash -/api/svgs +https://api.svgl.app ```

@@ -83,7 +83,7 @@ export interface iSVG { ```bash -/api/svgs?limit=10 +https://api.svgl.app?limit=10 ```

@@ -107,7 +107,7 @@ export interface iSVG { ```bash -/api/svgs?category=software +https://api.svgl.app/category/software ```

@@ -133,7 +133,7 @@ The list of categories is available [here](https://github.com/pheralb/svgl/blob/ ```bash -/api/categories +https://api.svgl.app/categories ```

@@ -158,7 +158,7 @@ The list of categories is available [here](https://github.com/pheralb/svgl/blob/ ```bash -/api/svgs?search=axiom +https://api.svgl.app?search=axiom ```