Compare commits

...

2 Commits

Author SHA1 Message Date
9478437262 new test data 2025-03-27 19:07:06 -04:00
d8878eba09 update api docs 2025-03-27 18:48:18 -04:00
2 changed files with 73 additions and 20 deletions

View File

@@ -7,10 +7,10 @@
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [git.dubyatp.xyz/chat-api-server/api.Start.SetContentType.func5]()
- [SetContentType.func1]()
- **/**
- _GET_
- [Start.func1]()
- _GET_
- [Start.func1]()
</details>
<details>
@@ -20,11 +20,25 @@
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [git.dubyatp.xyz/chat-api-server/api.Start.SetContentType.func5]()
- [SetContentType.func1]()
- **/messages**
- **/**
- _GET_
- [ListMessages]()
- **/**
- _GET_
- [ListMessages]()
</details>
<details>
<summary>`/messages/new`</summary>
- [RequestID]()
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [SetContentType.func1]()
- **/messages**
- **/new**
- _POST_
- [NewMessage]()
</details>
<details>
@@ -34,13 +48,31 @@
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [git.dubyatp.xyz/chat-api-server/api.Start.SetContentType.func5]()
- [SetContentType.func1]()
- **/messages**
- **/{messageID}**
- [MessageCtx]()
- **/**
- _GET_
- [GetMessage]()
- **/{messageID}**
- [MessageCtx]()
- **/**
- _DELETE_
- [DeleteMessage]()
- _GET_
- [GetMessage]()
</details>
<details>
<summary>`/messages/{messageID}/edit`</summary>
- [RequestID]()
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [SetContentType.func1]()
- **/messages**
- **/{messageID}**
- [MessageCtx]()
- **/edit**
- _POST_
- [EditMessage]()
</details>
<details>
@@ -50,10 +82,10 @@
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [git.dubyatp.xyz/chat-api-server/api.Start.SetContentType.func5]()
- [SetContentType.func1]()
- **/panic**
- _GET_
- [Start.func3]()
- _GET_
- [Start.func3]()
</details>
<details>
@@ -63,11 +95,11 @@
- [Logger]()
- [Recoverer]()
- [URLFormat]()
- [git.dubyatp.xyz/chat-api-server/api.Start.SetContentType.func5]()
- [SetContentType.func1]()
- **/ping**
- _GET_
- [Start.func2]()
- _GET_
- [Start.func2]()
</details>
Total # of routes: 5
Total # of routes: 7

View File

@@ -75,5 +75,26 @@
"ID": "msg_59851eb1-2e63-46c1-b496-55566c414e33",
"Timestamp": "2025-03-27T14:40:26-04:00",
"UserID": 1
},
{
"Body": "I'd like to interject for a moment. What you're referring to as Linux, is in fact, GNU/Linux, or as I've recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX. Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux,” and many of its users are not aware that it is basically the GNU system, developed by the GNU Project. There really is a Linux, and these people are using it, but it is just a part of the system they use.\n\nLinux is the kernel: the program in the system that allocates the machine's resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.",
"Edited": "2025-03-27T18:59:12-04:00",
"ID": "msg_d77f8e0f-5c23-4c10-984f-b07559e7c5ed",
"Timestamp": "2025-03-27T18:56:27-04:00",
"UserID": 1
},
{
"Body": "oh \n\n\nok",
"Edited": null,
"ID": "msg_8d0d8e24-2c1d-4337-afdb-06d1a121e486",
"Timestamp": "2025-03-27T18:57:52-04:00",
"UserID": 2
},
{
"Body": "we shall ATTACK at the edge of propaganda",
"Edited": null,
"ID": "msg_dc55edfd-e0f7-4923-b686-df90ad4bb108",
"Timestamp": "2025-03-27T19:00:17-04:00",
"UserID": 2
}
]