Files
svgl/src/docs/api.md
T
2023-12-16 18:10:30 +00:00

1.1 KiB

title, description
title description
API Reference The API reference is a detailed documentation of all the endpoints available in the SVGL API.
<script> import { PUBLIC_SVGL_API_LIMIT } from '$env/static/public' import Endpoint from '../components/endpoints.svelte'; </script>

Introduction

SVGL API is a RESTFul API that allows you to get all the information of the SVGs that are in the repository.

Limitations

The API is currently open to everyone and does not require any authentication. However, there is a limit of {PUBLIC_SVGL_API_LIMIT} requests per day. If you exceed this limit, you will receive a 429 error.

Base URL

The base URL for the API is:

https://svgl.vercel.app/api/svgs

Endpoints

https://svgl.vercel.app/api/svgs
https://svgl.vercel.app/api/svgs?limit=10