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 ```