This repository has been archived by the owner on Nov 13, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Finley <[email protected]>
- Loading branch information
1 parent
cb5876d
commit d76ad95
Showing
12 changed files
with
126 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
:root { | ||
--vp-c-brand-1: #F28500; | ||
--vp-c-brand-2: #F9A535; | ||
--vp-c-brand-1: #f28500; | ||
--vp-c-brand-2: #f9a535; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,11 @@ | ||
# `authpswd` | ||
|
||
:::warning | ||
|
||
This page is out of date | ||
|
||
::: | ||
|
||
This command is used to log into Meower. | ||
|
||
## Request | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
# Intro | ||
|
||
<!-- | ||
TODO | ||
Points to mention: | ||
- What Cloudlink is | ||
- How to connect to the Cloudlink server | ||
- The general request/response shape | ||
--> | ||
This section describes the Cloudlink API found at <wss://server.meower.org> | ||
based on its behavior and source code found at | ||
<https://github.com/meower-media/server>. | ||
|
||
This section is out of date. | ||
Cloudlink uses WebSockets and JSON for responding and recieving information and | ||
the format used is partially based on Cloudlink's | ||
[UPL 2.1](https://hackmd.io/@MikeDEV/HJiNYwOfo#Message-format) | ||
|
||
<!-- TODO: add more detail here later on --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# `delete_post` | ||
|
||
This packet is sent when a post is deleted. | ||
|
||
## Payload | ||
|
||
<!-- deno-fmt-ignore-start --> | ||
| Field | Type | Description | | ||
| - | - | - | | ||
| chat_id | string | The ID of the chat where the deleted post was. | | ||
| post_id | string | The ID of the post that was deleted. | | ||
<!-- deno-fmt-ignore-end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# `typing` | ||
|
||
This packet is sent when a client sends a typing indicator. These clients will | ||
send this packet at an interval less than five seconds. | ||
|
||
## Payload | ||
|
||
<!-- deno-fmt-ignore-start --> | ||
| Field | Type | Description | | ||
| - | - | - | | ||
| chat_id | string | The ID of the chat the user is typing in. | | ||
| username | string | The username of the user who is typing. | | ||
<!-- deno-fmt-ignore-end --> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# `ulist` | ||
|
||
This packet provides a string of online users separated by ";" | ||
|
||
## Payload | ||
|
||
A string of users separated by ";" | ||
|
||
``` | ||
user1;user2;user3; | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,52 @@ | ||
<!DOCTYPE html> | ||
<html lang="en" data-theme="dark"> | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
<title>Meower REST API docs</title> | ||
<script src="https://unpkg.com/@stoplight/elements/web-components.min.js"></script> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/@stoplight/elements/styles.min.css" | ||
/> | ||
<style> | ||
body { | ||
background-color: #0e131b; | ||
} | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta | ||
name="viewport" | ||
content="width=device-width, initial-scale=1, shrink-to-fit=no" | ||
/> | ||
<title>Meower REST API docs</title> | ||
<script | ||
src="https://unpkg.com/@stoplight/elements/web-components.min.js" | ||
></script> | ||
<link | ||
rel="stylesheet" | ||
href="https://unpkg.com/@stoplight/elements/styles.min.css" | ||
/> | ||
<style> | ||
body { | ||
background-color: #0e131b; | ||
} | ||
|
||
::-webkit-scrollbar { | ||
width: 10px; | ||
} | ||
::-webkit-scrollbar { | ||
width: 10px; | ||
} | ||
|
||
::-webkit-scrollbar-track { | ||
background: #0e131b; | ||
} | ||
::-webkit-scrollbar-track { | ||
background: #0e131b; | ||
} | ||
|
||
::-webkit-scrollbar-thumb { | ||
background: #1f2937; | ||
} | ||
::-webkit-scrollbar-thumb { | ||
background: #1f2937; | ||
} | ||
|
||
#mosaic-provider-react-aria-0-1 | ||
> div | ||
> div | ||
> div | ||
> div.sl-flex | ||
> div.sl-flex | ||
> a { | ||
display: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<elements-api | ||
apiDescriptionUrl="https://api.meower.org/openapi.json" | ||
router="hash" | ||
layout="sidebar" | ||
/> | ||
</body> | ||
#mosaic-provider-react-aria-0-1 | ||
> div | ||
> div | ||
> div | ||
> div.sl-flex | ||
> div.sl-flex | ||
> a { | ||
display: none; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<elements-api | ||
apiDescriptionUrl="https://api.meower.org/openapi.json" | ||
router="hash" | ||
layout="sidebar" | ||
/> | ||
</body> | ||
</html> |