Skip to content

Commit

Permalink
Re-organize files
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Dec 27, 2023
1 parent 7b55a55 commit 1fff76b
Show file tree
Hide file tree
Showing 11 changed files with 34 additions and 14 deletions.
1 change: 1 addition & 0 deletions .vscode/ltex.hiddenFalsePositives.en-US.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@
{"rule":"UPPERCASE_SENTENCE_START","sentence":"^\\Qv0.0.0 - Treat this as an unfinished draft.\\E$"}
{"rule":"UPPERCASE_SENTENCE_START","sentence":"^\\Qpolyproto-core Specification\\E$"}
{"rule":"UPPERCASE_SENTENCE_START","sentence":"^\\Qpolyproto-core Specification\n1.\\E$"}
{"rule":"ENGLISH_WORD_REPEAT_RULE","sentence":"^\\QGET Get token generation status :material-pail-outline: :material-lock-open-outline:\\E$"}
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Routes concerning the creation, deletion and management of federation tokens.

---

### <p class="request-h"><span class="request request-get">GET</span> Generate Federation Token [:material-pail-outline:](../../rate-limits.md "Bucket: federation-token-generation") [:material-lock-outline:](#authorization "Authorization required") </p>
### <p class="request-h"><span class="request request-get">GET</span> Generate Federation Token [:material-pail-outline:](../rate-limits.md "Bucket: federation-token-generation") [:material-lock-outline:](#authorization "Authorization required") </p>

`http://localhost:3001/api/federation/token`

Expand Down Expand Up @@ -45,7 +45,7 @@ Federation tokens are signed using the home server's public signing key, so that

---

### <p class="request-h"><span class="request request-get">GET</span> Get token generation status [:material-pail-outline:](../../rate-limits.md "Bucket: ip") [:material-lock-open-outline:](#authorization "Authorization not required")</p>
### <p class="request-h"><span class="request request-get">GET</span> Get token generation status [:material-pail-outline:](../rate-limits.md "Bucket: ip") [:material-lock-open-outline:](#authorization "Authorization not required")</p>

`http://localhost:3001/api/federation/generation`

Expand Down
File renamed without changes.
12 changes: 12 additions & 0 deletions docs/APIs/Core/Server-Client API/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Server-Client API

The following pages document the server-client API of polyproto-core. Each file represents a group
of routes, organizing them by their purpose.

---

--8<-- "snippets/api.md"

---

--8<-- "snippets/glossary.md"
File renamed without changes.
1 change: 1 addition & 0 deletions docs/APIs/Core/Server-Server API/errors.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Errors
12 changes: 12 additions & 0 deletions docs/APIs/Core/Server-Server API/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Server-Server API

The following pages document the server-server API of polyproto-core. Each file represents a group
of routes, organizing them by their purpose.

---

--8<-- "snippets/api.md"

---

--8<-- "snippets/glossary.md"
1 change: 1 addition & 0 deletions docs/APIs/Core/Server-Server API/rate-limits.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# Rate limits
5 changes: 5 additions & 0 deletions docs/APIs/Core/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: polyproto-core
---

This folder contains the API documentation for polyproto-core.
12 changes: 0 additions & 12 deletions docs/APIs/Server-Client API/index.md

This file was deleted.

Empty file.

0 comments on commit 1fff76b

Please sign in to comment.