diff options
author | HampusM <hampus@hampusmat.com> | 2021-08-04 16:18:44 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2021-08-04 16:18:44 +0200 |
commit | 9f7c9103ae6ca7c3127b44a966300a8ea62b3454 (patch) | |
tree | 895768db7b82ba41937d47d362216817840842a4 /docs_src/API/v1/v1.md | |
parent | eaf6ac44e7d38ff6cc71ca72bdaceed59b86c550 (diff) |
Renamed the documentation folder to docs_src
Diffstat (limited to 'docs_src/API/v1/v1.md')
-rw-r--r-- | docs_src/API/v1/v1.md | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/docs_src/API/v1/v1.md b/docs_src/API/v1/v1.md new file mode 100644 index 0000000..327d7f2 --- /dev/null +++ b/docs_src/API/v1/v1.md @@ -0,0 +1,22 @@ +## About +The first edition of the Githermit API. + +All of following endpoints should be prefixed with `/api/v1`. + +<br> + +## /info +**Method:** GET + +**Description:**<br> +Retrieves information about the Githermit instance. + +**Parameters:**<br> +None + +**Response:**<br> + +| Code | Description | Schema | +|---------|----------------------|---------------------------------------| +| 200 | Instance information | [Info](/docs/modules/api.html#Info) | +| 400-599 | An error | [Error](/docs/modules/api.html#Error) |
\ No newline at end of file |