{"info":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","description":"<html><head></head><body><p>This is the API documentation for Lightquark</p>\n<p>API Version: V4</p>\n<p>V4 may temporarily be missing some feature present in V2<br>Servers running V4.1 may be missing some of these, but they should be marked as 4.0 only, servers running V4.0 may be missing some newer endpoints but they should also be marked as 4.1+</p>\n<h2 id=\"status-pages\">Status pages:</h2>\n<ul>\n<li><p><a href=\"https://status.lightquark.network\">Solstice</a></p>\n<ul>\n<li><p><a href=\"https://updown.io/32kr\">Rem</a></p>\n</li>\n<li><p><a href=\"https://updown.io/08l8\">Ram</a></p>\n</li>\n<li><p><a href=\"https://updown.io/zmgo\">Beatrice</a></p>\n</li>\n</ul>\n</li>\n<li><p><a href=\"https://status.equinox.lightquark.network\">Equinox</a></p>\n</li>\n</ul>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"24749714","collectionId":"35604254-d0b0-4293-9ce5-f4530dbce6dc","publishedId":"2sA3BuUo9v","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"202232","highlight":"fe938c"},"publishDate":"2024-04-27T11:31:15.000Z"},"item":[{"name":"Authentication","item":[{"name":"SSA","item":[],"id":"4d7eae7c-0b43-4f60-a783-33407159ab0b","description":"<p>SSA (Scoped Secure Authentication) is a way for applications that are not full Lightquark clients to authenticate against a network without getting full permissions or login credentials.</p>\n<p>The rough flow is something like this:</p>\n<img src=\"https://content.pstmn.io/d162ef07-fd10-4b11-8669-2e85ec986ad0/aW1hZ2UucG5n\" width=\"542\" height=\"223\" />\n\n<ol>\n<li><p>The user hits log in on an external tool and chooses their network</p>\n</li>\n<li><p>The external tool redirects them to a web+lq:// authorization link (possibly https based /d/ link?)</p>\n</li>\n<li><p>The Lightquark client that is registered to handle the link presents an authorization screen explaining that external tool is requesting some permissions.</p>\n</li>\n<li><p>User approves the authorization request, and the client generates an SSA token (/v4/auth/ssa/authorize) with the specified scopes</p>\n</li>\n<li><p>Client redirects user back to external tool at the url specified in the originalk authorization link with access_token and refresh_token query parameters set</p>\n</li>\n<li><p>The user is now signed in on external tool</p>\n</li>\n</ol>\n<p>The authorization link format is as follows:</p>\n<p><code>web+lq://networkBase:s:authorize?scopes=123&amp;redirect_uri=abc</code></p>\n<ul>\n<li><p><code>networkBase</code> could be lightquark.network/testnet for example, so the client looks for the ssa endpoint at <a href=\"https://lightquark.network/testnet/v4/auth/ssa/authorize,\">https://lightquark.network/testnet/v4/auth/ssa/authorize,</a> though ideally the client uses gatekeeper and requests this from it's assigned app server, assuming the authorization is on the same network as the one in use at the moment</p>\n</li>\n<li><p><code>s</code> is the link type, in this case SSA</p>\n</li>\n<li><p><code>authorize</code> is technically the relevantId here, which really is just the SSA action to perform</p>\n</li>\n<li><p><code>scopes=123</code> requesting scopes 123, scopes explained below</p>\n</li>\n<li><p><code>redirect_uri=abc</code> the redirect uri should be an url encoded uri to take the user to after authorization is complete, and the tokens are provided as query parameters</p>\n</li>\n</ul>\n<h3 id=\"scopes\">Scopes</h3>\n<p>Scopes are a funky little 64 bit integer :) Each bit that is 1 indicates a permission is present, while a 0 indicates that it is not.</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-csharp\">[Flags]\npublic enum TokenScope : long\n{\n    UserRead = 1 &lt;&lt; 0, // Can read data about user profiles (including status and preferences)\n    UserWriteStatus = 1 &lt;&lt; 1, // Can update or clear the status\n    UserWriteAvatar = 1 &lt;&lt; 2, // Can update or reset the avatar\n    UserWritePreference = 1 &lt;&lt; 3, // Can update or clear preferences\n    Gateway = 1 &lt;&lt; 4, // Can connect to the gateway, this can expose data in update events,\n    // that is otherwise not requested with other scopes. RPC is limited by scopes however.\n    QuarkRead = 1 &lt;&lt; 5, // Read data about quarks you're in, including the list of channels (including DMs)\n    QuarkCreate = 1 &lt;&lt; 6, // Create quarks\n    QuarkWrite = 1 &lt;&lt; 7, // Update quarks\n    QuarkDelete = 1 &lt;&lt; 8, // Delete quarks\n    QuarkManageEmoji = 1 &lt;&lt; 9, // Create, update and delete emotes\n    ChannelCreate = 1 &lt;&lt; 10, // Create channels (including DMs)\n    ChannelDelete = 1 &lt;&lt; 11, // Delete channels\n    ChannelWrite = 1 &lt;&lt; 12, // Update channels (unused as of 15.12.2024)\n    MessageRead = 1 &lt;&lt; 13, // Read messages in channels (and DMs)\n    MessageWrite = 1 &lt;&lt; 14, // Send messages\n    QuarkInvite = 1 &lt;&lt; 15, // See and create quark invites\n    QuarkJoin = 1 &lt;&lt; 16, // Join quarks\n    QuarkLeave = 1 &lt;&lt; 17, // Leave quarks\n    Password = 1 &lt;&lt; 18 // This scope can't be requested, it just means if the token was created with a password rather than SSA\n}\n\n</code></pre>\n<h3 id=\"authorization-screen\">Authorization screen</h3>\n<p>The authorization screen should achieve these goals:</p>\n<ul>\n<li><p>Obtain consent from the user to permit [external-tool] to use their account</p>\n</li>\n<li><p>Explain what permissions are being granted</p>\n</li>\n<li><p>Make it clear that the application requesting access cannot be verified, and may not be trustworthy</p>\n</li>\n</ul>\n","_postman_id":"4d7eae7c-0b43-4f60-a783-33407159ab0b","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Get tokens","event":[{"listen":"test","script":{"id":"72b67ee6-6a02-4ede-b2e1-6a34ca6ff9bd","exec":[""],"type":"text/javascript","packages":{}}}],"id":"4fb931fb-ad90-45fe-b0e6-e904bd35de71","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emi.lia+lq@015.sh\",\r\n    \"password\": \"password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/token","urlObject":{"path":["v4","auth","token"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"19a6754a-eacf-4710-9a56-a998224c4ae7","name":"Obtain tokens","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"testuser@litdevs.org\",\r\n    \"password\": \"wordpass\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v3/auth/token"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Access-Control-Allow-Headers","value":"*,Authorization"},{"key":"Access-Control-Allow-Methods","value":"*"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"350"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 28 Jan 2024 15:42:59 GMT"},{"key":"Etag","value":"W/\"15e-tg63wa3ElDsPC+xwpJ6tbrl6HjY\""},{"key":"Server","value":"Caddy"},{"key":"X-Powered-By","value":"Express"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Here are your tokens!\",\n        \"token_type\": \"Bearer\",\n        \"access_token\": \"LQ.AC.nh1ZWq1AAFwzZbNye1e3xYKMaW3TqO1JotPmZrQlssxngYw97EcDQJKKM3W6fyr2.lrxo6rj1.lry5c1r1\",\n        \"refresh_token\": \"LQ.RE.qhRZuqLfU4kuEsTUggyhyoJKmTF8kELYQHisiIMkrt-wLafNLbvPDEBcrbCM541w.lrxo6rj1.0\"\n    }\n}"}],"_postman_id":"4fb931fb-ad90-45fe-b0e6-e904bd35de71"},{"name":"Register","id":"e396a0a3-b615-45a7-be2d-5e0b12669448","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emi.lia+lq@015.sh\",\r\n    \"password\": \"password123\",\r\n    \"username\": \"test emilia2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register","description":"<p>Register a user. This endpoint will email the user at the provided address and the client is expected to call /auth/register/confirm with the code sent to the email address to complete the registration</p>\n","urlObject":{"path":["v4","auth","register"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"8871814a-405e-4770-8bc4-cda315343bb1","name":"Verification code sent","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emilia+registrationtest@015.sh\",\r\n    \"password\": \"passwrod123\",\r\n    \"username\": \"Emilia with a hat\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"168"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 09 Nov 2024 16:33:40 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"A verification code has been sent to emilia+registrationtest@015.sh\"\n    }\n}"},{"id":"0e00fac6-4c3c-47c9-a1fc-d39c9f77113a","name":"Email or username taken","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emilia+registrationtest@015.sh\",\r\n    \"password\": \"passwrod123\",\r\n    \"username\": \"Emilia with a hat\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"151"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 09 Nov 2024 16:27:56 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"A user with this username or email already exists\"\n    }\n}"},{"id":"c6679b6b-60d3-447f-9cdb-7cd0c73ebfcb","name":"Username too long","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emili.a@015.sh\",\r\n    \"password\": \"passwrod123\",\r\n    \"username\": \"Emilia with a very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very very tall hat2\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"207"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 02 Feb 2025 17:06:10 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"errors\": [\n            \"The field Username must be a string or array type with a maximum length of '64'.\"\n        ],\n        \"message\": \"Bad Request\"\n    }\n}"}],"_postman_id":"e396a0a3-b615-45a7-be2d-5e0b12669448"},{"name":"Confirm registration","id":"eac1583b-f0d4-47a2-bc6f-2e83bf615206","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emi.lia+lq@015.sh\",\r\n    \"code\": \"1234567\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register/confirm","description":"<p>Confirm the registration by providing the previously registered email and the code sent to it (within 15 minutes)</p>\n","urlObject":{"path":["v4","auth","register","confirm"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"45290f95-ed5a-4864-b6b9-33f8701f84b0","name":"Confirm registration","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emilia+registrationtest@015.sh\",\r\n    \"code\": \"5484111\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register/confirm"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"331"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 09 Nov 2024 16:27:23 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"access_token\": \"LQ.AC.Yj6-XgVI5B7qFGFeq_67NFvMOgkr7NOKm-rbmmDmhi47dEz1UJBWi43qJSCaO5Jw.M3ADPI5M.M3AQKGTM\",\n        \"refresh_token\": \"LQ.RE.AChDNMFhfAASgBAoMo-DLitMZ4xgm8Udpv1I86AOHQfiuxHWa33VN5ac9_GTBh-t.M3ADPI5M.-M0WP61HC0\",\n        \"message\": \"Account created\"\n    }\n}"},{"id":"f0e9b16d-b7b2-404f-a401-759b1b0b7af2","name":"Incorrect/expired code or wrong email","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"email\": \"emilia+registrationtest@015.sh\",\r\n    \"code\": \"5484111\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/register/confirm"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"147"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 09 Nov 2024 16:28:26 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"The verification code is incorrect or expired\"\n    }\n}"}],"_postman_id":"eac1583b-f0d4-47a2-bc6f-2e83bf615206"},{"name":"Refresh token","id":"c1950518-4700-4950-88f8-7fac0b9e69fb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accessToken\": \"LQ.AC.6JkJdZd2C9io_70qlywW0Ul8JVJxl4-9MPBXS8GmoICNrriDUcwaKVUaEg5K9DT9.MBC85XFP.MBCL0W3P\",\r\n    \"refreshToken\": \"LQ.RE.e29mnYq8QKtbAEmJ-j72u5tmA_5YpqRdAapsDTLy9yXuf6PgfS389MpziaS0HYVr.MBC85XFP.-M0WP61HC0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/refresh","urlObject":{"path":["v4","auth","refresh"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"0c9dcff6-197c-4d04-8bec-ac9c3987a3aa","name":"Token refreshed","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accessToken\": \"LQ.AC.ukQRVK49THKW1_T5EdeRENPZandatswXc0VUMztemzApgkQdIGXsLQlk4PfSzC1z.LSREP59Y.LSRRK3XY\",\r\n    \"refreshToken\": \"LQ.RE.UBFxj1qqUCah1gqib0h0DLDPh4tBGtCYOuWNFMlZXfZQ6788C70vjcJ7S96fD6_s.LSREP59Y.-M0WP61HC0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/refresh"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"242"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 11:40:14 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"accessToken\": \"LQ.AC.3SNFJqUEXaieFZcbg_tWGrbItIgka6xsWWKq64hIftCQRLsLqjpnIIPsdl4EDauF.LSRFRHN9.LSRSMGB9\",\n        \"expiresInSec\": 21600,\n        \"message\": \"Token refreshed\"\n    }\n}"},{"id":"1d4bde15-79ed-4102-9da0-a070d34b1bcd","name":"Wrong token type","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accessToken\": \"LQ.AC.ukQRVK49THKW1_T5EdeRENPZandatswXc0VUMztemzApgkQdIGXsLQlk4PfSzC1z.LSREP59Y.LSRRK3XY\",\r\n    \"refreshToken\": \"LQ.AC.1WgVzedTmnZASLPK3ZcNafhbYY2JOWP5mgkE9O51c4NO_XFioM3l0N7wEKHeIVRH.lrz3w2ih.0\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/refresh"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"135"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 11:39:34 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"refreshToken is not refresh token\"\n    }\n}"},{"id":"85ed60ca-c673-441d-8e78-dce7ed209ba9","name":"Invalid token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"accessToken\": \"LQ.AC.ukQRVK49THKW1_T5EdeRENPZandatswXc0VUMztemzApgkQdIGXsLQlk4PfSzC1z.LSREP59Y.LSRRK3XY\",\r\n    \"refreshToken\": \"LQ.RE.UBFxj1qqUCah1gqib0h0DLDPh4tBGtCYOuWNFMlZXfZQ6788C70vjcJ7S96fD6_s.LSREP59Y.-1123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/refresh"},"status":"Unauthorized","code":401,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"115"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 11:39:53 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 401,\n        \"success\": false,\n        \"cat\": \"https://http.cat/401\"\n    },\n    \"response\": {\n        \"message\": \"Invalid token\"\n    }\n}"},{"id":"1af90cc0-072b-459a-8286-d43267e0c141","name":"Tokens missing","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/refresh"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"199"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 11:40:32 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"errors\": [\n            \"The AccessToken field is required.\",\n            \"The RefreshToken field is required.\"\n        ],\n        \"message\": \"Bad Request\"\n    }\n}"}],"_postman_id":"c1950518-4700-4950-88f8-7fac0b9e69fb"},{"name":"Create SSA token","id":"598ea75e-48fc-43ac-acd4-c5b9fd4ff788","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"scopes\": \"-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/ssa/authorize","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","auth","ssa","authorize"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"2abc22ec-eca1-4c5a-9ab9-064839f1525b","name":"Create SSA token","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"scopes\": \"3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/ssa/authorize"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"394"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 15 Dec 2024 11:33:43 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"access_token\": \"LQ.AC.MZ44GkpzPHfmbT6QMuG4vPty6L6607SFyE5rc6FjwfzXFgvDBSW-_RiHv0NvBxOe.M4PJ2IND.M4PVXHBD\",\n        \"refresh_token\": \"LQ.RE.pzhYzfvlkrYVnNVkfzu9CdTF87Rgoo3TGnJkVBCBYsilQvMejOt37lNqC_oUBS-q.M4PJ2IND.-M0WP61HC0\",\n        \"expiresInSec\": 21600,\n        \"message\": \"Here are the tokens.. I hope you know what you're doing\"\n    }\n}"},{"id":"f64a28d3-886d-43e1-b55a-6bda9793c469","name":"Password scope forbidden","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"scopes\": \"-1\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/ssa/authorize"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"162"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 15 Dec 2024 11:34:22 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Creating an SSA token with the Password scope is prohibited.\"\n    }\n}"}],"_postman_id":"598ea75e-48fc-43ac-acd4-c5b9fd4ff788"},{"name":"Delete account (>=4.1.0.0)","id":"8b242f93-1b19-45b5-9f8d-7cf3b36c5b40","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"password\": \"password123\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/auth/delete","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","auth","delete"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[],"_postman_id":"8b242f93-1b19-45b5-9f8d-7cf3b36c5b40"}],"id":"66e768e3-4e48-44aa-9526-a5b4223c52b6","description":"<p>Lightquark authentication works with email and password</p>\n","_postman_id":"66e768e3-4e48-44aa-9526-a5b4223c52b6","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"User","item":[{"name":"Status","item":[{"name":"Get status","id":"433daa0a-0d59-46e4-9c15-f66525da0490","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","status"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"0e6e49cc-16e9-4612-b0f2-2e87d812d576","name":"Get status","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"283"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 18 May 2024 11:29:48 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"status\": {\n            \"type\": \"plain\",\n            \"primaryText\": \"Meowing\",\n            \"primaryImage\": \"https://cdn.dev.lightquark.network/66489123ac35724d4f3eb979\"\n        },\n        \"message\": \"Here is your status.. why did you even get it this way?\"\n    }\n}"},{"id":"d6de5764-471e-44cb-a4f8-cf06dce81eef","name":"Not found","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me/status"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"118"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 18 May 2024 10:27:11 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Status not found\"\n    }\n}"}],"_postman_id":"433daa0a-0d59-46e4-9c15-f66525da0490"},{"name":"Set status","id":"0bba1c78-5ec3-4c52-a7e7-c40222d9763f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\"type\": \"playing\", \"primaryText\": \"Video games\", \"text1\": \"hehe\", \"text2\": \"huhu\", \"secondaryImageUri\": \"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon\", \"shouldExpire\": true}","type":"text"},{"key":"primaryImage","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}]},"url":"https://lightquark.network/v4/user/me/status","description":"<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Extra</th>\n<th>Example</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>UserId</td>\n<td>ObjectId</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Type</td>\n<td>StatusType</td>\n<td></td>\n<td>playing</td>\n</tr>\n<tr>\n<td>PrimaryText</td>\n<td>string</td>\n<td></td>\n<td>Stardew Valley</td>\n</tr>\n<tr>\n<td>Text1</td>\n<td>string?</td>\n<td></td>\n<td>Emilia's Farm</td>\n</tr>\n<tr>\n<td>Text2</td>\n<td>string?</td>\n<td></td>\n<td>Exploring the mines</td>\n</tr>\n<tr>\n<td>PrimaryImageLink</td>\n<td>Uri?</td>\n<td></td>\n<td><a href=\"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb\">https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb</a></td>\n</tr>\n<tr>\n<td>PrimaryImageUri</td>\n<td>Uri?</td>\n<td></td>\n<td><a href=\"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon\">https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon</a></td>\n</tr>\n<tr>\n<td>SecondaryImageLink</td>\n<td>Uri?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>SecondaryImageUri</td>\n<td>Uri?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>PrimaryTooltip</td>\n<td>string?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>SecondaryTooltip</td>\n<td>string?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>StartTime</td>\n<td>DateTimeOffset?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>EndTime</td>\n<td>DateTimeOffset?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>Paused</td>\n<td>bool?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>PartySize</td>\n<td>int?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>PartyCount</td>\n<td>int?</td>\n<td></td>\n<td></td>\n</tr>\n<tr>\n<td>ButtonText</td>\n<td>string?</td>\n<td>Both text and uri required</td>\n<td></td>\n</tr>\n<tr>\n<td>ButtonUri</td>\n<td>Uri?</td>\n<td>Both text and uri required</td>\n<td></td>\n</tr>\n<tr>\n<td>Button2Text</td>\n<td>string?</td>\n<td>Both text and uri required</td>\n<td></td>\n</tr>\n<tr>\n<td>Button2Uri</td>\n<td>Uri?</td>\n<td>Both text and uri required</td>\n<td></td>\n</tr>\n<tr>\n<td>ShouldDelete</td>\n<td>bool?</td>\n<td>If true the status will be automatically deleted after 5 minutes have passed since the last update to the status</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","status"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"75cbfe06-dd98-4c51-97d4-2d3b51407b65","name":"Set status with image urls","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\"type\": \"playing\", \"primaryText\": \"Video games\", \"text1\": \"hehe\", \"text2\": \"huhu\", \"primaryImageUri\": \"https://gameplus.nineplus.sh/game/6644a74831d60ad3cc5ae0d8/icon\", \"secondaryImageUri\": \"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon\"}","type":"text"},{"key":"primaryImage","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b","disabled":true}]},"url":"https://lightquark.network/v4/user/me/status"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"473"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 21 May 2024 16:56:04 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"status\": {\n            \"type\": \"playing\",\n            \"primaryText\": \"Video games\",\n            \"text1\": \"hehe\",\n            \"text2\": \"huhu\",\n            \"primaryImage\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fgameplus.nineplus.sh%2fgame%2f6644a74831d60ad3cc5ae0d8%2ficon\",\n            \"secondaryImage\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fgameplus.nineplus.sh%2fgame%2f6647d00f05c85e1a0ad1aedb%2ficon\"\n        },\n        \"message\": \"Status set\"\n    }\n}"},{"id":"c12b5c82-e4d7-4c51-923f-95c573ac3445","name":"Set status with image files","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\"type\": \"plain\", \"primaryText\": \"Meowing\"}","type":"text"},{"key":"primaryImage","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}]},"url":"https://lightquark.network/v4/user/me/status"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"238"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 18 May 2024 11:29:39 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"status\": {\n            \"type\": \"plain\",\n            \"primaryText\": \"Meowing\",\n            \"primaryImage\": \"https://cdn.dev.lightquark.network/66489123ac35724d4f3eb979\"\n        },\n        \"message\": \"Status set\"\n    }\n}"},{"id":"62bff5a0-9468-426a-b785-5b341651dd79","name":"Set status with different image sources","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\"type\": \"playing\", \"primaryText\": \"Video games\", \"text1\": \"hehe\", \"text2\": \"huhu\", \"secondaryImageUri\": \"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon\"}","type":"text"},{"key":"primaryImage","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}]},"url":"https://lightquark.network/v4/user/me/status"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"413"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 21 May 2024 16:57:18 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"status\": {\n            \"type\": \"playing\",\n            \"primaryText\": \"Video games\",\n            \"text1\": \"hehe\",\n            \"text2\": \"huhu\",\n            \"primaryImage\": \"https://cdn.dev.lightquark.network/664cd26ed302babb209d60ba\",\n            \"secondaryImage\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fgameplus.nineplus.sh%2fgame%2f6647d00f05c85e1a0ad1aedb%2ficon\"\n        },\n        \"message\": \"Status set\"\n    }\n}"},{"id":"6da6842b-b2df-438e-8ff6-bfb0730fbbd2","name":"Set status with expiry","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\"type\": \"playing\", \"primaryText\": \"Video games\", \"text1\": \"hehe\", \"text2\": \"huhu\", \"secondaryImageUri\": \"https://gameplus.nineplus.sh/game/6647d00f05c85e1a0ad1aedb/icon\", \"shouldExpire\": true}","type":"text"},{"key":"primaryImage","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}]},"url":"https://lightquark.network/v4/user/me/status"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"446"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 05 Dec 2024 15:15:44 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"status\": {\n            \"_id\": \"6751c3a0fb423d9a5c855273\",\n            \"type\": \"playing\",\n            \"primaryText\": \"Video games\",\n            \"text1\": \"hehe\",\n            \"text2\": \"huhu\",\n            \"primaryImage\": \"https://cdn.dev.lightquark.network/6751c3a0fb423d9a5c855271\",\n            \"secondaryImage\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fgameplus.nineplus.sh%2fgame%2f6647d00f05c85e1a0ad1aedb%2ficon\"\n        },\n        \"message\": \"Status set\"\n    }\n}"}],"_postman_id":"0bba1c78-5ec3-4c52-a7e7-c40222d9763f"},{"name":"Clear status","id":"ebf592fe-b229-4c07-97b2-8eef2992ef98","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/user/me/status","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","status"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"534dc9de-716a-480e-a187-35695966132f","name":"Clear status","originalRequest":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/user/me/status"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"115"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 18 May 2024 12:16:50 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Status cleared\"\n    }\n}"}],"_postman_id":"ebf592fe-b229-4c07-97b2-8eef2992ef98"}],"id":"32a5c28c-b8dd-47de-842e-8119cb454297","_postman_id":"32a5c28c-b8dd-47de-842e-8119cb454297","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Preferences","item":[{"name":"Standardized namespaces","item":[],"id":"54985fe5-d163-44b4-b56d-61414addfdc9","description":"<p>Some keys under the <code>global</code> namespace are standardized! Please stick to specific formats defined in this documentation when using these.</p>\n<ul>\n<li><p><code>quark_list</code> for the ordering of the users quark list</p>\n</li>\n<li><p><code>privacy</code> prefix is reserved for future use in privacy related settings</p>\n</li>\n</ul>\n<h2 id=\"quark_list\">quark_list</h2>\n<p>Quark list is intended for synchronising the order of the quark list across clients and retaining consistency. The quark list is composed for folders and quarks, <strong>folders should never be nested.</strong> Clients are responsible for updating this list with new quarks and removing old ones when the user is joining or leaving quarks.</p>\n<p>The following format of JSON should be stored in a stringified form under the quark_list key. Each quark list item is an object with a type property (currently quark or folder, future use possible) and related other properties. <strong>This array should be ordered, first item being the first quark in the list.</strong></p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">[\n  {\n    \"type\": \"quark\",\n    \"quarkId\": \"00000000000000\"\n  },\n  {\n    \"type\": \"folder\",\n    \"name\": \"Folder Name :3\",\n    \"color\": \"#FF0000\",\n    \"image\": \"https://example.com\",\n    \"children\": [\n      {\n        \"type\": \"quark\",\n        \"quarkId\": \"00000000000000\"\n      },\n    ]\n  }\n]\n\n</code></pre>\n","_postman_id":"54985fe5-d163-44b4-b56d-61414addfdc9","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Get preferences in namespace","id":"48023227-a4f2-4e02-8b6a-9b44a03edc2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me/preferences/:namespace","description":"<p>Preferences exist in \"namespaces\"</p>\n<p>Usually this would be either global or an identifier your client, it can really be anything.</p>\n<p>global namespace is meant for preferences that should be the same in all clients, and others for settings for just your client.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","preferences",":namespace"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"testns","key":"namespace"}]}},"response":[{"id":"e3c00d66-40fb-4e81-af90-2f8f5d1d99cf","name":"Get preferences in namespace","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/user/me/preferences/:namespace","host":["https://lightquark.network"],"path":["v4","user","me","preferences",":namespace"],"variable":[{"key":"namespace","value":"quarky"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"180"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 18 Jun 2024 15:42:06 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"preferences\": {\n            \"test\": \"test\"\n        },\n        \"message\": \"Here are your preferences in the quarky namespace\"\n    }\n}"},{"id":"8d1a7e8f-8dcb-4b86-a4bc-85d222d50216","name":"Get preferences in global namespace","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/user/me/preferences/:namespace","host":["https://lightquark.network"],"path":["v4","user","me","preferences",":namespace"],"variable":[{"key":"namespace","value":"global"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"223"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 18 Jun 2024 15:42:18 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"preferences\": {\n            \"test_key\": \"test value\",\n            \"test_key2\": 123,\n            \"test_key3\": true\n        },\n        \"message\": \"Here are your preferences in the global namespace\"\n    }\n}"}],"_postman_id":"48023227-a4f2-4e02-8b6a-9b44a03edc2b"},{"name":"Set preference in namespace","id":"e091bda8-1dd1-40a4-886b-577af3556dc6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"value\": \"g\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user/me/preferences/:namespace/:key","description":"<p>You can set any value to the preference, or null to delete it</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","preferences",":namespace",":key"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"testns","key":"namespace"},{"type":"any","value":"testkey3","key":"key"}]}},"response":[{"id":"bbd1fbf3-0843-45fb-af46-78c6473c22cd","name":"Set preference","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"value\": \"test_key3\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user/me/preferences/quarky/test"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"186"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 18 Jun 2024 15:01:26 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"preference\": {\n            \"namespace\": \"quarky\",\n            \"key\": \"test\",\n            \"value\": \"test_key3\"\n        },\n        \"message\": \"Preference saved\"\n    }\n}"},{"id":"ba519cf1-042e-4443-bfa7-c4aa16ca437c","name":"Delete preference","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"value\": null\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user/me/preferences/quarky/test"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"119"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 18 Jun 2024 15:02:00 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Preference deleted\"\n    }\n}"}],"_postman_id":"e091bda8-1dd1-40a4-886b-577af3556dc6"}],"id":"79e80fd2-28dc-4c88-9380-961548b29cb7","_postman_id":"79e80fd2-28dc-4c88-9380-961548b29cb7","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Get own information","id":"d577beee-6f1f-4719-8675-6af43af2529b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"2359a09f-4002-4114-9f72-52adbbd9dcde","name":"Get own information","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/me"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"305"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 14:55:43 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"user\": {\n            \"_id\": \"62b3515989cdb45c9e06e010\",\n            \"email\": \"amy@litdevs.org\",\n            \"username\": \"Amy\",\n            \"admin\": true,\n            \"isBot\": false,\n            \"status\": null,\n            \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n        },\n        \"message\": \"Here is the user\"\n    }\n}"}],"_postman_id":"d577beee-6f1f-4719-8675-6af43af2529b"},{"name":"Get user by Id","id":"d3c2cee6-f538-4f73-ac8a-ea975148b907","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/user/:userId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user",":userId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"3c977fea-4b91-4209-9160-25b4038c39fa@dev.lightquark.network","key":"userId"}]}},"response":[{"id":"a3f73cf8-287f-4ffa-b73e-4d1eea1553ca","name":"Get user by Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/user/:userId","host":["https://lightquark.network"],"path":["v4","user",":userId"],"variable":[{"key":"userId","value":"62b3515989cdb45c9e06e010"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"740"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 16:57:33 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"user\": {\n            \"_id\": \"62b3515989cdb45c9e06e010\",\n            \"username\": \"Amy\",\n            \"admin\": true,\n            \"isBot\": false,\n            \"status\": {\n                \"type\": \"playing\",\n                \"content\": \"Stardew Valley\",\n                \"primaryImage\": \"https://dev.lightquark.network/v4/user/62b3515989cdb45c9e06e010/status/primaryImage\",\n                \"primaryLink\": \"https://www.stardewvalley.net/\",\n                \"secondaryImage\": \"https://dev.lightquark.network/v4/user/62b3515989cdb45c9e06e010/status/primaryImage\",\n                \"secondaryLink\": \"https://store.steampowered.com/app/413150/Stardew_Valley/\",\n                \"startTime\": \"2023-11-12T16:16:20.365+00:00\",\n                \"endTime\": \"2286-11-20T17:46:39.999+00:00\",\n                \"paused\": false\n            },\n            \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n        },\n        \"message\": \"Here is the user\"\n    }\n}"},{"id":"b27c87cd-0288-4e40-a82d-7ecf7324c35e","name":"Invalid Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/user/:userId","host":["https://lightquark.network"],"path":["v4","user",":userId"],"variable":[{"key":"userId","value":"123"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"156"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 18 Feb 2024 16:55:27 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"errors\": [\n            \"The value '123' is not valid.\"\n        ],\n        \"message\": \"Bad Request\"\n    }\n}"}],"_postman_id":"d3c2cee6-f538-4f73-ac8a-ea975148b907"},{"name":"Update avatar","id":"15551035-aada-48fa-9825-381839b4148e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}]},"url":"https://lightquark.network/v4/user/me/avatar","description":"<p>Set your avatar to an image (can be animated! Without a subscription! Suck it discord!)  </p>\n<p>Max size 2.5M characters of base64 string.</p>\n<p>Images get resized to 256x256 (with no regard for original size) and converted to webp. If your image doesnt like that, try a better image</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","avatar"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"1d5f13e7-df75-4dab-814f-a243f7799c68","name":"Upload avatar","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"avatar","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user/me/avatar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"327"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 29 Mar 2024 13:14:12 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"user\": {\n            \"_id\": \"62b3515989cdb45c9e06e010\",\n            \"email\": \"amy@litdevs.org\",\n            \"username\": \"Amy\",\n            \"admin\": true,\n            \"isBot\": false,\n            \"secretThirdThing\": false,\n            \"avatarUri\": \"https://cdn.dev.lightquark.network/6606bea42d1688c570f9e609\"\n        },\n        \"message\": \"Avatar updated!\"\n    }\n}"}],"_postman_id":"15551035-aada-48fa-9825-381839b4148e"},{"name":"Reset avatar","id":"b938c714-8f82-460d-a844-f100292422eb","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/user/me/avatar","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user","me","avatar"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"d0ce4584-d071-4a59-a87f-39638520a780","name":"Avatar reset","originalRequest":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/user/me/avatar"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"324"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 10 Nov 2024 15:12:49 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"user\": {\n            \"_id\": \"62b3515989cdb45c9e06e010\",\n            \"email\": \"amy@litdevs.org\",\n            \"username\": \"Amy\",\n            \"admin\": true,\n            \"isBot\": false,\n            \"secretThirdThing\": false,\n            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730cd71085ff04a9667b23d\"\n        },\n        \"message\": \"Avatar reset\"\n    }\n}"}],"_postman_id":"b938c714-8f82-460d-a844-f100292422eb"},{"name":"Get users by Id bulk","id":"cfa483d2-e607-4dd3-9b3a-d3c1c3b5d19c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userIds\": [\"187f49e7-70fb-4090-a30f-3ac44ad385f7@dev.lightquark.network\", \"61382d8e-a124-4866-b3fa-56dc9d759bb7@dev2.lightquark.network\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","user"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"57df2005-5d38-4fc3-b000-ce6cda50a096","name":"Get users by Id bulk","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"userIds\": [\"62b3515989cdb45c9e06e010\", \"62b3515989cdb45c9e06e010\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/user"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"790"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 29 Mar 2024 13:42:34 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"users\": [\n            {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"status\": {\n                    \"type\": \"playing\",\n                    \"content\": \"Stardew Valley\",\n                    \"primaryImage\": \"https://dev.lightquark.network/v4/user/62b3515989cdb45c9e06e010/status/primaryImage\",\n                    \"primaryLink\": \"https://www.stardewvalley.net/\",\n                    \"secondaryImage\": \"https://dev.lightquark.network/v4/user/62b3515989cdb45c9e06e010/status/primaryImage\",\n                    \"secondaryLink\": \"https://store.steampowered.com/app/413150/Stardew_Valley/\",\n                    \"startTime\": \"2023-11-12T16:16:20.365+00:00\",\n                    \"endTime\": \"2286-11-20T17:46:39.999+00:00\",\n                    \"paused\": false\n                },\n                \"avatarUri\": \"https://cdn.dev.lightquark.network/6606bea42d1688c570f9e609\"\n            }\n        ],\n        \"message\": \"Here are the users\"\n    }\n}"}],"_postman_id":"cfa483d2-e607-4dd3-9b3a-d3c1c3b5d19c"}],"id":"265fd052-0a1e-4d15-9907-c239a8ae86dc","_postman_id":"265fd052-0a1e-4d15-9907-c239a8ae86dc","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Misc","item":[{"name":"Get network information","id":"4ec5058a-474e-4881-a8e8-820c4ccdf342","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/network","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","network"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"67aeeb5a-aadb-48ea-a6e2-7a911c7d8880","name":"Get network infromation","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/network"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"444"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 09 May 2024 09:38:40 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"name\": \"Equinox\",\n    \"description\": \"Equinox network for Lightquark\",\n    \"environment\": \"equinox\",\n    \"maintainer\": \"Emilia\",\n    \"linkBase\": \"equinox.lightquark.network\",\n    \"baseUrl\": \"https://equinox.lightquark.network\",\n    \"cdnBaseUrl\": \"https://cdn.equinox.lightquark.network\",\n    \"iconUrl\": \"https://equinox.lightquark.network/alt_alt_alt_icon.png\",\n    \"gateway\": \"wss://gateway.equinox.lightquark.network\",\n    \"privacyPolicy\": \"nuh uh\",\n    \"termsOfService\": \"nuh uh\",\n    \"version\": \"1.0.0.0\"\n}"}],"_postman_id":"4ec5058a-474e-4881-a8e8-820c4ccdf342"},{"name":"Ping!","id":"7979a407-f5ac-4700-b6e1-970d12e99561","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/ping","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","ping"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"fc3cdb06-8085-40a8-aa68-87823151d9ad","name":"Pong!","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/ping"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"105"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 17 Aug 2024 10:06:08 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Pong\"\n    }\n}"}],"_postman_id":"7979a407-f5ac-4700-b6e1-970d12e99561"}],"id":"ee3b3eb4-a87a-4012-98d6-4e3f759c19c6","_postman_id":"ee3b3eb4-a87a-4012-98d6-4e3f759c19c6","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Gateway","item":[{"name":"Gatekeeper","item":[],"id":"46d3b760-27d0-47fa-bb48-d905675abdeb","description":"<p>Gatekeeper is a subsystem of the Lightquark gateway, which handles load balancing and region optimization in networks with multiple nodes.</p>\n<p>Clients should end up with lower latency due to being able to discover regional servers, and server load should be balanced across many nodes.</p>\n<p><strong>The gateway is functional for normal purposes any time after authentication, and can be used until a new selection is received from Gatekeeper.</strong></p>\n<h1 id=\"protocol\">Protocol</h1>\n<p>The Gatekeeper protocol works on top of the gateway, consisting of normal gateway events that need special treatment. The packets and their purpose is as follows:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Event ID</strong></th>\n<th><strong>Direction</strong></th>\n<th><strong>Meaning</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>authenticate</td>\n<td>C =&gt; S</td>\n<td>Standard authenticate event, but the client can provide <code>gatekeeperSession</code> to the server. Only resume a session when switching gateways when requested by Gatekeeper.  <br /><strong>The gateway is functional for normal purposes beyond this point, and can be used until a new selection is received from Gatekeeper</strong></td>\n</tr>\n<tr>\n<td>gatekeeperMeasure</td>\n<td>S =&gt; C</td>\n<td>This event is a request from Gatekeeper for the client to measure latency to a set of app servers and gateways. Upon receiving the event the client is expected to measure response time from /v4/ping for app servers or the unauthenticated ping event for gateways, and provide the gatekeeperMeasure event in response. It is recommended to send multiple pings and take the <strong>median</strong> (NOT average).  <br />This event also has a <code>gatekeeperSession</code> field which is a session id the client should provide when switching gateways in order to continue the session.</td>\n</tr>\n<tr>\n<td>gatekeeperMeasure</td>\n<td>C =&gt; S</td>\n<td>Sets of latencies for each requested gateway and app server. If a server was not reachable it can be omitted.  <br />You can send new measurements to gatekeeper at any time, even if they weren't requested. For example, if the user switches network connections it could be a good idea to send new measurements.</td>\n</tr>\n<tr>\n<td>gatekeeperSelection</td>\n<td>S =&gt; C</td>\n<td>A request to use provided app server and gateway, if the client is already using these no action is required, otherwise the client should start using them.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"event-examples\">Event examples</h2>\n<p><code>authenticate</code> event resuming session (C =&gt; S):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\"event\": \"authenticate\", \"token\": \"LQ.AC.aaa-aaa.LZXXQXG3.LZYALW41\", \"state\": \"state string\", \"gatekeeperSession\": \"6b8a20cc-c39d-4fb0-82b2-ae2e0d8b5a8c\"}\n\n</code></pre>\n<p><code>gatekeeperMeasure</code> requesting measurements (S =&gt; C):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"gatekeeperMeasure\",\n    \"sessionId\": \"6235b613-d1c3-4a2c-8af3-88a441645aa1\",\n    \"gateways\": [\n        {\n            \"instanceId\": \"emilia\",\n            \"gateway\": \"wss://gateway.dev.lightquark.network\"\n        },\n        {\n            \"instanceId\": \"ram\",\n            \"gateway\": \"wss://gateway.equinox.lightquark.network\"\n        }\n    ],\n    \"appServers\": [\n        {\n            \"instanceId\": \"emilia\",\n            \"baseUrl\": \"https://dev.lightquark.network\"\n        },\n        {\n            \"instanceId\": \"ram\",\n            \"baseUrl\": \"https://equinox.lightquark.network\"\n        }\n    ]\n}\n\n</code></pre>\n<p><code>gatekeeperMeasure</code> providing measurements (C =&gt; S):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"gatekeeperMeasure\",\n    \"state\": \"state string\", \n    \"gateways\": [\n        {\n            \"instanceId\": \"ram\",\n            \"latency\": 15.2\n        },\n        {\n            \"instanceId\": \"emilia\",\n            \"latency\": 5.2\n        }\n    ],\n    \"appServers\": [\n        {\n            \"instanceId\": \"ram\",\n            \"latency\": 10.2\n        },\n        {\n            \"instanceId\": \"emilia\",\n            \"latency\": 11.2\n        }\n    ]}\n\n</code></pre>\n<p><code>gatekeeperSelection</code> requesting to use specified servers (S =&gt; C):</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"gatekeeperSelection\",\n    \"sessionId\": \"6235b613-d1c3-4a2c-8af3-88a441645aa1\",\n    \"gateway\": \"wss://gateway.dev.lightquark.network\",\n    \"appServer\": \"https://equinox.lightquark.network\"\n}\n\n</code></pre>\n<h3 id=\"notes\">Notes</h3>\n<p>During gateway reselection the client should ideally remain connected to the old gateway until the new one is authenticated to avoid dropping events, deduplication should be performed client side</p>\n","_postman_id":"46d3b760-27d0-47fa-bb48-d905675abdeb","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Samples","item":[],"id":"63358129-7e60-4fbc-b8f4-4c6c64d7aa46","description":"<p>channelCreate</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"channelCreate\",\n    \"channel\": {\n        \"_id\": \"67d9af7c0e778fe5105a0044\",\n        \"name\": \"t10\",\n        \"description\": \"\"\n    },\n    \"quark\": {\n        \"_id\": \"67b6ff1abf58d3d20244aa1e\",\n        \"name\": \"g\",\n        \"iconUri\": \"https://ram.lightquark.network/default.webp\",\n        \"invite\": \"g-67b6ff1abf58d3d20244aa1e\",\n        \"owners\": [\n            \"62b3515989cdb45c9e06e010\"\n        ],\n        \"inviteEnabled\": true,\n        \"systemMessageChannel\": \"67b6ff1abf58d3d20244aa1f\"\n    }\n}\n\n</code></pre>\n","_postman_id":"63358129-7e60-4fbc-b8f4-4c6c64d7aa46","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}}],"id":"0d9fa68e-8db1-4cc4-ae7b-d57048f3662d","description":"<p>Ah the gateway (formerly known as web socks), a critical part of any decent client. It provides real time updates when users perform certain actions (sending messages, changing avatars, adding channels etc. basically anything that changes some kind of data)</p>\n<p><code>gateway</code> in network.json is the address to connect to.</p>\n<p>Lightquark clients can connect to a \"gateway\" websocket to receive events instead of polling the API for new data.</p>\n<p>Unlike previous versions there is no need to explicitly \"subscribe\" to events, any connected client will be sent everything that concerns them.</p>\n<p>To connect to the gateway the client can initiate a websocket connection to the gateway address specified by the Lightquark network. A client should first send a <code>authenticate</code> event with the users access token, the event looks something like the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"authenticate\", \n  \"token\": \"\", \n  \"state\": \"state string\"\n}\n\n</code></pre>\n<p>If the client is only connecting for measuring latency a ping event can be used without authenticating:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"ping\",\n  \"state\": \"state string\"\n}\n\n</code></pre>\n<p>Clients must send a <code>heartbeat</code> event once a minute to stay connected, otherwise they will be dropped. The message can look something like the following:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"heartbeat\",\n  \"state\": \"state string\"\n}\n\n</code></pre>\n<p>In the previous examples you may or may not have noticed the <code>state</code> property, and you may or may not be now wondering what the hell that is. The answer is: anything, or nothing!</p>\n<p>The client may send any string as the <code>state</code> and will receive it in any events sent in response to the client's event. This is entirely optional, and does not need to be sent, however it can be helpful if you need to track responses to your events. (I suppose this would have been more useful in v2 when subscriptions existed...)</p>\n<p>The list of events is not yet finalized, but here is what I know at the time of writing:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Event group</strong></th>\n<th><strong>Event</strong></th>\n<th><strong>Data sent</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Channel</td>\n<td>channelCreate</td>\n<td>Channel object, minimal quark information</td>\n</tr>\n<tr>\n<td>Channel</td>\n<td>channelUpdate</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Channel</td>\n<td>channelDelete</td>\n<td>Channel object, minimal quark information</td>\n</tr>\n<tr>\n<td>Quark</td>\n<td>quarkUpdate</td>\n<td>Quark object (without channels)</td>\n</tr>\n<tr>\n<td>Quark</td>\n<td>quarkDelete</td>\n<td>Quark object</td>\n</tr>\n<tr>\n<td>Quark</td>\n<td>memberJoin</td>\n<td>Quark object, user object</td>\n</tr>\n<tr>\n<td>Quark</td>\n<td>memberUpdate</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Quark</td>\n<td>memberLeave</td>\n<td>Quark object, user object</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>messageCreate</td>\n<td>Message object (with author), channel id</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>messageUpdate</td>\n<td>Message object (with author), channel id</td>\n</tr>\n<tr>\n<td>Message</td>\n<td>messageDelete</td>\n<td>Message object</td>\n</tr>\n<tr>\n<td>User</td>\n<td>preferenceUpdate</td>\n<td>User object, preference object</td>\n</tr>\n<tr>\n<td>User</td>\n<td>newFriend</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>User</td>\n<td>friendRemoved</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>User</td>\n<td>newFriendRequest</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>User</td>\n<td>friendRequestRemvoed</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>User</td>\n<td>userUpdate</td>\n<td>User object (without status)</td>\n</tr>\n<tr>\n<td>User</td>\n<td>statusUpdate</td>\n<td>User object (with status)</td>\n</tr>\n<tr>\n<td>Role</td>\n<td>roleCreate</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Role</td>\n<td>roleUpdate</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Role</td>\n<td>roleDelete</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Emoji</td>\n<td>emojiCreate</td>\n<td>Emoji object, quark id</td>\n</tr>\n<tr>\n<td>Emoji</td>\n<td>emojiUpdate</td>\n<td>TBD</td>\n</tr>\n<tr>\n<td>Emoji</td>\n<td>emojiDelete</td>\n<td>Emoji object, quark id, brick boolean</td>\n</tr>\n</tbody>\n</table>\n</div><p>Oh by the way you can call json based api methods via the gateway. That means basically everything that doesn't involve uploading a file like send message or uploading an icon/avatar.<br />Send an event like this:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"event\": \"rpc\",\n  \"route\": \"/v4/channel\",\n  \"method\": \"POST\",\n  \"body\": {\n        \"quark\": \"6679a24a213c982f4f832ef7\",\n        \"name\": \"sisyphus channel 3\",\n        \"description\": \"\"\n    },\n  \"state\": \"state string\",\n  \"token\": \"\"\n}\n\n</code></pre>\n<p>Get an event like this back:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n    \"event\": \"rpc\",\n    \"state\": \"state string\",\n    \"body\": {\n        \"request\": {\n            \"status_code\": 201,\n            \"success\": true,\n            \"cat\": \"https://http.cat/201\"\n        },\n        \"response\": {\n            \"channel\": {\n                \"_id\": \"66e85edbe613c2eec084e253\",\n                \"name\": \"sisyphus channel 3\",\n                \"description\": \"\"\n            },\n            \"message\": \"Channel created\"\n        }\n    },\n    \"headers\": [\n        {\n            \"key\": \"Alt-Svc\",\n            \"value\": [\n                \"h3=\\\":443\\\"; ma=2592000\"\n            ]\n        },\n        {\n            \"key\": \"Date\",\n            \"value\": [\n                \"Mon, 16 Sep 2024 16:37:47 GMT\"\n            ]\n        },\n        {\n            \"key\": \"Server\",\n            \"value\": [\n                \"Caddy\",\n                \"Kestrel\"\n            ]\n        }\n    ]\n}\n\n</code></pre>\n","_postman_id":"0d9fa68e-8db1-4cc4-ae7b-d57048f3662d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Channels","item":[{"name":"Messages","item":[{"name":"Get messages in channel","id":"7026766c-8102-44fb-b64c-e0ab4c82e2ab","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/channel/:channelId/messages?afterTimestamp=1749291311845&sortByRelevance=true&search=emilia2","description":"<p>Can be used to get latest messages in a channel or search channel for specific content.<br />Note: This searches the <code>content</code> field, not plaintext!</p>\n<p>For more details on search parameters and their effect you can check MongoDB documentation to see how this works in the backend:<br /><a href=\"https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples\">https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","messages"],"host":["https://lightquark.network"],"query":[{"disabled":true,"description":{"content":"<p>Only get messages before this timestamp (exclusive) (unix timestamp ms)</p>\n","type":"text/plain"},"key":"beforeTimestamp","value":"1749291311846"},{"description":{"content":"<p>Only get messages after this timestamp (exclusive) (unix timestamp ms)</p>\n","type":"text/plain"},"key":"afterTimestamp","value":"1749291311845"},{"disabled":true,"description":{"content":"<p>Amount of messages to get at once (max 100)</p>\n","type":"text/plain"},"key":"limit","value":"1"},{"description":{"content":"<p>If using search use true to get results sorted by relevance instead of time</p>\n","type":"text/plain"},"key":"sortByRelevance","value":"true"},{"description":{"content":"<p>Search term, see web search in <a href=\"https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES\">https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES</a></p>\n","type":"text/plain"},"key":"search","value":"emilia2"}],"variable":[{"description":{"content":"<p>Id of the channel</p>\n","type":"text/plain"},"type":"any","value":"8491f194-ab79-432a-9b4b-f0988ce0407d@dev.lightquark.network","key":"channelId"}]}},"response":[{"id":"ac7233ac-0ccb-4fa0-a90e-61270d9eb6ce","name":"Get messages in channel","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"query":[{"key":"beforeTimestamp","value":"","description":"Only get messages before this timestamp (exclusive)","disabled":true},{"key":"afterTimestamp","value":"","description":"Only get messages after this timestamp (exclusive)","disabled":true}],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057","description":"Id of the channel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"28319"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 19 Mar 2024 19:46:27 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"messages\": [\n            {\n                \"_id\": \"65f9e727031f2e615d74045f\",\n                \"content\": \"intuition says jupiter but the star app is being shitty right now since the compass is not accurate\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710876455187,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e64c031f2e615d74044d\",\n                \"content\": \"Hold on i have other priorities right now\\nI see a suspicious object in the sky and idk if its a planet or a star\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710876236028,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e573031f2e615d74043b\",\n                \"content\": \"i could very well start homeworking right now, sure, but my motivation is literally zero\\nHow can i be motivated when i have children screaming, and mild levels of anxiety constantly in my body\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710876019312,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e519031f2e615d740429\",\n                \"content\": \"hi starting new medicine Im gonna puke im dad\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875929377,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"sharkofbot\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/585121910388424724/47ceb1466c5bd0648487c784d394cbfd.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e519031f2e615d740417\",\n                \"content\": \"absolutely best case scenario i get out on thursday, predicted realistic scenario friday, and worst case on monday\\nEither way this week is wasted for school, and when i get home i have to deal with government shit and id renewal and health documents ughh, not to mention having to talk to my doctor a lot since I'm starting new medicine\\nIm gonna puke\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875929132,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e471031f2e615d740405\",\n                \"content\": \"well when i get out of the hospital at least\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875761048,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e462031f2e615d7403f3\",\n                \"content\": \"and the month is almost over\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875746470,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e454031f2e615d7403e1\",\n                \"content\": \"me looking at all the school groups where all teachers just sent homework for all the possible fucking subjects\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875732249,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e3fd031f2e615d7403cf\",\n                \"content\": \"wjy is it nor loading\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875645806,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e3dc031f2e615d7403bd\",\n                \"content\": \"https://tenor.com/view/haiyaa-gif-25866521\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710875612774,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9e215031f2e615d7403ac\",\n                \"content\": \"hiiii! a <_<\",\n                \"ua\": \"Quawky Cwassic\",\n                \"timestamp\": 1710875157139,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"clientAttributes\",\n                        \"plaintext\": \"a\",\n                        \"isCat\": \"yeeees i am indeed a cute kitty nya~\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"62b3515989cdb45c9e06e010\",\n                    \"username\": \"Amy\",\n                    \"admin\": true,\n                    \"isBot\": false,\n                    \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n                }\n            },\n            {\n                \"_id\": \"65f9e202031f2e615d74035c\",\n                \"content\": \"a\",\n                \"ua\": \"Quarky Classic\",\n                \"timestamp\": 1710875138658,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [],\n                \"author\": {\n                    \"_id\": \"62b3515989cdb45c9e06e010\",\n                    \"username\": \"Amy\",\n                    \"admin\": true,\n                    \"isBot\": false,\n                    \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n                }\n            },\n            {\n                \"_id\": \"65f9dd81031f2e615d740292\",\n                \"content\": \"WHY DOES YOUTUBE DO THIS LATELY\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710873985270,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9dd7d031f2e615d740284\",\n                \"content\": \"speak of the fucking devil\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710873981283,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [\n                    {\n                        \"url\": \"https://wanderers.cloud/file/QksyaA.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    },\n                    {\n                        \"url\": \"https://wanderers.cloud/file/JsOdoA.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    }\n                ],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9dc7f031f2e615d740272\",\n                \"content\": \"ok fuck google\\ni was searching for Firfocx anyway i might as well switch my browser to it and use duckduckgo like on my pc\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710873727369,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9dbf1031f2e615d740264\",\n                \"content\": \"troll vpn server\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710873585115,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9dbdd031f2e615d740256\",\n                \"content\": \"i am getting shit in french\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710873565213,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9d8be031f2e615d740248\",\n                \"content\": \"google is stupid\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710872766157,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9d8ba031f2e615d74023a\",\n                \"content\": \"the \\\"search region\\\" is set to automatic, which would see me as romanian but wha.. why would they try to translate search results when i specifically asked for english results\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710872762053,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9d850031f2e615d74022c\",\n                \"content\": \"WHY is it in english when the play store thing pops up\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710872656895,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [\n                    {\n                        \"url\": \"https://wanderers.cloud/file/I64VVw.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    },\n                    {\n                        \"url\": \"https://wanderers.cloud/file/aAwqOQ.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    }\n                ],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9d830031f2e615d74021a\",\n                \"content\": \"why tf am I getting results in romanian when i have english selected as the search results\\nActually i get like 90% English results, but some are either Romanian wikipedia articles, or very poor translations of already english results?? \\\"firefox: private the browser\\\"\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710872624980,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9c5b1031f2e615d74020c\",\n                \"content\": \"stop uploading your unoptimized 4k 120fps wallpapers to steaAMMMMMM\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710867889795,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9c58d031f2e615d7401f9\",\n                \"content\": \">\\\"type: video\\\"\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710867853112,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f9c589031f2e615d7401eb\",\n                \"content\": \">find good wallpaper engine background\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710867849247,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f99c1f031f2e615d740144\",\n                \"content\": \"no way,,\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710857247128,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"jovannmc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/319116998384680960/815398b9bfe9478d07aef121ff268c8e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f97557031f2e615d740136\",\n                \"content\": \"(i was fake)\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710847319834,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f97553031f2e615d740128\",\n                \"content\": \"i will become real too\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710847315896,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f97219031f2e615d74011a\",\n                \"content\": \"the protogen head is gonna become REAL\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710846489474,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"jovannmc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/319116998384680960/815398b9bfe9478d07aef121ff268c8e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f96c63031f2e615d74010c\",\n                \"content\": \"i mean that is true, but if the rooms are literally all occupied, and someone needs gets hospitalized through the emergency room, theyll come here (which is what im assuming that happened on Sunday when the lady/baby came here)\\ntoday someone must have left, so they moved the lady so i can be alone\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710845027249,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f96b73031f2e615d7400fe\",\n                \"content\": \"i thougth the whole thing was that you have to be alone\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710844787870,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"email.nya\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/1029431168094978150/80925982da2d55ebeaedd7013de60234.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f96b59031f2e615d7400f0\",\n                \"content\": \"i hope they'll wont put me with anyone else soon though <:nimpko:966231547667677214>\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710844761812,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f969d5031f2e615d7400e2\",\n                \"content\": \"yay!!\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710844373982,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"email.nya\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/1029431168094978150/80925982da2d55ebeaedd7013de60234.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f967ec031f2e615d7400d4\",\n                \"content\": \"i am so happy rn but i dont want to seem rude so im trying my hardest not to smile/appear happy\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710843884204,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f967ba031f2e615d7400c6\",\n                \"content\": \"of my god the lady will\\nomg shes moving rooms\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710843834986,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f95dc2031f2e615d7400b8\",\n                \"content\": \"second hand anxiety\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710841282670,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f95da1031f2e615d7400aa\",\n                \"content\": \"i told her to try again tomorrow but she really wants to make the trip here worth so she insisted\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710841249340,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f95d3e031f2e615d74009c\",\n                \"content\": \"oh my god my mom needs to send some stuff to me (and i have to send some things back to her) but we manage to get the wrong schedule for \\\"visits\\\" twice now ffs\\nand now my mom said she'll plead for someone to send the things up\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710841150884,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d82031f2e615d73fff4\",\n                \"content\": \"<:trol:910106523341053962>\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710833026096,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"sharkofbot\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/585121910388424724/47ceb1466c5bd0648487c784d394cbfd.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d7b031f2e615d73ffe6\",\n                \"content\": \"hi hoping theyll fix that, if thats even intentional im dad\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710833019819,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"sharkofbot\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/585121910388424724/47ceb1466c5bd0648487c784d394cbfd.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d7b031f2e615d73ffd8\",\n                \"content\": \"im hoping theyll fix that, if thats even intentional\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710833019590,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d69031f2e615d73ffca\",\n                \"content\": \"sure it says \\\"beta\\\" but still\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710833001456,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d5f031f2e615d73ffbc\",\n                \"content\": \"yippee accessibility settings are useless once again\\nthe high contrast slider does not change the ping color contrast\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710832991020,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93d1d031f2e615d73ffae\",\n                \"content\": \"its.. slightly better in dark mode and not amoled\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710832925336,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f93ce5031f2e615d73ffa0\",\n                \"content\": \"god dammit why does the ping color message thing is so faint\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710832869381,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [\n                    {\n                        \"url\": \"https://wanderers.cloud/file/284TnA.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    }\n                ],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f930ca031f2e615d73ff8e\",\n                \"content\": \"*yes i do that by not sleeping*\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710829770845,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f930c4031f2e615d73ff80\",\n                \"content\": \"radio: how do you keep your work-life balance? let us know at phoneNumber!\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710829764622,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f924b5031f2e615d73ff6d\",\n                \"content\": \"\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710826677606,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [\n                    {\n                        \"url\": \"https://wanderers.cloud/file/wlsRNg.png\",\n                        \"size\": 0,\n                        \"type\": \"application/octet-stream\"\n                    }\n                ],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f91e53031f2e615d73ff5b\",\n                \"content\": \"i put my phone away and a bit later my parents come into my room lol\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710825043595,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f91e3d031f2e615d73ff4d\",\n                \"content\": \"today is one of those rare days when i actually slept zero minutes\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710825021190,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shruc\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/453924399402319882/6c26ccdbda359ac3297a817d93599d21.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65f8b0f7031f2e615d73ff3f\",\n                \"content\": \"nothing\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1710797047530,\n                \"edited\": false,\n                \"isDefault\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"sharkofbot\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/585121910388424724/47ceb1466c5bd0648487c784d394cbfd.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            }\n        ],\n        \"message\": \"Here are the messages\"\n    }\n}"},{"id":"06542153-7d87-460d-8ed7-221f659e6973","name":"Search messages","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages?beforeTimestamp=&afterTimestamp=0&limit=10&sortByRelevance=true&search=meow&caseSensitive=true&language=english&diacriticSensitive=true","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"query":[{"key":"beforeTimestamp","value":"","description":"Only get messages before this timestamp (exclusive) (unix timestamp ms)"},{"key":"afterTimestamp","value":"0","description":"Only get messages after this timestamp (exclusive) (unix timestamp ms)"},{"key":"limit","value":"10","description":"Amount of messages to get at once (max 100)"},{"key":"sortByRelevance","value":"true","description":"If using search use true to get results sorted by relevance instead of time"},{"key":"search","value":"meow","description":"Search term, see https://www.mongodb.com/docs/manual/reference/operator/query/text"},{"key":"caseSensitive","value":"true","description":"Case sensitivity when using search"},{"key":"language","value":"english","description":"Language when using search, see https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples"},{"key":"diacriticSensitive","value":"true","description":"See https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples"}],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Id of the channel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"4506"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 27 Mar 2024 17:47:34 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"messages\": [\n            {\n                \"_id\": \"660459bd80ce5565704d8deb\",\n                \"content\": \"🐈 MEOoow meow meow meow meow 🐈\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1711561149298,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"shinonome.hakase\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/708333380525228082/ce41da09a7486afee599bd8fb193c419.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65dcd64121186853dc3824a0\",\n                \"content\": \"if I don't go to bed on time I don't get enough sleep which means I perform worse in the gym which means I enjoy school less which means I learn less which means worse results which means meow meow meow meow meow mrr0\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1708971585054,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"pandarose_\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/320181430011428865/7e18e7010c8c8df18c4783013e7eb970.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"64422b060a1c2fd3b7ca2089\",\n                \"content\": \"<@1015629604536463421> meow\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1682057990947,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"Vukky\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/708333380525228082/42db0569573fa00dcd731fac0e5ede87.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"660459b280ce5565704d8de0\",\n                \"content\": \"meoww meow\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1711561138264,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"email.nya\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/1029431168094978150/9cb12232bc4171c24f4dc7b2870902ec.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"644a66e232403af610e67b87\",\n                \"content\": \"<@1015629604536463421> meow\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1682597602454,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"skybird2333\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/416147488643481610/5b8d3338dd87ad7c49f2f5cfeb6d2eb1.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"64422af40a1c2fd3b7ca206d\",\n                \"content\": \"s!chat meow\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1682057972379,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"Annas\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/673834061063651378/c958d8cb3a8909d2fcd6d106f82a4899.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65002c00e839c3111ba4ac7e\",\n                \"content\": \"and spider noises into meows\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1694510080417,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"email.nya\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/1029431168094978150/070e35357bb4797012cba22160ce49be.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            },\n            {\n                \"_id\": \"65de652a21186853dc382c78\",\n                \"content\": \"meow mewo moewo ewmowemw\",\n                \"ua\": \"Quarkcord Bridge Dev\",\n                \"timestamp\": 1709073706730,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"botMessage\",\n                        \"username\": \"mo.t\",\n                        \"avatarUri\": \"https://cdn.discordapp.com/avatars/629028955646853141/57eb9e930b47be585fa37e936e97155e.webp?size=128\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"63eb7b8630d172b639647de1\",\n                    \"username\": \"Quarkcord\",\n                    \"admin\": false,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n                }\n            }\n        ],\n        \"resultCount\": 8,\n        \"message\": \"Here are the messages\"\n    }\n}"},{"id":"9da844c5-d721-4efb-98ea-c434c5225371","name":"Get messages in channel","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages?afterTimestamp=1749291311845&sortByRelevance=true&search=emilia2","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"query":[{"key":"beforeTimestamp","value":"1749291311846","description":"Only get messages before this timestamp (exclusive) (unix timestamp ms)","disabled":true},{"key":"afterTimestamp","value":"1749291311845","description":"Only get messages after this timestamp (exclusive) (unix timestamp ms)"},{"key":"limit","value":"1","description":"Amount of messages to get at once (max 100)","disabled":true},{"key":"sortByRelevance","value":"true","description":"If using search use true to get results sorted by relevance instead of time"},{"key":"search","value":"emilia2","description":"Search term, see web search in https://www.postgresql.org/docs/current/textsearch-controls.html#TEXTSEARCH-PARSING-QUERIES"}],"variable":[{"key":"channelId","value":"8491f194-ab79-432a-9b4b-f0988ce0407d@dev.lightquark.network","description":"Id of the channel"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Caddy-Host","value":"Midgard"},{"key":"Content-Length","value":"763"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 07 Jun 2025 13:05:46 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\",\n        \"error_code\": 0\n    },\n    \"response\": {\n        \"messages\": [\n            {\n                \"_id\": \"686d7803-0a49-4522-8521-d377ecc41f35@dev.lightquark.network\",\n                \"channelId\": \"8491f194-ab79-432a-9b4b-f0988ce0407d@dev.lightquark.network\",\n                \"content\": \"test emilia2 joined\",\n                \"ua\": \"Unknown\",\n                \"timestamp\": 1749291311846,\n                \"edited\": false,\n                \"attachments\": [],\n                \"specialAttributes\": [\n                    {\n                        \"type\": \"welcome\",\n                        \"index\": 1256727197,\n                        \"userId\": \"187f49e7-70fb-4090-a30f-3ac44ad385f7@dev.lightquark.network\"\n                    }\n                ],\n                \"author\": {\n                    \"_id\": \"00000000-0000-0000-0000-000000000001@dev.lightquark.network\",\n                    \"username\": \"System\",\n                    \"admin\": true,\n                    \"isBot\": true,\n                    \"secretThirdThing\": false,\n                    \"pronouns\": \"it/its\",\n                    \"createdAt\": \"2025-06-01T08:17:27.331011+00:00\"\n                }\n            }\n        ],\n        \"resultCount\": 1,\n        \"message\": \"Here are the messages\"\n    }\n}"}],"_postman_id":"7026766c-8102-44fb-b64c-e0ab4c82e2ab"},{"name":"Get message by id","id":"49b362d9-016c-44c4-b29f-3ef1da5aa7b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","description":"<p>Can be used to get latest messages in a channel or search channel for specific content.<br />Note: This searches the <code>content</code> field, not plaintext!</p>\n<p>For more details on search parameters and their effect you can check MongoDB documentation to see how this works in the backend:<br /><a href=\"https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples\">https://www.mongodb.com/docs/manual/reference/operator/query/text/#examples</a></p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","messages",":messageId"],"host":["https://lightquark.network"],"query":[],"variable":[{"description":{"content":"<p>Id of the channel</p>\n","type":"text/plain"},"type":"any","value":"638b815b4d55b470d9d6fa19","key":"channelId"},{"type":"any","value":"670957dbf66a477d1ede6e0b","key":"messageId"}]}},"response":[{"id":"409224d6-776d-4501-aeb6-eaadac3d4c90","name":"Get message by id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"666fcffb5dfdf19c6364aa37","description":"Id of the channel"},{"key":"messageId","value":"66c0c3fda42a4c5c45e5d45d"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"794"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 27 Aug 2024 12:52:44 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"66c0c3fda42a4c5c45e5d45d\",\n            \"content\": \"<:emiliawhat:1250926477155897455>\",\n            \"ua\": \"Quarkcord\",\n            \"timestamp\": 1723909117471,\n            \"edited\": false,\n            \"attachments\": [],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"botMessage\",\n                    \"username\": \"Hakase\",\n                    \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f708333380525228082%2f50a0da20dbe95e22bf27ec6316b5cf7a.png%3fsize%3d128\"\n                },\n                {\n                    \"type\": \"clientAttributes\",\n                    \"discordMessageId\": \"1274391948043489432\",\n                    \"quarkcord\": \"True\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"63eb7b8630d172b639647de1\",\n                \"username\": \"Quarkcord\",\n                \"admin\": false,\n                \"isBot\": true,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n            }\n        },\n        \"message\": \"Here is the message\"\n    }\n}"},{"id":"c3c25e3b-afb4-4e27-a6b3-a64116df61f2","name":"Message not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"666fcffb5dfdf19c6364aa37","description":"Id of the channel"},{"key":"messageId","value":"66c0c3fd66394c518d54d725"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"123"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 27 Aug 2024 12:50:42 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"No such message found\"\n    }\n}"}],"_postman_id":"49b362d9-016c-44c4-b29f-3ef1da5aa7b1"},{"name":"Send message","id":"bb6b6ae8-168f-4525-be5d-247d3177d94d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"lq-agent","value":"Postman :D","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payload","description":"<p>JSON Payload</p>\n","type":"text","contentType":"application/json; charset=utf8","value":"{\"content\": \"h\"}"},{"key":"attachment","description":"<p>Attachment 1</p>\n","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/measure_tape_flip.mp4"],"src":"/C:/Users/skelly/Downloads/measure_tape_flip.mp4","disabled":true},{"key":"attachment","description":"<p>Attachment 2 (there can be up to 10)</p>\n","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/AnimatedSticker-ezgif.com-gif-maker.gif"],"src":"/C:/Users/skelly/Downloads/AnimatedSticker-ezgif.com-gif-maker.gif","disabled":true},{"key":"attachment","type":"file","src":"postman-cloud:///1ef0480e-bc64-47e0-869c-fba0deb3ef6b"},{"key":"attachment","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/silica_gel.png"],"src":"/C:/Users/skelly/Downloads/silica_gel.png","disabled":true},{"key":"attachment","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/silica_gel.png"],"src":"/C:/Users/skelly/Downloads/silica_gel.png","disabled":true},{"key":"attachment","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/silica_gel.png"],"src":"/C:/Users/skelly/Downloads/silica_gel.png","disabled":true}]},"url":"https://lightquark.network/v4/channel/:channelId/messages","description":"<p>special attributes:<br />- clientAttributes (freeform)<br />- reply (replyTo with message id)<br />- /me<br />- botMessage (username, avatarUri)</p>\n<p>Length limit 10178</p>\n<p>Attachments max 10, 100MB each</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","messages"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"638b815b4d55b470d9d6fa19","key":"channelId"}]}},"response":[{"id":"d3b380fe-fea8-4dc5-9a80-d5f5b1576813","name":"Send message","originalRequest":{"method":"POST","header":[{"key":"lq-agent","value":"Postman :D","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"meows\",\n    \"specialAttributes\": [\n        {\n            \"type\": \"reply\",\n            \"replyTo\": \"65fafa19947f9b4c1997cbda\"\n        },\n        {\n            \"type\": \"/me\"\n        },\n        {\n            \"type\": \"clientAttributes\",\n            \"plaintext\": \"*meows*\"\n        }\n    ]\n}","description":"JSON Payload","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"441"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 20 Mar 2024 16:37:52 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"662bc91a283d1b61e6dc76b0\",\n            \"content\": \"meows\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1714145562922,\n            \"edited\": false,\n            \"attachments\": [],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"reply\",\n                    \"replyTo\": \"65fafa19947f9b4c1997cbda\"\n                },\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\",\n                    \"plaintext\": \"*meows*\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://cdn.dev.lightquark.network/6606bea42d1688c570f9e609\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"1761375e-621d-4630-985c-5330285ee08d","name":"Send message with attachment","originalRequest":{"method":"POST","header":[{"key":"lq-agent","value":"Postman :D","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"hey look at this file!\"\n}","type":"text","contentType":"application/json"},{"key":"attachment","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/meow.txt"],"src":"postman-cloud:///1ef03e29-294e-4b20-a02b-88e984eb0307"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"411"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 20 Mar 2024 22:33:00 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"662bc9ba283d1b61e6dc76b4\",\n            \"content\": \"hey look at this file!\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1714145722343,\n            \"edited\": false,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/662bc9ba283d1b61e6dc76b2\",\n                    \"size\": 16,\n                    \"type\": \"text/plain\",\n                    \"filename\": \"meow.txt\"\n                }\n            ],\n            \"specialAttributes\": [],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://cdn.dev.lightquark.network/6606bea42d1688c570f9e609\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"dd8bd5eb-1d70-467e-ad60-0d93f707fc94","name":"Invalid replyTo id","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"a\",\n    \"specialAttributes\": [\n        {\n            \"type\": \"reply\",\n            \"replyTo\": \"65fafa19947f9b4c1997cbdb\"\n        },\n        {\n            \"type\": \"/me\"\n        },\n        {\n            \"type\": \"clientAttributes\",\n            \"plaintext\": \"meows\"\n        }\n    ]\n}","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"138"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 20 Mar 2024 15:59:19 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Cannot reply to non-existent message\"\n    }\n}"}],"_postman_id":"bb6b6ae8-168f-4525-be5d-247d3177d94d"},{"name":"Delete message by Id","id":"8d7acca3-ff48-4fd7-9894-d8b1f7237e25","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","description":"<p>Deleting a message removes attachments also.</p>\n<p>Deleting other peoples messages requires DELETE_OTHER_MESSAGE, but uses this same endpoint</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","messages",":messageId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"643aa2e550c913775aec2057","key":"channelId"},{"type":"any","value":"65fdd6c9f863c7231af5e74f","key":"messageId"}]}},"response":[{"id":"826c7761-0f31-4ff9-9175-badf82fd78f9","name":"Delete message by Id","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"},{"key":"messageId","value":"65fddc032c1dda671d225ac0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"116"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 22 Mar 2024 19:29:13 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Message deleted\"\n    }\n}"},{"id":"61598c27-07ac-49e8-a893-ad229485772d","name":"Message not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"},{"key":"messageId","value":"65fddc032c1dda671d225ac0"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"111"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 22 Mar 2024 19:34:58 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Not Found\"\n    }\n}"},{"id":"47116619-4d1f-4c6c-bd6b-1a51b3f16019","name":"Cannot delete other user message","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"},{"key":"messageId","value":"65fdd6c9f863c7231af5e74f"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"141"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 22 Mar 2024 19:40:36 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission DELETE_OTHER_MESSAGE\"\n    }\n}"}],"_postman_id":"8d7acca3-ff48-4fd7-9894-d8b1f7237e25"},{"name":"Edit message","id":"2468defc-e340-4947-9932-ea3f8ae2960e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","description":"<p>JSON Payload</p>\n","type":"text","contentType":"application/json","value":"{\n    \"attachments\": [\n        {\n            \"cdnUrl\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542528\",\n            \"action\": \"keep\"\n        },\n        {\n            \"action\": \"new\",\n            \"newAttachment\": \"someAttachmentKey\"\n        }\n    ]\n}"},{"key":"someAttachmentKey","type":"file","src":"postman-cloud:///1ef03e29-294e-4b20-a02b-88e984eb0307"}]},"url":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","description":"<p>possible fields:<br />content<br />attachments<br />clientAttributes</p>\n<p>Mandatory fields, one of:<br />content<br />attachments</p>\n<p>content is a string just like in send message, no special thingies there</p>\n<p>clientAttributes should be the entire clientAttributes object that replaces the old one, including the type property (otherwise ignored). Preferrably should be updated along with content for plaintext attribute updates. Other special attributes cant be edited at this time (if you think they should be editable make a ticket on <a href=\"https://youtrack.litdevs.org\">YouTrack</a> with your arguments for why)</p>\n<p>attachments is where it gets interesting, this is a RequestEditAttachment[] where RequestEditAttachment is an object that has some properties:<br />action specifies what to do, enum: [\"keep\", \"remove\", \"replace\", \"new\"]<br />Other required properties depend on those.</p>\n<p>Keep:<br />cdnUrl is required, this should be the current cdnUrl of the attachment. No action is performed on the attachment, it is kept as-is</p>\n<p>Remove:<br />cdnUrl is required, this should be the current cdnUrl of the attachment. The attachment is deleted.</p>\n<p>Replace:<br />cdnUrl is required, this should be the current cdnUrl of the attachment. newAttachment is required, this should be the name of the field in the form data where the new file is. This deletes the old attachment with this cdnUrl and adds a new one in its place (the id WILL change)</p>\n<p>New:<br />newAttachment is required, this should be the name of the field in the form data where the new file is. This uploads a new attachment to the message (unless it already has 10, in which case it is ignored).</p>\n<p>The order in which attachment edits are processed is not quaranteed. It is recommended to use Replace if you are deleting and adding attachments in the same edit request to avoid a situation where New fails because the message had 10 attachments and the Remove was not processed first.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","messages",":messageId"],"host":["https://lightquark.network"],"query":[],"variable":[{"id":"6273410c-253c-4bab-9937-8b888afc0cb1","description":{"content":"<p>Channel Id</p>\n","type":"text/plain"},"type":"any","value":"643aa31450c913775aec2082","key":"channelId"},{"id":"28bdb7c4-b026-4093-bdb0-8aecc512c217","description":{"content":"<p>Message Id</p>\n","type":"text/plain"},"type":"any","value":"6603051ed82e73fba154252b","key":"messageId"}]}},"response":[{"id":"c44b2b00-25bc-4c02-9d9a-428d63510fdb","name":"Edit message","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"looked at it :3\",\n    \"attachments\": [],\n    \"clientAttributes\": {\n        \"type\": \"clientAttributes\",\n        \"kittyy\": \"yeeaahh\"\n    }\n}","description":"JSON Payload","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Channel Id"},{"key":"messageId","value":"6603051ed82e73fba154252b","description":"Message Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"773"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Mar 2024 17:26:11 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"6603051ed82e73fba154252b\",\n            \"content\": \"looked at it :3\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1711473950856,\n            \"edited\": true,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542528\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542529\",\n                    \"size\": 3554,\n                    \"type\": \"image/svg+xml\",\n                    \"filename\": \"meow.html\"\n                }\n            ],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\",\n                    \"kittyy\": \"yeeaahh\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"354e7823-aa54-4f3c-8584-c5d5db625bd9","name":"Replace attachment","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"meoowo\",\n    \"attachments\": [\n        {\n            \"cdnUrl\": \"https://cdn.dev.lightquark.network/6603055ad82e73fba154252e\",\n            \"action\": \"replace\",\n            \"newAttachment\": \"attachment_1\"\n        }\n    ],\n    \"clientAttributes\": {\n        \"type\": \"clientAttributes\"\n    }\n}","description":"JSON Payload","type":"text","contentType":"application/json"},{"key":"attachment_1","description":"Replacement attachment referenced by payload","type":"file","src":"postman-cloud:///1ef03e29-294e-4b20-a02b-88e984eb0307"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Channel Id"},{"key":"messageId","value":"6603051ed82e73fba154252b","description":"Message Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"753"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Mar 2024 17:26:49 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"6603051ed82e73fba154252b\",\n            \"content\": \"meoowo\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1711473950856,\n            \"edited\": true,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542528\",\n                    \"size\": 16,\n                    \"type\": \"text/plain\",\n                    \"filename\": \"meow.txt\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603055ad82e73fba154252e\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                }\n            ],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"72ccd370-ad83-4cdc-bcc4-8a92eb67cfea","name":"Keep attachment","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"meoowo\",\n    \"attachments\": [\n        {\n            \"cdnUrl\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542528\",\n            \"action\": \"keep\"\n        }\n    ],\n    \"clientAttributes\": {\n        \"type\": \"clientAttributes\"\n    }\n}","description":"JSON Payload","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Channel Id"},{"key":"messageId","value":"6603051ed82e73fba154252b","description":"Message Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"753"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Mar 2024 17:27:20 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"6603051ed82e73fba154252b\",\n            \"content\": \"meoowo\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1711473950856,\n            \"edited\": true,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603051ed82e73fba1542528\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603055ad82e73fba154252e\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                }\n            ],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"f31c2cb7-b0dc-48fc-af34-cae72cc9d3c1","name":"Remove attachment","originalRequest":{"method":"PATCH","header":[{"key":"Content-Type","name":"Content-Type","value":"application/x-www-form-urlencoded","type":"text"}],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"content\": \"meoowo\",\n    \"attachments\": [\n        {\n            \"cdnUrl\": \"https://cdn.dev.lightquark.network/6603065eb3755af55d8768f7\",\n            \"action\": \"remove\"\n        }\n    ],\n    \"clientAttributes\": {\n        \"type\": \"clientAttributes\"\n    }\n}","description":"JSON payload","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Channel Id"},{"key":"messageId","value":"6603051ed82e73fba154252b","description":"Message Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"617"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Mar 2024 17:27:31 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"6603051ed82e73fba154252b\",\n            \"content\": \"meoowo\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1711473950856,\n            \"edited\": true,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603055ad82e73fba154252e\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                }\n            ],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"},{"id":"e203ac9e-4024-4858-9e53-151d951e3e24","name":"Add attachment","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"attachments\": [\n        {\n            \"action\": \"new\",\n            \"newAttachment\": \"meowmoemow\"\n        }\n    ]\n}","description":"JSON payload","type":"text","contentType":"application/json"},{"key":"meowmoemow","description":"Attachment referenced by payload","type":"file","src":"postman-cloud:///1ef03e29-294e-4b20-a02b-88e984eb0307"}],"options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/channel/:channelId/messages/:messageId","host":["https://lightquark.network"],"path":["v4","channel",":channelId","messages",":messageId"],"variable":[{"key":"channelId","value":"643aa31450c913775aec2082","description":"Channel Id"},{"key":"messageId","value":"6603051ed82e73fba154252b","description":"Message Id"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"980"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Tue, 26 Mar 2024 17:32:42 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"data\": {\n            \"_id\": \"6603051ed82e73fba154252b\",\n            \"content\": \"meeoow\",\n            \"ua\": \"Postman :D\",\n            \"timestamp\": 1711473950856,\n            \"edited\": true,\n            \"attachments\": [\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603055ad82e73fba154252e\",\n                    \"size\": 0,\n                    \"type\": \"application/octet-stream\",\n                    \"filename\": \"empty.bin\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/6603065eb3755af55d8768f7\",\n                    \"size\": 2,\n                    \"type\": \"text/plain\",\n                    \"filename\": \"meow.txt\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/660306acb3755af55d8768fb\",\n                    \"size\": 2,\n                    \"type\": \"text/plain\",\n                    \"filename\": \"meow.txt\"\n                },\n                {\n                    \"url\": \"https://cdn.dev.lightquark.network/660306bb182b3c14f5066a0f\",\n                    \"size\": 2,\n                    \"type\": \"text/plain\",\n                    \"filename\": \"meow.txt\"\n                }\n            ],\n            \"specialAttributes\": [\n                {\n                    \"type\": \"/me\"\n                },\n                {\n                    \"type\": \"clientAttributes\"\n                }\n            ],\n            \"author\": {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://wanderers.cloud/file/YGJi6g.jpg\"\n            }\n        },\n        \"message\": \"Message sent!\"\n    }\n}"}],"_postman_id":"2468defc-e340-4947-9932-ea3f8ae2960e"}],"id":"08817703-4650-4d23-9a74-1c68e20d7f60","_postman_id":"08817703-4650-4d23-9a74-1c68e20d7f60","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Get channel by Id","id":"58406b0c-d047-4f91-a658-195c57eac173","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/channel/:channelId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"1d4cdf6e-f656-4e62-b1b5-7f5d6c2a83d9@dev.lightquark.network","key":"channelId"}]}},"response":[{"id":"bc4dd3c5-d5d7-44b0-83d3-dbe8eec7e239","name":"Get channel by Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId","host":["https://lightquark.network"],"path":["v4","channel",":channelId"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"406"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 25 Feb 2024 13:35:34 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"channel\": {\n            \"_id\": \"643aa2e550c913775aec2057\",\n            \"name\": \"speaky speaky DEV\",\n            \"description\": \"If you desire to speak, this is probably where you want to do it.\",\n            \"quark\": {\n                \"_id\": \"643aa2e550c913775aec2058\",\n                \"name\": \"LIT Devs\",\n                \"iconUri\": \"https://wanderers.cloud/file/VnLiXA.jpg\",\n                \"invite\": \"litdevs\"\n            }\n        },\n        \"message\": \"Here is the channel\"\n    }\n}"}],"_postman_id":"58406b0c-d047-4f91-a658-195c57eac173"},{"name":"Create channel","id":"d080d5ef-c63d-4ba4-9f6c-5d8cf016814b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"6679a24a213c982f4f832ef7\",\r\n    \"name\": \"sisyphus channel 2\",\r\n    \"description\": \"\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"bc7501b1-66d1-4925-8400-1e811bfdbb31","name":"Create channel","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"643aa2e550c913775aec2058\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"220"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 10:15:30 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"channel\": {\n            \"_id\": \"65f57143541e160b1e6865ed\",\n            \"name\": \"channel name\",\n            \"description\": \"optional description\"\n        },\n        \"message\": \"Channel created\"\n    }\n}"},{"id":"3432e37c-0988-4bcf-8070-08826db56d07","name":"Name too long","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"643aa2e550c913775aec2058\",\r\n    \"name\": \"channel nameaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa\",\r\n    \"description\": \"optional description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"142"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 10:16:35 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Channel name too long, max 64 characters\"\n    }\n}"},{"id":"c3e33b34-e585-4299-955e-6e9d12434ce3","name":"Description too long","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"643aa2e550c913775aec2058\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional descriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescriptiondescription\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"150"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 10:16:51 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Channel description too long, max 512 characters\"\n    }\n}"},{"id":"12b1975b-99ef-4f9a-b00d-9529209305f7","name":"Quark not found","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"643aa2e550c913775aec2057\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"117"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 10:17:18 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Quark not found\"\n    }\n}"},{"id":"5422dc1c-42a9-47f2-967c-80dd15ae4a88","name":"Missing permission","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"6472fbc1d37be4f820956680\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"135"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 13:43:38 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission CREATE_CHANNEL\"\n    }\n}"}],"_postman_id":"d080d5ef-c63d-4ba4-9f6c-5d8cf016814b"},{"name":"Create DM (<=4.0.x.x)","id":"e610a699-96a9-4ec7-b84d-d36f661008c2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"100000000000000000000000\",\r\n    \"name\": \"hiiiiiii\",\r\n    \"description\": \"Direct messageeeeeeeeeeeees\",\r\n    \"kind\": \"dm\",\r\n    \"members\": [\"62c46b44911f489b38a10bb5\", \"62b3515989cdb45c9e06e010\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"2d2b1c78-4c21-4320-a8d8-d8bc4ef48628","name":"Create DM","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"100000000000000000000000\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\",\r\n    \"kind\": \"dm\",\r\n    \"members\": [\"000000000000000000000001\", \"62b3515989cdb45c9e06e010\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"220"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 18:14:17 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"channel\": {\n            \"_id\": \"65f732f8e90f6f5f042c5ac9\",\n            \"name\": \"channel name\",\n            \"description\": \"optional description\"\n        },\n        \"message\": \"Channel created\"\n    }\n}"},{"id":"2f9cb262-a60e-4f50-ab05-a5e94d52e9e3","name":"Wrong quark id","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"6472fbc1d37be4f820956680\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\",\r\n    \"kind\": \"dm\",\r\n    \"members\": [\"6472fbc1d37be4f820950123\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"228"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 18:09:29 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"When CreateChannelBody.Kind is Dm, CreateChannelBody.Quark should be 100000000000000000000000 but got 6472fbc1d37be4f820956680\"\n    }\n}"},{"id":"c84856d9-334c-4751-843e-71dbceac2c28","name":"Non-existant members","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"100000000000000000000000\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\",\r\n    \"kind\": \"dm\",\r\n    \"members\": [\"6472fbc1d37be4f820950123\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"165"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 18:09:43 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"All users do not exist: could not find 6472fbc1d37be4f820950123\"\n    }\n}"},{"id":"6bb13679-8eba-4602-ac14-03b7e05850cf","name":"Self not included","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"quark\": \"100000000000000000000000\",\r\n    \"name\": \"channel name\",\r\n    \"description\": \"optional description\",\r\n    \"kind\": \"dm\",\r\n    \"members\": [\"000000000000000000000001\"]\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/channel"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"144"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 18:11:08 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Cannot create DM between only other people\"\n    }\n}"}],"_postman_id":"e610a699-96a9-4ec7-b84d-d36f661008c2"},{"name":"Delete channel by Id","id":"ca1ee410-2097-48ea-bf6e-5a60ec339cfc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/channel/:channelId","description":"<p>Delete a channel and all messages, attachments and permission assignments related to it.</p>\n<p>Also works for DM channels</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId"],"host":["https://lightquark.network"],"query":[],"variable":[{"description":{"content":"<p>Channel Id</p>\n","type":"text/plain"},"type":"any","value":"66cca4d37c07735370303a4c","key":"channelId"}]}},"response":[{"id":"72ab1587-3313-41ff-b002-6cec1072740d","name":"Delete channel by Id","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId","host":["https://lightquark.network"],"path":["v4","channel",":channelId"],"variable":[{"key":"channelId","value":"65ff0f02dc25d154cbccaf9b"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"194"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 23 Mar 2024 17:20:15 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Channel deleted. Related data (messages, attachments, permissions) will be cleaned up shortly\"\n    }\n}"},{"id":"91f71f39-d213-4f57-afa9-f6cb0868e4cc","name":"Channel not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId","host":["https://lightquark.network"],"path":["v4","channel",":channelId"],"variable":[{"key":"channelId","value":"65ff0f02dc25d154cbccaf9b"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"144"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 23 Mar 2024 17:20:59 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Channel 65ff0f02dc25d154cbccaf9b not found\"\n    }\n}"},{"id":"5ef511b7-c520-4437-973a-37015adbfb39","name":"No permission","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId","host":["https://lightquark.network"],"path":["v4","channel",":channelId"],"variable":[{"key":"channelId","value":"643aa2e550c913775aec2057","description":"Channel Id"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"135"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 23 Mar 2024 18:21:40 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission DELETE_CHANNEL\"\n    }\n}"}],"_postman_id":"ca1ee410-2097-48ea-bf6e-5a60ec339cfc"},{"name":"Get member list","id":"019a7c30-ca8d-42db-ad8f-4a8bf9a24c4f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/channel/:channelId/members","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","channel",":channelId","members"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"1d4cdf6e-f656-4e62-b1b5-7f5d6c2a83d9@dev.lightquark.network","key":"channelId"}]}},"response":[{"id":"7646b82d-622c-4c18-99b5-b8c86ffbf004","name":"Get member list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/members","host":["https://lightquark.network"],"path":["v4","channel",":channelId","members"],"variable":[{"key":"channelId","value":"65f733b1e90f6f5f042c5ad5"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"839"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 22 May 2024 16:42:54 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"users\": [\n            {\n                \"_id\": \"62b3515989cdb45c9e06e010\",\n                \"username\": \"Amy\",\n                \"admin\": true,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"status\": {\n                    \"type\": \"playing\",\n                    \"primaryText\": \"Video games\",\n                    \"text1\": \"hehe\",\n                    \"text2\": \"huhu\",\n                    \"primaryImage\": \"https://cdn.dev.lightquark.network/664cd532f773df3a763dc658\",\n                    \"secondaryImage\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fgameplus.nineplus.sh%2fgame%2f6647d00f05c85e1a0ad1aedb%2ficon\"\n                },\n                \"avatarUri\": \"https://cdn.dev.lightquark.network/662d0c6a7b21524b53e58653\",\n                \"avatarFileId\": \"662d0c6a7b21524b53e58653\"\n            },\n            {\n                \"_id\": \"638ff0898472a1adb5bb37e1\",\n                \"username\": \"ItsEvil\",\n                \"admin\": false,\n                \"isBot\": false,\n                \"secretThirdThing\": false,\n                \"avatarUri\": \"https://dev.lightquark.network/defaultUser.webp\"\n            }\n        ],\n        \"message\": \"Here is the list of channel members\"\n    }\n}"},{"id":"bb1bbd74-aa4d-4db7-966b-91b102ef4da6","name":"Channel not found","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/members","host":["https://lightquark.network"],"path":["v4","channel",":channelId","members"],"variable":[{"key":"channelId","value":"65f733b1e90f6f5f042c5ad4"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"144"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 22 May 2024 16:43:13 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Channel 65f733b1e90f6f5f042c5ad4 not found\"\n    }\n}"},{"id":"ac9d9ab4-d541-4f3e-88cf-f915d88c19b8","name":"Not permitted","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/channel/:channelId/members","host":["https://lightquark.network"],"path":["v4","channel",":channelId","members"],"variable":[{"key":"channelId","value":"65f733b1e90f6f5f042c5ad5"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"133"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 22 May 2024 16:46:53 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission READ_CHANNEL\"\n    }\n}"}],"_postman_id":"019a7c30-ca8d-42db-ad8f-4a8bf9a24c4f"}],"id":"6a5c41aa-e24a-4e82-b361-53638f2c8dd5","_postman_id":"6a5c41aa-e24a-4e82-b361-53638f2c8dd5","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Quarks","item":[{"name":"Membership","item":[{"name":"Get list","id":"bd13d566-9d24-454b-8074-e60fa35e6b04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/quark","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"e9530e6d-4e0e-4638-9119-4d0f7f150adf","name":"Get list","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/quark"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"1150"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 09:14:54 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quarks\": [\n            {\n                \"_id\": \"643aa2e550c913775aec2058\",\n                \"name\": \"LIT Devs\",\n                \"iconUri\": \"https://wanderers.cloud/file/VnLiXA.jpg\",\n                \"invite\": \"litdevs\",\n                \"owners\": [],\n                \"channels\": [\n                    {\n                        \"_id\": \"643aa2e550c913775aec2057\",\n                        \"name\": \"speaky speaky DEV\",\n                        \"description\": \"If you desire to speak, this is probably where you want to do it.\"\n                    },\n                    {\n                        \"_id\": \"643aa31450c913775aec2082\",\n                        \"name\": \"meme dumpster DEV\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"643aa31f50c913775aec2092\",\n                        \"name\": \"atmo7 forgotten DEV lettuce\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"643aa32c50c913775aec20a2\",\n                        \"name\": \"number crashing\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"65db4024451590d8906d3d83\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db4097ba04645419ed7087\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db49b4e10becae31ec0892\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db49e20b6c43a0b74afb34\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db4be46554517246745d2f\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    }\n                ]\n            }\n        ],\n        \"message\": \"Here are the quarks you are in\"\n    }\n}"},{"id":"921bec73-97e6-4657-b075-4d10d8413dee","name":"Get list (multiple results)","originalRequest":{"method":"GET","header":[],"url":"https://lightquark.network/v4/quark"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"1493"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 09:18:10 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quarks\": [\n            {\n                \"_id\": \"6444fe32f1a19e8f79d337c2\",\n                \"name\": \"test\",\n                \"iconUri\": \"https://equinox.lightquark.network/default.webp\",\n                \"invite\": \"test2\",\n                \"owners\": [],\n                \"channels\": [\n                    {\n                        \"_id\": \"6444fe32f1a19e8f79d337c1\",\n                        \"name\": \"general\",\n                        \"description\": \"The default channel\"\n                    },\n                    {\n                        \"_id\": \"644503f30a4188e9c699147e\",\n                        \"name\": \"number increasing\",\n                        \"description\": \"1 2 3 4 6... Hakase failed\"\n                    }\n                ]\n            },\n            {\n                \"_id\": \"643aa2e550c913775aec2058\",\n                \"name\": \"LIT Devs\",\n                \"iconUri\": \"https://wanderers.cloud/file/VnLiXA.jpg\",\n                \"invite\": \"litdevs\",\n                \"owners\": [],\n                \"channels\": [\n                    {\n                        \"_id\": \"643aa2e550c913775aec2057\",\n                        \"name\": \"speaky speaky DEV\",\n                        \"description\": \"If you desire to speak, this is probably where you want to do it.\"\n                    },\n                    {\n                        \"_id\": \"643aa31450c913775aec2082\",\n                        \"name\": \"meme dumpster DEV\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"643aa31f50c913775aec2092\",\n                        \"name\": \"atmo7 forgotten DEV lettuce\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"643aa32c50c913775aec20a2\",\n                        \"name\": \"number crashing\",\n                        \"description\": \"\"\n                    },\n                    {\n                        \"_id\": \"65db4024451590d8906d3d83\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db4097ba04645419ed7087\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db49b4e10becae31ec0892\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db49e20b6c43a0b74afb34\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    },\n                    {\n                        \"_id\": \"65db4be46554517246745d2f\",\n                        \"name\": \"channel name\",\n                        \"description\": \"optional description\"\n                    }\n                ]\n            }\n        ],\n        \"message\": \"Here are the quarks you are in\"\n    }\n}"}],"_postman_id":"bd13d566-9d24-454b-8074-e60fa35e6b04"},{"name":"Join quark","id":"481b1d7a-b430-491b-900f-e97029a252e9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://lightquark.network/v4/quark/:invite/join","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":invite","join"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"testqqqqq","key":"invite"}]}},"response":[{"id":"a502734b-19a0-40f8-b82e-dd8ea19bd726","name":"Join quark","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/join","host":["https://lightquark.network"],"path":["v4","quark",":invite","join"],"variable":[{"key":"invite","value":"test2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"464"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 09:17:56 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"6444fe32f1a19e8f79d337c2\",\n            \"name\": \"test\",\n            \"iconUri\": \"https://equinox.lightquark.network/default.webp\",\n            \"invite\": \"test2\",\n            \"owners\": [],\n            \"channels\": [\n                {\n                    \"_id\": \"6444fe32f1a19e8f79d337c1\",\n                    \"name\": \"general\",\n                    \"description\": \"The default channel\"\n                },\n                {\n                    \"_id\": \"644503f30a4188e9c699147e\",\n                    \"name\": \"number increasing\",\n                    \"description\": \"1 2 3 4 6... Hakase failed\"\n                }\n            ]\n        },\n        \"message\": \"Quark joined\"\n    }\n}"},{"id":"91245cf6-775f-44b3-86a9-fbd7132dea54","name":"Invalid invite","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/join","host":["https://lightquark.network"],"path":["v4","quark",":invite","join"],"variable":[{"key":"invite","value":""}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"140"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 15 Mar 2024 17:05:14 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Invite code is not valid for any quark\"\n    }\n}"},{"id":"4d80e183-2b6a-44ed-93a1-dea9f69703de","name":"Already member","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/join","host":["https://lightquark.network"],"path":["v4","quark",":invite","join"],"variable":[{"key":"invite","value":"litdevs"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"140"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 15 Mar 2024 17:05:52 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 409,\n        \"success\": false,\n        \"cat\": \"https://http.cat/409\"\n    },\n    \"response\": {\n        \"message\": \"You are already a member of this quark\"\n    }\n}"},{"id":"4e5441d5-bbe1-4c8a-a687-734648681d95","name":"Banned","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/join","host":["https://lightquark.network"],"path":["v4","quark",":invite","join"],"variable":[{"key":"invite","value":"test"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"132"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 15 Mar 2024 17:06:59 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"You are banned from this quark\"\n    }\n}"}],"_postman_id":"481b1d7a-b430-491b-900f-e97029a252e9"},{"name":"Leave quark","id":"c4004a4a-1c6c-434e-80dc-776945706563","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"https://lightquark.network/v4/quark/:quarkId/leave","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId","leave"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"67b3622aee2c9f9fcee59652@dev.lightquark.network","key":"quarkId"}]}},"response":[{"id":"8a406bf9-9d02-4090-9658-632cda0583fe","name":"Leave quark","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/leave","host":["https://lightquark.network"],"path":["v4","quark",":invite","leave"],"variable":[{"key":"invite","value":"test2"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"463"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 09:23:03 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"6444fe32f1a19e8f79d337c2\",\n            \"name\": \"test\",\n            \"iconUri\": \"https://equinox.lightquark.network/default.webp\",\n            \"invite\": \"test2\",\n            \"owners\": []\n        },\n        \"message\": \"Quark left\"\n    }\n}"},{"id":"3982789d-a6d2-49cf-84de-02b6221b0b19","name":"Quark not found","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/leave","host":["https://lightquark.network"],"path":["v4","quark",":invite","leave"],"variable":[{"key":"invite","value":"test2asdads"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"117"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 15 Mar 2024 17:37:49 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Quark not found\"\n    }\n}"},{"id":"f158e4f8-3ba8-44e1-b8a2-1736a3f24160","name":"Not a member","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:invite/leave","host":["https://lightquark.network"],"path":["v4","quark",":invite","leave"],"variable":[{"key":"invite","value":"test"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"136"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 15 Mar 2024 17:38:21 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"You are not a member of this quark\"\n    }\n}"},{"id":"62855f66-24ce-4428-a118-8f6ac412969a","name":"Owner cannot leave","originalRequest":{"method":"POST","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:IdOrInvite/leave","host":["https://lightquark.network"],"path":["v4","quark",":IdOrInvite","leave"],"variable":[{"key":"IdOrInvite","value":"quark-name-65f58251710cd866ba9cbe1d","description":"Quark Id or Invite code"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"134"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 12:48:08 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"You cannot leave a quark you own\"\n    }\n}"}],"_postman_id":"c4004a4a-1c6c-434e-80dc-776945706563"}],"id":"0d28a90b-c1dc-42c9-ada4-5849a540fb43","_postman_id":"0d28a90b-c1dc-42c9-ada4-5849a540fb43","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Invites","item":[{"name":"Get list","id":"4f6c9d5c-5ee1-42f4-a37d-9a244ebfcc8a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/quark/:quarkId/invite","description":"<p>meower8 is quark id</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId","invite"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"666fce4c5dfdf19c6364aa32","key":"quarkId"}]}},"response":[{"id":"47a9f661-087c-4cab-a0f0-53e0593d3961","name":"Get list","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/invite","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","invite"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"760"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 22 Jun 2024 11:40:05 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"invites\": [\n            {\n                \"_id\": \"6676ae84dc08020b358fa194\",\n                \"meower8\": \"666fce4c5dfdf19c6364aa32\",\n                \"createdById\": \"638b122294b249c85de1c9d0\",\n                \"inviteCode\": \"emilia\",\n                \"usable\": true,\n                \"usesLeft\": -1,\n                \"validUntil\": \"2024-06-23T00:00:00+00:00\"\n            },\n            {\n                \"_id\": \"6676b70ca64eb4bbc5b1744f\",\n                \"meower8\": \"666fce4c5dfdf19c6364aa32\",\n                \"createdById\": \"638b122294b249c85de1c9d0\",\n                \"inviteCode\": \"emilia2\",\n                \"usable\": true,\n                \"usesLeft\": 1,\n                \"validUntil\": \"2024-06-23T00:00:00+00:00\"\n            },\n            {\n                \"_id\": \"6676b77b6f7f21afdee88cf7\",\n                \"meower8\": \"666fce4c5dfdf19c6364aa32\",\n                \"createdById\": \"638b122294b249c85de1c9d0\",\n                \"inviteCode\": \"emilia3\",\n                \"usable\": false,\n                \"usesLeft\": 0,\n                \"validUntil\": \"2024-06-23T00:00:00+00:00\"\n            }\n        ],\n        \"message\": \"Here are the invites to this quark\"\n    }\n}"},{"id":"7d738824-6bae-4181-a5d2-2277107a09fc","name":"No permission","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/invite","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","invite"],"variable":[{"key":"quarkId","value":"100000000000000000000000"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"132"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 22 Jun 2024 10:23:50 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission VIEW_INVITE\"\n    }\n}"}],"_postman_id":"4f6c9d5c-5ee1-42f4-a37d-9a244ebfcc8a"},{"name":"Create invite","id":"7ca28673-bbd5-44e8-814f-bba1334748b6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"emilia5\",\r\n    \"uses\": 1,\r\n    \"validUntil\": \"2025-06-23T00:00:00+00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark/:quarkId/invite","description":"<p>Uses -1 for infinite, 0001-01-01T00:00:00+00:00 for no expiry</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId","invite"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"67b3622aee2c9f9fcee59652@dev.lightquark.network","key":"quarkId"}]}},"response":[{"id":"c171dce3-e692-4020-a8b7-f9174a63356f","name":"Create invite with one use and no expiry","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"emilia\",\r\n    \"uses\": 1,\r\n    \"validUntil\": \"0001-01-01T00:00:00+00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/invite","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","invite"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"327"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 22 Jun 2024 10:47:35 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"invite\": {\n            \"_id\": \"6676abc7070e69ab2a44ba2a\",\n            \"meower8\": \"666fce4c5dfdf19c6364aa32\",\n            \"createdById\": \"62b3515989cdb45c9e06e010\",\n            \"inviteCode\": \"emilia\",\n            \"usable\": true,\n            \"usesLeft\": 1,\n            \"validUntil\": \"0001-01-01T00:00:00+00:00\"\n        },\n        \"message\": \"Invite created\"\n    }\n}"},{"id":"1a80e34d-3fcf-4029-81e5-522a5fa83f48","name":"Invite in use","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"invite\": \"emilia\",\r\n    \"uses\": 1,\r\n    \"validUntil\": \"0001-01-01T00:00:00+00:00\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/invite","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","invite"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"128"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 22 Jun 2024 10:50:19 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 409,\n        \"success\": false,\n        \"cat\": \"https://http.cat/409\"\n    },\n    \"response\": {\n        \"message\": \"Invite code already in use\"\n    }\n}"}],"_postman_id":"7ca28673-bbd5-44e8-814f-bba1334748b6"}],"id":"62232955-edce-4e50-a4aa-8bb9210b7dba","_postman_id":"62232955-edce-4e50-a4aa-8bb9210b7dba","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Get quark by Id","id":"43e7d8c4-af25-4329-87eb-247ff34ae1e3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/quark/:quarkId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"1d4cdf6e-f656-4e62-b1a5-7f5d6c2a83d9@dev.lightquark.network","key":"quarkId"}]}},"response":[{"id":"303e5551-c7c7-4e6e-8860-d80321a6dbdd","name":"Get quark by Id","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkIdOrInvite","host":["https://lightquark.network"],"path":["v4","quark",":quarkIdOrInvite"],"variable":[{"key":"quarkIdOrInvite","value":"643aa2e550c913775aec2058"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"1254"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 17:06:45 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"643aa2e550c913775aec2058\",\n            \"name\": \"LIT Devs\",\n            \"iconUri\": \"https://wanderers.cloud/file/VnLiXA.jpg\",\n            \"invite\": \"litdevs\",\n            \"owners\": [\n                \"62b3515989cdb45c9e06e010\"\n            ],\n            \"channels\": [\n                {\n                    \"_id\": \"643aa2e550c913775aec2057\",\n                    \"name\": \"speaky speaky DEV\",\n                    \"description\": \"If you desire to speak, this is probably where you want to do it.\"\n                },\n                {\n                    \"_id\": \"643aa31450c913775aec2082\",\n                    \"name\": \"meme dumpster DEV\",\n                    \"description\": \"\"\n                },\n                {\n                    \"_id\": \"643aa31f50c913775aec2092\",\n                    \"name\": \"atmo7 forgotten DEV lettuce\",\n                    \"description\": \"\"\n                },\n                {\n                    \"_id\": \"643aa32c50c913775aec20a2\",\n                    \"name\": \"number crashing\",\n                    \"description\": \"\"\n                },\n                {\n                    \"_id\": \"65db4024451590d8906d3d83\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                },\n                {\n                    \"_id\": \"65db4097ba04645419ed7087\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                },\n                {\n                    \"_id\": \"65db49b4e10becae31ec0892\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                },\n                {\n                    \"_id\": \"65db49e20b6c43a0b74afb34\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                },\n                {\n                    \"_id\": \"65db4be46554517246745d2f\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                },\n                {\n                    \"_id\": \"65f57143541e160b1e6865ed\",\n                    \"name\": \"channel name\",\n                    \"description\": \"optional description\"\n                }\n            ]\n        },\n        \"message\": \"Here is the quark\"\n    }\n}"},{"id":"d73e0570-3e7f-44b0-9c10-28a830e02e5c","name":"Get quark by invite","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkIdOrInvite","host":["https://lightquark.network"],"path":["v4","quark",":quarkIdOrInvite"],"variable":[{"key":"quarkIdOrInvite","value":"dm"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"308"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 17 Mar 2024 17:05:55 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"100000000000000000000000\",\n            \"name\": \"Direct Messages\",\n            \"iconUri\": \"https://dev.lightquark.network/default.webp\",\n            \"invite\": \"dm\",\n            \"owners\": [\n                \"000000000000000000000001\"\n            ],\n            \"channels\": []\n        },\n        \"message\": \"Here is the quark\"\n    }\n}"},{"id":"f6843b65-4fcf-4981-8d88-45db3228a526","name":"Get quark with peek","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkId?peek=true","host":["https://lightquark.network"],"path":["v4","quark",":quarkId"],"query":[{"key":"peek","value":"true"}],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"6823"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 19 Jan 2025 15:34:07 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"666fce4c5dfdf19c6364aa32\",\n            \"name\": \"015\",\n            \"iconUri\": \"https://cdn.dev.lightquark.network/66bcb1adee515eb9b4fede26\",\n            \"invite\": \"015\",\n            \"owners\": [\n                \"62b3515989cdb45c9e06e010\"\n            ],\n            \"channels\": [\n                {\n                    \"_id\": \"666fcffb5dfdf19c6364aa37\",\n                    \"name\": \"general\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"678d1b5b8019c4f5e7ef42ca\",\n                        \"content\": \"nyom\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1737300825215,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"sharkofbot\",\n                                \"avatarUri\": \"https://cdn.dev.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f585121910388424724%2f47ceb1466c5bd0648487c784d394cbfd.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1330560841401237588\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd0525dfdf19c6364aa39\",\n                    \"name\": \"trash mountain\",\n                    \"description\": \"yeah its the meme channel\",\n                    \"latestMessage\": {\n                        \"_id\": \"67025418f940d312b31eca6c\",\n                        \"content\": \"i am going to blend unity\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1728205847952,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"ivy (meow)\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f295975431058751498%2fb01b152c4b043d8920bfbf8ee27f2d4a.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1292413741887131690\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd1015dfdf19c6364aa3b\",\n                    \"name\": \"video games\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"678beb130f26a0014eeacf03\",\n                        \"content\": \"Discord message with unsupported content\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1737222931632,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"EmilAI\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f1242861255430115349%2fd39c4835469e0912edf19bd508773ca1.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1330234132034228305\",\n                                \"quarkcord\": \"True\",\n                                \"quarkcordUnsupported\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd1435dfdf19c6364aa3d\",\n                    \"name\": \"lightquark\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"678beaab0f26a0014eeaceff\",\n                        \"content\": \"(well there was also the dns issue)\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1737222827845,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"Emilia\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f1029431168094978150%2f19ff4ad6f1968af2e20d1e11c6e6d325.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1330233696719994901\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd16e5dfdf19c6364aa3f\",\n                    \"name\": \"sisyphus channel 2\",\n                    \"description\": \"count up but not twice in a row\",\n                    \"latestMessage\": {\n                        \"_id\": \"6786dd020f26a0014eeab3fe\",\n                        \"content\": \"Shaman Vukky reacted with ✅\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1736891650628,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"reply\",\n                                \"replyTo\": \"6786dd010f26a0014eeab3fc\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd1c05dfdf19c6364aa41\",\n                    \"name\": \"news\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"674349d9b25b1160281520b6\",\n                        \"content\": \"i wonder how quickly we could speedrun the star\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1732463065501,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"Emilia\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f1029431168094978150%2fea3e0d364df8f7f350a78574acc114e5.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1310269806481641472\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd1dd5dfdf19c6364aa43\",\n                    \"name\": \"lightquark news\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"6767d6209e6a1925830f9010\",\n                        \"content\": \"Lightquark has a new versioning scheme\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1734858271867,\n                        \"edited\": true,\n                        \"attachments\": [\n                            {\n                                \"url\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2fattachments%2f1249787866125570109%2f1320316029884432414%2f114b3a2d6f81dfd6.png%3fex%3d6769279f%26is%3d6767d61f%26hm%3d5f877ac3e0d1993177436ec4655afb197d8ab210131325e4b975c61ef12b6565%26\",\n                                \"size\": 64040,\n                                \"type\": \"image/png\",\n                                \"filename\": \"114b3a2d6f81dfd6.png\",\n                                \"height\": 1002,\n                                \"width\": 1484\n                            }\n                        ],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"Emilia\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f1029431168094978150%2fea3e0d364df8f7f350a78574acc114e5.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1320316030123376722\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                },\n                {\n                    \"_id\": \"666fd4475dfdf19c6364aa45\",\n                    \"name\": \"dumpster fire\",\n                    \"description\": \"\",\n                    \"latestMessage\": {\n                        \"_id\": \"674e22066e693127963f1c93\",\n                        \"content\": \"⭐ **3** | https://discord.com/channels/1249783010338017430/1249785834090139761/1313250319504769085 (<@629028955646853141>)\",\n                        \"ua\": \"Quarkcord\",\n                        \"timestamp\": 1733173766850,\n                        \"edited\": false,\n                        \"attachments\": [],\n                        \"specialAttributes\": [\n                            {\n                                \"type\": \"botMessage\",\n                                \"username\": \"sharkofbot\",\n                                \"avatarUri\": \"https://cdn.equinox.lightquark.network/external/https%3a%2f%2fcdn.discordapp.com%2favatars%2f585121910388424724%2f47ceb1466c5bd0648487c784d394cbfd.png%3fsize%3d128\"\n                            },\n                            {\n                                \"type\": \"clientAttributes\",\n                                \"discordMessageId\": \"1313250703992422523\",\n                                \"quarkcord\": \"True\"\n                            }\n                        ],\n                        \"author\": {\n                            \"_id\": \"63eb7b8630d172b639647de1\",\n                            \"username\": \"Quarkcord\",\n                            \"admin\": false,\n                            \"isBot\": true,\n                            \"secretThirdThing\": false,\n                            \"avatarUri\": \"https://cdn.dev.lightquark.network/6730c9c2bd564846bbc3570d\"\n                        }\n                    }\n                }\n            ],\n            \"inviteEnabled\": true,\n            \"systemMessageChannel\": \"666fcffb5dfdf19c6364aa37\"\n        },\n        \"message\": \"Here is the quark\"\n    }\n}"}],"_postman_id":"43e7d8c4-af25-4329-87eb-247ff34ae1e3"},{"name":"Create quark","id":"0fed113b-f839-4a26-ae04-9fdb96932d1a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"testq\",\r\n    \"invite\": \"testqq\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"cf5bc1a4-4106-431b-a8fc-5c0d1387f276","name":"Create quark","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"quark name\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"392"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 11:28:17 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"65f58251710cd866ba9cbe1d\",\n            \"name\": \"quark name\",\n            \"iconUri\": \"https://dev.lightquark.network/default.webp\",\n            \"invite\": \"quark-name-65f58251710cd866ba9cbe1d\",\n            \"channels\": [\n                {\n                    \"_id\": \"65f58251710cd866ba9cbe1e\",\n                    \"name\": \"general\",\n                    \"description\": \"The default channel!\",\n                    \"index\": 0\n                }\n            ]\n        },\n        \"message\": \"Quark created\"\n    }\n}"},{"id":"66a3d344-15f1-4cef-b555-a251e1ffd32e","name":"Create (with invite)","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"quark name\",\r\n    \"invite\": \"invite code (optional)\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"379"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 11:23:14 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"65f58121f97feb14a5f866e2\",\n            \"name\": \"quark name\",\n            \"iconUri\": \"https://dev.lightquark.network/default.webp\",\n            \"invite\": \"invite code (optional)\",\n            \"channels\": [\n                {\n                    \"_id\": \"65f58121f97feb14a5f866e3\",\n                    \"name\": \"general\",\n                    \"description\": \"The default channel!\",\n                    \"index\": 0\n                }\n            ]\n        },\n        \"message\": \"Quark created\"\n    }\n}"},{"id":"3f2388af-a815-400a-abe8-70e27875543e","name":"Invite already in use","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"quark name\",\r\n    \"invite\": \"quark-name-65f58251710cd866ba9cbe1d\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"146"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 16 Mar 2024 11:29:01 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 409,\n        \"success\": false,\n        \"cat\": \"https://http.cat/409\"\n    },\n    \"response\": {\n        \"message\": \"A quark with this invite code already exists\"\n    }\n}"}],"_postman_id":"0fed113b-f839-4a26-ae04-9fdb96932d1a"},{"name":"Delete quark","id":"a5e59a7e-5585-4b6b-87b5-d97a24c12410","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"https://lightquark.network/v4/quark/:quarkId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId"],"host":["https://lightquark.network"],"query":[],"variable":[{"description":{"content":"<p>Id of the quark to be deleted</p>\n","type":"text/plain"},"type":"any","value":"98dcef4b-802c-4c8e-af9c-0c27a3daf13d@dev.lightquark.network","key":"quarkId"}]}},"response":[{"id":"2733fcd0-7dfb-45e9-a909-18ce9a5a2f45","name":"Delete quark","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkId","host":["https://lightquark.network"],"path":["v4","quark",":quarkId"],"variable":[{"key":"quarkId","value":"643aa2e550c913775aec2058","description":"Id of the quark to be deleted"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"218"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 29 Mar 2024 14:53:39 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Quark deleted. Related data (channels, messages, attachments, roles, permissions, members) will be cleaned up shortly\"\n    }\n}"},{"id":"d664b905-dc93-44e5-b164-9a3896ce265f","name":"Quark not found","originalRequest":{"method":"DELETE","header":[],"url":{"raw":"https://lightquark.network/v4/quark/:quarkId","host":["https://lightquark.network"],"path":["v4","quark",":quarkId"],"variable":[{"key":"quarkId","value":"643aa2e550c913775aec2058","description":"Id of the quark to be deleted"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"142"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Fri, 29 Mar 2024 15:04:14 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Quark 643aa2e550c913775aec2058 not found\"\n    }\n}"}],"_postman_id":"a5e59a7e-5585-4b6b-87b5-d97a24c12410"},{"name":"Edit quark","id":"e2524932-b538-47cb-9be7-bb804796a1ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"testq\",\r\n    \"inviteEnabled\": true,\r\n    \"systemMessageChannel\": \"6679a24a213c982f4f832ef8\"\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/quark/:quarkId","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"6679a24a213c982f4f832ef7","key":"quarkId"}]}},"response":[{"id":"9021f078-74dd-4298-936e-0afc5ba44245","name":"Edit quark","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"015\",\r\n    \"inviteEnabled\": false,\r\n    \"systemMessageChannel\": \"666fcffb5dfdf19c6364aa37\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId","host":["https://lightquark.network"],"path":["v4","quark",":quarkId"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"351"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 24 Jun 2024 16:39:33 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"666fce4c5dfdf19c6364aa32\",\n            \"name\": \"015\",\n            \"iconUri\": \"https://dev.lightquark.network/default.webp\",\n            \"invite\": \"015\",\n            \"owners\": [\n                \"62b3515989cdb45c9e06e010\"\n            ],\n            \"inviteEnabled\": false,\n            \"systemMessageChannel\": \"666fcffb5dfdf19c6364aa37\"\n        },\n        \"message\": \"Quark updated\"\n    }\n}"},{"id":"91b8bc9a-f373-4626-b3c2-b3492400fbeb","name":"Invite conflict","originalRequest":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\r\n    \"name\": \"015\",\r\n    \"invite\": \"015\",\r\n    \"inviteEnabled\": false,\r\n    \"systemMessageChannel\": \"666fcffb5dfdf19c6364aa37\"\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId","host":["https://lightquark.network"],"path":["v4","quark",":quarkId"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Content-Length","value":"146"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 24 Jun 2024 16:39:18 GMT"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 409,\n        \"success\": false,\n        \"cat\": \"https://http.cat/409\"\n    },\n    \"response\": {\n        \"message\": \"A quark with this invite code already exists\"\n    }\n}"}],"_postman_id":"e2524932-b538-47cb-9be7-bb804796a1ef"},{"name":"Update icon","id":"3fb13480-b84a-4543-9efd-6fe4e71d5d33","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"icon","type":"file","src":"/A:/Nextcloud/Media/Interloper Pictures/blobbie/015.png"}]},"url":"https://lightquark.network/v4/quark/:quarkId/icon","description":"<p>Set your avatar to an image (can be animated! Without a subscription! Suck it discord!)  </p>\n<p>Max size 2.5M characters of base64 string.</p>\n<p>Images get resized to 256x256 (with no regard for original size) and converted to webp. If your image doesnt like that, try a better image</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","quark",":quarkId","icon"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"1d4cdf6e-f656-4e62-b1a5-7f5d6c2a83d9@dev.lightquark.network","key":"quarkId"}]}},"response":[{"id":"41790ddf-527d-468e-8066-c2332f09c45d","name":"Update icon","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"icon","type":"file","src":"/C:/Users/emi/Pictures/blobbie/015.png"}]},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/icon","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","icon"],"variable":[{"key":"quarkId","value":"666fce4c5dfdf19c6364aa32"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"370"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Wed, 14 Aug 2024 13:31:25 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"quark\": {\n            \"_id\": \"666fce4c5dfdf19c6364aa32\",\n            \"name\": \"015\",\n            \"iconUri\": \"https://cdn.equinox.lightquark.network/66bcb1adee515eb9b4fede26\",\n            \"invite\": \"015\",\n            \"owners\": [\n                \"62b3515989cdb45c9e06e010\"\n            ],\n            \"inviteEnabled\": true,\n            \"systemMessageChannel\": \"666fcffb5dfdf19c6364aa37\"\n        },\n        \"message\": \"Icon updated!\"\n    }\n}"},{"id":"83d6affd-c872-48a5-9653-6b4726c68cf0","name":"No permission","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"icon","type":"file","src":"/A:/Nextcloud/Media/Interloper Pictures/blobbie/015.png"}]},"url":{"raw":"https://lightquark.network/v4/quark/:quarkId/icon","host":["https://lightquark.network"],"path":["v4","quark",":quarkId","icon"],"variable":[{"key":"quarkId","value":"1d4cdf6e-f656-4e62-b1a5-7f5d6c2a83d9@dev.lightquark.network"}]}},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Caddy-Host","value":"Midgard"},{"key":"Content-Length","value":"153"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 31 May 2025 09:15:30 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\",\n        \"error_code\": 40103\n    },\n    \"response\": {\n        \"message\": \"Missing permission EditQuarkIcon\"\n    }\n}"}],"_postman_id":"3fb13480-b84a-4543-9efd-6fe4e71d5d33"}],"id":"d85798d5-ae5d-4d49-b4f1-5d230aa2d76e","_postman_id":"d85798d5-ae5d-4d49-b4f1-5d230aa2d76e","description":"","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}},{"name":"Emotes","item":[{"name":"Get list of emotes","id":"85538f3e-f07b-4c89-8354-aadb2a9a696a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"https://lightquark.network/v4/emoji/","description":"<p>This endpoint will return a list of emotes in all quarks you are in, or if <code>quark</code> query parameter is specified, only in that quark.</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","emoji",""],"host":["https://lightquark.network"],"query":[{"disabled":true,"key":"quarkId","value":"643aa2e550c913775aec2058"}],"variable":[]}},"response":[{"id":"179829df-9a48-4a52-bee0-ea67403f396f","name":"Get list of emotes in all quarks you're in","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/emoji/","host":["https://lightquark.network"],"path":["v4","emoji",""],"query":[{"key":"quarkId","value":"643aa2e550c913775aec2058","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"2132"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 10:57:26 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"emotes\": [\n            {\n                \"emotes\": [],\n                \"quarkId\": \"6444fe32f1a19e8f79d337c2\"\n            },\n            {\n                \"emotes\": [],\n                \"quarkId\": \"100000000000000000000000\"\n            },\n            {\n                \"emotes\": [],\n                \"quarkId\": \"6472fbc1d37be4f820956680\"\n            },\n            {\n                \"emotes\": [\n                    {\n                        \"_id\": \"64513b911afc8fd426cb8d33\",\n                        \"imageUri\": \"https://wanderers.cloud/file/k5ak4w.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"64513d0399f76bf1a803fa1b\",\n                        \"imageUri\": \"https://wanderers.cloud/file/JuQPwQ.webp\",\n                        \"altText\": \"Three circles representing a quark on a gradient background, the Lightquark logo\",\n                        \"description\": \"The Lightquark logo\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104a99fdd00087a088db71\",\n                        \"imageUri\": \"https://wanderers.cloud/file/8MP0pQ.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104af5fdd00087a088dbf7\",\n                        \"imageUri\": \"https://wanderers.cloud/file/cMTZeQ.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104afdfdd00087a088dc02\",\n                        \"imageUri\": \"https://wanderers.cloud/file/CTq3bw.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b06fdd00087a088dcc4\",\n                        \"imageUri\": \"https://wanderers.cloud/file/85NOJA.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b4afdd00087a088dd59\",\n                        \"imageUri\": \"https://wanderers.cloud/file/KMcFTw.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b967b3da1407a29e218\",\n                        \"imageUri\": \"https://wanderers.cloud/file/2I0_sA.webp\",\n                        \"altText\": \"A mouse cursor moving across a gray background\",\n                        \"description\": \"Test emote for GIF emotes\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104c0d478b4813edb74bbd\",\n                        \"imageUri\": \"https://wanderers.cloud/file/hKnbUw.webp\",\n                        \"altText\": \"A mouse cursor moving across a gray background\",\n                        \"description\": \"Test emote for GIF emotes\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    }\n                ],\n                \"quarkId\": \"643aa2e550c913775aec2058\"\n            }\n        ],\n        \"message\": \"Here are the emotes\"\n    }\n}"},{"id":"4cb91c1f-8754-4646-b53b-58494d7db617","name":"Get list of emotes in specific quark","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://lightquark.network/v4/emoji/?quarkId=643aa2e550c913775aec2058","host":["https://lightquark.network"],"path":["v4","emoji",""],"query":[{"key":"quarkId","value":"643aa2e550c913775aec2058"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"1979"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 10:56:24 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"emotes\": [\n            {\n                \"emotes\": [\n                    {\n                        \"_id\": \"64513b911afc8fd426cb8d33\",\n                        \"imageUri\": \"https://wanderers.cloud/file/k5ak4w.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"64513d0399f76bf1a803fa1b\",\n                        \"imageUri\": \"https://wanderers.cloud/file/JuQPwQ.webp\",\n                        \"altText\": \"Three circles representing a quark on a gradient background, the Lightquark logo\",\n                        \"description\": \"The Lightquark logo\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104a99fdd00087a088db71\",\n                        \"imageUri\": \"https://wanderers.cloud/file/8MP0pQ.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104af5fdd00087a088dbf7\",\n                        \"imageUri\": \"https://wanderers.cloud/file/cMTZeQ.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104afdfdd00087a088dc02\",\n                        \"imageUri\": \"https://wanderers.cloud/file/CTq3bw.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b06fdd00087a088dcc4\",\n                        \"imageUri\": \"https://wanderers.cloud/file/85NOJA.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b4afdd00087a088dd59\",\n                        \"imageUri\": \"https://wanderers.cloud/file/KMcFTw.webp\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104b967b3da1407a29e218\",\n                        \"imageUri\": \"https://wanderers.cloud/file/2I0_sA.webp\",\n                        \"altText\": \"A mouse cursor moving across a gray background\",\n                        \"description\": \"Test emote for GIF emotes\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    },\n                    {\n                        \"_id\": \"65104c0d478b4813edb74bbd\",\n                        \"imageUri\": \"https://wanderers.cloud/file/hKnbUw.webp\",\n                        \"altText\": \"A mouse cursor moving across a gray background\",\n                        \"description\": \"Test emote for GIF emotes\",\n                        \"quark\": \"643aa2e550c913775aec2058\",\n                        \"createdBy\": \"62b3515989cdb45c9e06e010\"\n                    }\n                ],\n                \"quarkId\": \"643aa2e550c913775aec2058\"\n            }\n        ],\n        \"message\": \"Here are the emotes\"\n    }\n}"}],"_postman_id":"85538f3e-f07b-4c89-8354-aadb2a9a696a"},{"name":"Create emoji","id":"992372d3-45a1-460a-8082-c8e16045b8c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"638b815b4d55b470d9d6fa1a\",\n    \"name\": \"echidna\",\n    \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","description":"<p>JSON payload</p>\n","type":"text","contentType":"application/json"},{"key":"image","type":"file","fileNotInWorkingDirectoryWarning":"This file isn't in your working directory. Teammates you share this request with won't be able to use this file. To make collaboration easier you can setup your working directory in Settings.","filesNotInWorkingDirectory":["/C:/Users/skelly/Downloads/echidna.png"],"src":"/C:/Users/skelly/Downloads/echidna.png"}]},"url":"https://lightquark.network/v4/emoji","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","emoji"],"host":["https://lightquark.network"],"query":[],"variable":[]}},"response":[{"id":"47240148-12a0-41b0-9006-791288ed5f5d","name":"Create emoji","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"643aa2e550c913775aec2058\",\n    \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"altText\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","type":"text","contentType":"application/json"},{"key":"image","type":"file","src":"postman-cloud:///1ef04827-25b4-4b60-8419-762c5b1e9848"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"664"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:55:12 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 201,\n        \"success\": true,\n        \"cat\": \"https://http.cat/201\"\n    },\n    \"response\": {\n        \"emoji\": {\n            \"_id\": \"66094f1f607655a876c648c4\",\n            \"imageUri\": \"https://cdn.dev.lightquark.network/66094f1f607655a876c648c5\",\n            \"altText\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n            \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n            \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n            \"quark\": \"643aa2e550c913775aec2058\",\n            \"createdBy\": \"62b3515989cdb45c9e06e010\"\n        },\n        \"message\": \"Emoji created\"\n    }\n}"},{"id":"295ff45f-8f16-4a60-98ec-1f337de83c3a","name":"No permission","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"100000000000000000000000\",\n    \"name\": \":\"\n}","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Forbidden","code":403,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"133"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:32:33 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 403,\n        \"success\": false,\n        \"cat\": \"https://http.cat/403\"\n    },\n    \"response\": {\n        \"message\": \"Missing permission CREATE_EMOTE\"\n    }\n}"},{"id":"94297b15-21c6-4f53-81ff-f87bb9a29101","name":"Name too long","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"643aa2e550c913775aec2058\",\n    \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"146"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:35:55 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Emote name cannot be over 64 characters long\"\n    }\n}"},{"id":"90f2708f-1fc3-4472-bb75-7ec5faeb781a","name":"Description too long","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"643aa2e550c913775aec2058\",\n    \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"154"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:36:12 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Emote description cannot be over 128 characters long\"\n    }\n}"},{"id":"17443675-c957-4f86-899a-0cb62102fedc","name":"Alt text too long","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"643aa2e550c913775aec2058\",\n    \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"altText\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","type":"text","contentType":"application/json"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"151"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:36:34 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 400,\n        \"success\": false,\n        \"cat\": \"https://http.cat/400\"\n    },\n    \"response\": {\n        \"message\": \"Emote alt text cannot be over 128 characters long\"\n    }\n}"},{"id":"8f3f358e-1534-4386-ab01-5289145540a9","name":"Name conflict","originalRequest":{"method":"PUT","header":[],"body":{"mode":"formdata","formdata":[{"key":"payload","value":"{\n    \"quarkId\": \"643aa2e550c913775aec2058\",\n    \"name\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n    \"altText\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\"\n}","type":"text"},{"key":"image","type":"file","src":"postman-cloud:///1ef04827-25b4-4b60-8419-762c5b1e9848"}],"options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji"},"status":"Conflict","code":409,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"137"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sun, 31 Mar 2024 11:59:11 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 409,\n        \"success\": false,\n        \"cat\": \"https://http.cat/409\"\n    },\n    \"response\": {\n        \"message\": \"Emoji with this name already exists\"\n    }\n}"}],"_postman_id":"992372d3-45a1-460a-8082-c8e16045b8c1"},{"name":"Delete emoji","id":"2c58a2d0-576a-42cc-a20e-184f0edcd28c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"brick\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"https://lightquark.network/v4/emoji/:emojiId","description":"<p>There are 2 kinds of emote deletion:<br />Brick, and no brick.</p>\n<p>Brick means that the emoji is completely erased from the CDN, while no brick means the emoji is simply moved into the graveyard (not associated with the quark anymore, but can still be sent and seen).</p>\n<p>Most of the time the deletion you want is no brick.</p>\n<p>Bricking can be defined by setting <code>brick</code>in the body of the request.</p>\n<p>A no brick deleted emote can be bricked from the graveyard by its original creator</p>\n","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["v4","emoji",":emojiId"],"host":["https://lightquark.network"],"query":[],"variable":[{"type":"any","value":"66c07bea980c49fd93cd9925","key":"emojiId"}]}},"response":[{"id":"5d8e4d5f-341a-49ed-abb0-55e8481542ac","name":"Delete emoji (no brick)","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/emoji/:emojiId","host":["https://lightquark.network"],"path":["v4","emoji",":emojiId"],"variable":[{"key":"emojiId","value":"66094eaa7c5e82c8932c24a8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"114"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 13 Apr 2024 09:52:51 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Emoji deleted\"\n    }\n}"},{"id":"6c83fa88-d5bb-4497-9035-f20e2af25aa5","name":"Delete emoji (brick)","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\r\n    \"brick\": true\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/emoji/:emojiId","host":["https://lightquark.network"],"path":["v4","emoji",":emojiId"],"variable":[{"key":"emojiId","value":"66094f1f607655a876c648c4"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"114"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 13 Apr 2024 09:58:38 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Emoji deleted\"\n    }\n}"},{"id":"dec20102-c1c3-4bbc-88e2-5889ee7fbc0e","name":"Brick deleted emote","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/emoji/:emojiId","host":["https://lightquark.network"],"path":["v4","emoji",":emojiId"],"variable":[{"key":"emojiId","value":"66094eaa7c5e82c8932c24a8"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"114"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 13 Apr 2024 09:54:14 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"message\": \"Emoji deleted\"\n    }\n}"},{"id":"6e43efbf-1b39-4327-9ea3-9f5ead1552b4","name":"Not found","originalRequest":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://lightquark.network/v4/emoji/:emojiId","host":["https://lightquark.network"],"path":["v4","emoji",":emojiId"],"variable":[{"key":"emojiId","value":"66094eaa7c5e82c8932c24a8"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"Content-Length","value":"111"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Sat, 13 Apr 2024 09:57:42 GMT"},{"key":"Server","value":"Caddy"},{"key":"Server","value":"Kestrel"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 404,\n        \"success\": false,\n        \"cat\": \"https://http.cat/404\"\n    },\n    \"response\": {\n        \"message\": \"Not Found\"\n    }\n}"}],"_postman_id":"2c58a2d0-576a-42cc-a20e-184f0edcd28c"},{"name":"Get emote image (CDN)","id":"2d7248c9-c64f-434f-8853-a4551850bfd3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{cdnbaseurl}}/emoji/:emojiId?size=44","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["emoji",":emojiId"],"host":["{{cdnbaseurl}}"],"query":[{"key":"size","value":"44"}],"variable":[{"type":"any","value":"645221071e77b8a8b9e30d22","key":"emojiId"}]}},"response":[],"_postman_id":"2d7248c9-c64f-434f-8853-a4551850bfd3"},{"name":"Get emote metadata (CDN)","id":"8a5967e1-d7c8-40eb-81a7-210df091f199","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{cdnbaseurl}}/emoji/:emojiId/metadata","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}},"urlObject":{"path":["emoji",":emojiId","metadata"],"host":["{{cdnbaseurl}}"],"query":[],"variable":[{"type":"any","value":"66c07bea980c49fd93cd9925","key":"emojiId"}]}},"response":[{"id":"d04c5a65-512d-48f5-b197-898fd10684fb","name":"Get emote metadata (CDN)","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{cdnbaseurl}}/emoji/:emojiId/metadata","host":["{{cdnbaseurl}}"],"path":["emoji",":emojiId","metadata"],"variable":[{"key":"emojiId","value":"66c07bea980c49fd93cd9925"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Sat, 17 Aug 2024 10:31:09 GMT"},{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Connection","value":"keep-alive"},{"key":"Vary","value":"Accept-Encoding"},{"key":"Server","value":"BunnyCDN-FI1-1208"},{"key":"CDN-PullZone","value":"2096056"},{"key":"CDN-Uid","value":"f7a373fd-c810-468e-a376-3bdf5d12bd7c"},{"key":"CDN-RequestCountryCode","value":"FI"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=2592000"},{"key":"CDN-ProxyVer","value":"1.04"},{"key":"CDN-RequestPullSuccess","value":"True"},{"key":"CDN-RequestPullCode","value":"200"},{"key":"CDN-CachedAt","value":"08/17/2024 10:31:09"},{"key":"CDN-EdgeStorageId","value":"1208"},{"key":"CDN-Status","value":"200"},{"key":"CDN-RequestId","value":"0c69a8b06bc53a479a34c6dae7c604b6"},{"key":"CDN-Cache","value":"MISS"},{"key":"Cache-Control","value":"public, max-age=3600"},{"key":"Content-Encoding","value":"br"}],"cookie":[],"responseTime":null,"body":"{\n    \"request\": {\n        \"status_code\": 200,\n        \"success\": true,\n        \"cat\": \"https://http.cat/200\"\n    },\n    \"response\": {\n        \"emoji\": {\n            \"_id\": \"66c07bea980c49fd93cd9925\",\n            \"imageUri\": \"https://cdn.dev.lightquark.network/66c07bea980c49fd93cd9926\",\n            \"name\": \"anemote\",\n            \"description\": \"meowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeowmeow\",\n            \"quark\": \"638b815b4d55b470d9d6fa1a\",\n            \"createdBy\": \"62b3515989cdb45c9e06e010\"\n        },\n        \"message\": \"Here is the emoji metadata\"\n    }\n}"}],"_postman_id":"8a5967e1-d7c8-40eb-81a7-210df091f199"}],"id":"3f8bd03d-3c2b-4954-92c8-1684949d0933","description":"<p>Ah... Emotes... The tiny pictures in internet chats that everyone loves so much.</p>\n<p>Each quark can have an unlimited amount of these tiny pictures, which can be used by anyone anywhere on Lightquark.</p>\n<p>To send/parse them use the following format:</p>\n<blockquote>\n<p>&lt;emoteName:emoteId&gt;<br />&lt;lightquark-logo:64513d0399f76bf1a803fa1b&gt; </p>\n</blockquote>\n<p>Emote names and ids cant contain : so you can safely split on it to obtain the other components. Actually, here is a regex to do it:</p>\n<blockquote>\n<p>/&lt;(?&lt;emoteName&gt;[^:\\s]+):(?&lt;emoteId&gt;[a-f0-9]+)&gt;/gm </p>\n</blockquote>\n<p>When uploading emotes to Lightquark, try to keep it /lh. &lt;- i dont know which word to use<br />Please do not upload images of harmful content (including gore, suicide-related imagery, pornography, illegal content, etc.)<br />In addition, please only upload emotes that you have the right to use. You cannot upload the entirety of Shrek as an emote.</p>\n<p>To resolve an emote to the little image it corresponds to you can use the CDN emoji endpoint. So use the CDN Base URL from the network information (cdn.lightquark.network for Solstice network for example) and call /emoji/:emojiId<br />This will return a redirect to the final file. You can get the other metadata (name, description, alt text etc. from adding /metadata to the end of that, this also returns the final file url)</p>\n","_postman_id":"3f8bd03d-3c2b-4954-92c8-1684949d0933","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]},"isInherited":true,"source":{"_postman_id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","id":"35604254-d0b0-4293-9ce5-f4530dbce6dc","name":"Lightquark API v4 (active dev)","type":"collection"}}}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":""}]}},"event":[{"listen":"prerequest","script":{"id":"45d5c724-e723-45de-81be-b1422bc6a096","type":"text/javascript","exec":["pm.sendRequest({url: `${pm.environment.get(\"baseurl\")}/v4/auth/token`, ","                method: \"POST\", ","                header: { \"content-type\": \"application/json\"}, ","                body: { mode: \"raw\", raw: {\"email\": pm.environment.get(\"email\"), \"password\": pm.environment.get(\"password\")}}},","                function (err, response) {","    pm.collectionVariables.set(\"apitoken\", response.json().response.access_token);","    console.log(pm.collectionVariables.get(\"apitoken\"))","});",""]}},{"listen":"test","script":{"id":"5413788f-17cb-4bc2-82bf-a7b97af06050","type":"text/javascript","exec":[""]}}],"variable":[{"key":"apitoken","value":"","type":"string"},{"key":"baseurl","value":"https://lightquark.network"}]}