From 8d16273540b4232fdccb438283cc862b8555f67d Mon Sep 17 00:00:00 2001 From: ngn Date: Tue, 8 Apr 2025 03:00:02 +0300 Subject: [PATCH] add /api route to the API documentation Signed-off-by: ngn --- doc/docs/api.en.md | 10 +++++----- doc/docs/api.tr.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/docs/api.en.md b/doc/docs/api.en.md index 445cfca..9ae7015 100644 --- a/doc/docs/api.en.md +++ b/doc/docs/api.en.md @@ -1,9 +1,9 @@ -My website's API, [api.ngn.tf](https://api.ngn.tf), stores information about my -self-hosted services, it also allows me to publish news and updates about these -services using an Atom feed and it keeps track of visitor metrics. The API itself is -written in Go and uses SQLite for storage. +My website's API, stores information about my self-hosted services, it also allows me +to publish news and updates about these services using an Atom feed and it keeps track +of visitor metrics. -This documentation contains information about all the available API endpoints. +This documentation contains information about all the available API endpoints. All the +endpoints can be accessed using the `/api` route. ## Version 1 Endpoints Each version 1 endpoint, can be accessed using the `/v1` route. diff --git a/doc/docs/api.tr.md b/doc/docs/api.tr.md index 52e68d6..67eeb7b 100644 --- a/doc/docs/api.tr.md +++ b/doc/docs/api.tr.md @@ -1,9 +1,9 @@ -Websitemin API, [api.ngn.tf](https://api.ngn.tf), self-host edilen servisler hakkında bilgileri -tutuyor, bu servisler hakkında haberleri ve güncellemeleri bir Atom feed'i aracılığı ile -paylaşmama izin veriyor ve ziyartçi metriklerini takip ediyor. API'ın kendisi Go ile yazıldı ve -veritabanı olarak SQLite kullanıyor. +Websitemin API, self-host edilen servisler hakkında bilgileri tutuyor, bu servisler hakkında +haberleri ve güncellemeleri bir Atom feed'i aracılığı ile paylaşmama izin veriyor ve ziyartçi +metriklerini takip ediyor. -Bu dökümentasyon tüm erişeme açık API endpoint'leri hakkında bilgiler içeriyor. +Bu dökümentasyon tüm erişime açık API endpoint'leri hakkında bilgiler içeriyor. Tüm endpoint'lere +`/api` yolu ile erişilebilir. ## Versyion 1 Endpoint'leri Tüm versiyon 1 endpoint'leri `/v1` yolu ile erişilebilir.