CINXE.COM

omg.lol - An amazing API for an amazing service

<!DOCTYPE html> <html lang="en"> <head> <title>omg.lol - An amazing API for an amazing service</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width"> <meta property="og:type" content="website"> <meta property="og:title" content="omg.lol - An amazing API for an amazing service"> <meta property="og:url" content="https://home.omg.lol/"> <meta property="og:description" content="Beep boop programming stuff"> <meta property="og:image" content="https://cdn.cache.lol/img/social_card_2022-06-23.png"> <meta name="twitter:profile" content="summary_large_image"> <meta name="twitter:site" content="@omgdotlol"> <meta name="twitter:creator" content="@omgdotlol"> <meta name="twitter:title" content="omg.lol - An amazing API for an amazing service"> <meta name="twitter:description" content="Beep boop programming stuff"> <meta name="twitter:image" content="https://cdn.cache.lol/img/social_card_2022-06-23.png"> <link rel="apple-touch-icon" sizes="180x180" href="https://cdn.cache.lol/favicons/omg.lol/apple-touch-icon.png"> <link rel="icon" type="image/png" sizes="32x32" href="https://cdn.cache.lol/favicons/omg.lol/favicon-32x32.png"> <link rel="icon" type="image/png" sizes="16x16" href="https://cdn.cache.lol/favicons/omg.lol/favicon-16x16.png"> <link rel="manifest" href="https://cdn.cache.lol/favicons/omg.lol/site.webmanifest"> <link rel="mask-icon" href="https://cdn.cache.lol/favicons/omg.lol/safari-pinned-tab.svg" color="#ff69ad"> <link rel="shortcut icon" href="https://cdn.cache.lol/favicons/omg.lol/favicon.ico"> <meta name="apple-mobile-web-app-title" content="omg.lol"> <meta name="application-name" content="omg.lol"> <meta name="msapplication-TileColor" content="#343a40"> <meta name="msapplication-config" content="https://cdn.cache.lol/favicons/omg.lol/browserconfig.xml"> <meta name="theme-color" content="#343a40"> <link rel="stylesheet" href="https://cdn.cache.lol/css/style.css?v=2023-01-29"> <style> html { scroll-behavior: smooth; } .active { color: #74b816 !important; } #toc_scrollable { overflow: auto; height: calc(100vh - 15em); margin-bottom: 2em; padding-bottom: 2em; scrollbar-gutter: stable both-edges; overflow-x: hidden; -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%); mask-image: linear-gradient(to bottom, black 90%, transparent 100%); transition: height .15s ease-in-out; } #toc_scrollable::-webkit-scrollbar { width: .2em; } #toc_scrollable::-webkit-scrollbar-track { box-shadow: inset 0 0 6px #343a40; } #toc_scrollable::-webkit-scrollbar-thumb { border-radius: 1em; background-color: #495057; } #api-nav a { text-decoration: none; } #api-nav ul { margin: 0 0 1em .5em; } #api-nav li { font-size: 90%; } #api-nav h3 { margin: 1em 0 .1em 0; } .response { margin-bottom: calc(var(--spacing) * 1.5); } .wrap { white-space: pre-wrap; overflow-wrap: break-word; word-break: break-word; } .method, .parameter, .auth, .no-auth { font-size: 80%; text-transform: uppercase; white-space: nowrap; color: var(--gray-9); padding: .25em .35em; border-radius: .13em; margin-right: .5em; } .inline { margin-right: 2px; } .method.get { background: var(--green-4); } .method.post { background: var(--orange-4); } .method.patch { background: var(--yellow-4); } .method.delete { background: var(--red-4); } h2 .method { font-family: 'Lato'; margin: 0; } .parameter { background: var(--cyan-4); margin: 0 .2em; } .auth { background: var(--indigo-3); } .no-auth { background: var(--teal-4); } #toc { display: flex; align-items: stretch; flex-grow: 0; } @media only screen and (max-width: 700px) { #toc { display: none; } .box { margin: 0; padding: 0; } } </style> <script src="https://cdn.cache.lol/js/main.js"></script> </head> <body> <script> const theme = localStorage.getItem('color_scheme') || 'dark-mode'; document.body.className = theme; </script> <div class="fixed" style="--width: 70em;"> <header> <div class="flex"> <div class="box logotype space basis" style="--basis: 3em;"> <p><a href="https://home.omg.lol/">omg<span class="pink-5-fg">.</span>lol <img src="https://cdn.cache.lol/img/prami.svg" alt="Prami"></a></p> </div> <div class="box space right basis" style="--basis: 9em;"> <nav class="horizontal"> <ul> <li><span name="color_mode_button" id="color_mode_button" onclick="toggle_color_scheme(true)" title="Toggle dark/light mode"></span></li> <li><a class="help" href="https://home.omg.lol/info"><i class="fa-solid fa-block-question"></i><span class="dashboard-label"> Help</span></a></li> <li><a href="https://home.omg.lol/sign-up">Sign up</a></li> <li><a href="https://home.omg.lol/sign-in">Sign in</a></li> </ul> </nav> </div> </div> </header> <main> <div id="api_container" class="flex transparent"> <div id="toc" class="box basis transparent" style="--basis: 19em; align-items: flex-start;"> <div id="toc_scrollable" style="position: sticky; top: 1em; padding-right: 1em;"> <nav id="api-nav"> <h3><a href="#account">Account</a></h3> <ul> <li><a href="#token-get-account-retrieve-account-information">Retrieve account information</a></li> <li><a href="#token-get-account-retrieve-addresses-for-an-account">Retrieve addresses for an account</a></li> <li><a href="#token-get-account-retrieve-the-account-name">Retrieve the account name</a></li> <li><a href="#token-post-account-set-the-account-name">Set the account name</a></li> <li><a href="#token-get-account-retrieve-active-sessions">Retrieve active sessions</a></li> <li><a href="#token-delete-account-remove-a-session">Remove a session</a></li> <li><a href="#token-get-account-retrieve-account-settings">Retrieve account settings</a></li> <li><a href="#token-post-account-set-account-settings">Set account settings</a></li> </ul> <h3><a href="#address">Address</a></h3> <ul> <li><a href="#noauth-get-address-retrieve-address-availability">Retrieve address availability</a></li> <li><a href="#noauth-get-address-retrieve-address-expiration">Retrieve address expiration</a></li> <li><a href="#noauth-get-address-retrieve-public-information-about-an-address">Retrieve public information about an address</a></li> <li><a href="#token-get-address-retrieve-private-information-about-an-address">Retrieve private information about an address</a></li> </ul> <h3><a href="#dns">DNS</a></h3> <ul> <li><a href="#token-get-dns-retrieve-dns-records-for-an-address">Retrieve DNS records for an address</a></li> <li><a href="#token-post-dns-create-a-new-dns-record">Create a new DNS record</a></li> <li><a href="#token-patch-dns-edit-an-existing-dns-record">Edit an existing DNS record</a></li> <li><a href="#token-delete-dns-delete-a-dns-record">Delete a DNS record</a></li> </ul> <h3><a href="#directory">Directory</a></h3> <ul> <li><a href="#noauth-get-directory-retreive-the-address-directory">Retreive the address directory</a></li> </ul> <h3><a href="#email">Email</a></h3> <ul> <li><a href="#token-get-email-retrieve-forwarding-addresses">Retrieve forwarding address(es)</a></li> <li><a href="#token-post-email-set-forwarding-addresses">Set forwarding address(es)</a></li> </ul> <h3><a href="#now-page">Now Page</a></h3> <ul> <li><a href="#noauth-get-now-page-retrieve-/now-page">Retrieve /now Page</a></li> <li><a href="#noauth-get-now-page-retrieve-the-now.garden-listing">Retrieve the now.garden listing</a></li> <li><a href="#token-post-now-page-update-/now-page">Update /now Page</a></li> </ul> <h3><a href="#oauth">OAuth</a></h3> <ul> <li><a href="#token-get-oauth-exchange-an-authorization-code-for-an-access-token">Exchange an authorization code for an access token</a></li> </ul> <h3><a href="#purls">PURLs</a></h3> <ul> <li><a href="#token-post-purls-create-a-new-purl">Create a new PURL</a></li> <li><a href="#token-get-purls-retrieve-a-specific-purl">Retrieve a specific PURL</a></li> <li><a href="#token-get-purls-retrieve-a-list-of-purls-for-an-address">Retrieve a list of PURLs for an address</a></li> <li><a href="#token-delete-purls-delete-a-purl">Delete a PURL</a></li> </ul> <h3><a href="#pastebin">Pastebin</a></h3> <ul> <li><a href="#noauth-get-pastebin-retrieve-a-specific-paste">Retrieve a specific paste</a></li> <li><a href="#token-get-pastebin-retrieve-an-entire-pastebin">Retrieve an entire Pastebin</a></li> <li><a href="#noauth-get-pastebin-retrieve-listed-pastes-in-a-pastebin">Retrieve listed pastes in a Pastebin</a></li> <li><a href="#token-post-pastebin-create-or-update-a-paste-in-a-pastebin">Create or update a paste in a Pastebin</a></li> <li><a href="#token-delete-pastebin-delete-a-paste-from-a-pastebin">Delete a paste from a Pastebin</a></li> </ul> <h3><a href="#preferences">Preferences</a></h3> <ul> <li><a href="#token-post-preferences-save-an-individual-preference">Save an individual preference</a></li> </ul> <h3><a href="#service">Service</a></h3> <ul> <li><a href="#noauth-get-service-retrieve-service-information-and-statistics">Retrieve service information and statistics</a></li> </ul> <h3><a href="#statuslog">Statuslog</a></h3> <ul> <li><a href="#noauth-get-statuslog-retrieve-an-individual-status-for-an-address">Retrieve an individual status for an address</a></li> <li><a href="#noauth-get-statuslog-retrieve-all-statuses-for-an-address">Retrieve all statuses for an address</a></li> <li><a href="#token-post-statuslog-share-a-new-status">Share a new status</a></li> <li><a href="#token-post-statuslog-share-a-new-status-from-a-single-status-string">Share a new status from a single status string</a></li> <li><a href="#token-patch-statuslog-update-an-existing-status">Update an existing status</a></li> <li><a href="#noauth-get-statuslog-retrieve-a-statuslog-bio">Retrieve a Statuslog bio</a></li> <li><a href="#token-post-statuslog-update-a-statuslog-bio">Update a Statuslog bio</a></li> <li><a href="#noauth-get-statuslog-retrieve-the-entire-statuslog">Retrieve the entire statuslog</a></li> <li><a href="#noauth-get-statuslog-retrieve-everyone’s-latest-status">Retrieve everyone’s latest status</a></li> </ul> <h3><a href="#theme">Theme</a></h3> <ul> <li><a href="#noauth-get-theme-retrieve-a-list-of-profile-themes">Retrieve a list of profile themes</a></li> <li><a href="#noauth-get-theme-retrieve-information-about-a-theme">Retrieve information about a theme</a></li> <li><a href="#noauth-get-theme-retrieve-a-theme-preview">Retrieve a theme preview</a></li> </ul> <h3><a href="#web">Web</a></h3> <ul> <li><a href="#token-get-web-retrieve-web-page-content">Retrieve web page content</a></li> <li><a href="#token-post-web-update-web-page-content-and-publish">Update web page content and publish</a></li> <li><a href="#token-post-web-update-web-page-content-without-publishing">Update web page content without publishing</a></li> <li><a href="#token-post-web-upload-a-profile-picture">Upload a profile picture</a></li> </ul> <h3><a href="#weblog">Weblog</a></h3> <ul> <li><a href="#token-get-weblog-retrieve-weblog-entries">Retrieve weblog entries</a></li> <li><a href="#token-post-weblog-create-a-new-weblog-entry">Create a new weblog entry</a></li> <li><a href="#token-get-weblog-retrieve-a-weblog-entry">Retrieve a weblog entry</a></li> <li><a href="#noauth-get-weblog-retrieve-the-latest-weblog-post">Retrieve the latest weblog post</a></li> <li><a href="#token-delete-weblog-delete-a-weblog-entry">Delete a weblog entry</a></li> <li><a href="#token-get-weblog-retrieve-weblog-configuration">Retrieve weblog configuration</a></li> <li><a href="#token-post-weblog-update-weblog-configuration">Update weblog configuration</a></li> <li><a href="#token-get-weblog-retrieve-weblog-template">Retrieve weblog template</a></li> <li><a href="#token-post-weblog-update-weblog-template">Update weblog template</a></li> </ul> </nav> </div> </div> <div id="documentation" class="box transparent"> <h1>The <span class="logotype">omg<span class="pink-5-fg">.</span>lol</span> API</h1> <p>The omg.lol API is a modern, RESTful, friendly thing. It offers endpoints to manage all aspects of your omg.lol service, and responses include multiple elements that aim to make life easy for developers (including a clear message that indicates what happened with your request).</p> <p>Endpoints requiring authentication with your API key are marked as <span class="auth inline"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span>, and endpoints that don’t require authentication are marked as <span class="no-auth inline"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span>. Some endpoints work either way, with unauthenticated requests providing public data and authenticated requests to the same endpoint providing private data.</p> <p>You can grab a machine-readable copy of the API specification in <a href="https://github.com/neatnik/omg.lol/tree/main/api">our GitHub repository</a>.</p> <div class="container yellow-3-bg gray-9-fg shadowed"> <i class="fa-duotone fa-fw fa-circle-exclamation"></i> <strong>Careful!</strong> The API is still being developed, and endpoints may change.</a> </div> <div class=""> <h1 id="account">Account</h1> <p style="flex-grow: 1;">Obtain information about and make changes to your account</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-account-retrieve-account-information"><h2>Account &#183; Retrieve account information</h2><p>Get information about your account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/account/<span class="parameter">email</span>/info </span> </p> <div class="response"> <h4><strong id="account-retrieve-account-information-retrieve-account-information">Retrieve account information</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is the account info that you requested.&quot;, &quot;email&quot;: &quot;person@example.com&quot;, &quot;name&quot;: &quot;Example&quot;, &quot;created&quot;: { &quot;unix_epoch_time&quot;: &quot;1553358104&quot;, &quot;iso_8601_time&quot;: &quot;2019-03-23T16:21:44+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Sat, 23 Mar 2019 16:21:44 +0000&quot;, &quot;relative_time&quot;: &quot;2 years and 9 months ago&quot; }, &quot;settings&quot;: { &quot;communication&quot;: &quot;email_everything&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-account-retrieve-addresses-for-an-account"><h2>Account &#183; Retrieve addresses for an account</h2><p>Get all addresses associated with your account.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/account/<span class="parameter">email</span>/addresses </span> </p> <div class="response"> <h4><strong id="account-retrieve-addresses-for-an-account-retrieve-addresses-for-an-account">Retrieve addresses for an account</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/addresses'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: [ { &quot;address&quot;: &quot;lifetime-address&quot;, &quot;message&quot;: &quot;This address does not expire.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 2 years and 11 months ago.&quot;, &quot;unix_epoch_time&quot;: &quot;1553358201&quot;, &quot;iso_8601_time&quot;: &quot;2019-03-23T16:23:21+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Sat, 23 Mar 2019 16:23:21 +0000&quot;, &quot;relative_time&quot;: &quot;2 years and 11 months ago&quot; }, &quot;expiration&quot;: { &quot;expired&quot;: false, &quot;will_expire&quot;: false } }, { &quot;address&quot;: &quot;compulsoryvotingiscool&quot;, &quot;message&quot;: &quot;This address does not expire.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 1 week and 4 days ago.&quot;, &quot;unix_epoch_time&quot;: &quot;1645552219&quot;, &quot;iso_8601_time&quot;: &quot;2022-02-22T17:50:19+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Tue, 22 Feb 2022 17:50:19 +0000&quot;, &quot;relative_time&quot;: &quot;1 week and 4 days ago&quot; }, &quot;expiration&quot;: { &quot;expired&quot;: false, &quot;will_expire&quot;: false } }, { &quot;address&quot;: &quot;haydensato&quot;, &quot;message&quot;: &quot;This address does not expire.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 6 months and 2 weeks ago.&quot;, &quot;unix_epoch_time&quot;: &quot;1628978677&quot;, &quot;iso_8601_time&quot;: &quot;2021-08-14T22:04:37+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Sat, 14 Aug 2021 22:04:37 +0000&quot;, &quot;relative_time&quot;: &quot;6 months and 2 weeks ago&quot; }, &quot;expiration&quot;: { &quot;expired&quot;: false, &quot;will_expire&quot;: false } } ] }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-account-retrieve-the-account-name"><h2>Account &#183; Retrieve the account name</h2><p>Get the name associated with the account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/account/<span class="parameter">email</span>/name </span> </p> <div class="response"> <h4><strong id="account-retrieve-the-account-name-retrieve-the-account-name">Retrieve the account name</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/name'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;The name on this account is Example Person.&quot;, &quot;name&quot;: &quot;Example Person&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-account-set-the-account-name"><h2>Account &#183; Set the account name</h2><p>Update the name associated with the account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/account/<span class="parameter">email</span>/name </span> </p> <div class="response"> <h4><strong id="account-set-the-account-name-set-the-account-name">Set the account name</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/name' --data '{"name": "Example"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your name has been set to Example.&quot;, &quot;name&quot;: &quot;Example&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-account-retrieve-active-sessions"><h2>Account &#183; Retrieve active sessions</h2><p>Get all sessions associated with the account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/account/<span class="parameter">email</span>/sessions </span> </p> <div class="response"> <h4><strong id="account-retrieve-active-sessions-retrieve-active-sessions">Retrieve active sessions</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/sessions'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: [ { &quot;session_id&quot;: &quot;6040bebeac42816f5173ecd4821372d4&quot;, &quot;user_agent&quot;: &quot;Mozilla/5.0 (Linux; Android 6.0; Nexus 5 Build/MRA58N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.55 Mobile Safari/537.36&quot;, &quot;created_ip&quot;: &quot;10.0.222.41&quot;, &quot;created_on&quot;: &quot;1639341544&quot;, &quot;expires_on&quot;: &quot;1670877544&quot; }, { &quot;session_id&quot;: &quot;f3aa272bcf6c42d2b78ce096453d8e53&quot;, &quot;user_agent&quot;: &quot;Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.1 Safari/605.1.15&quot;, &quot;created_ip&quot;: &quot;10.0.222.42&quot;, &quot;created_on&quot;: &quot;1639349084&quot;, &quot;expires_on&quot;: &quot;1670885084&quot; } ] }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-delete-account-remove-a-session"><h2>Account &#183; Remove a session</h2><p>Delete a session</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method delete">DELETE</span> <span class="wrap">/account/<span class="parameter">email</span>/sessions/<span class="parameter">session_id</span> </span> </p> <div class="response"> <h4><strong id="account-remove-a-session-remove-a-session">Remove a session</strong></h4> <pre><code class="language-bash">curl --location --request DELETE --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/sessions/8138f2c3e845d5a094ec2a5b2ac0ab04'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, we’ve deleted that session.&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-account-retrieve-account-settings"><h2>Account &#183; Retrieve account settings</h2><p>Get settings associated with the account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/account/<span class="parameter">email</span>/settings </span> </p> <div class="response"> <h4><strong id="account-retrieve-account-settings-retrieve-account-settings">Retrieve account settings</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/settings'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are the settings for this account.&quot;, &quot;settings&quot;: { &quot;owner&quot;: &quot;person@example.com&quot;, &quot;communication&quot;: &quot;email_ok&quot;, &quot;date_format&quot;: null, &quot;web_editor&quot;: null } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-account-set-account-settings"><h2>Account &#183; Set account settings</h2><p>Update settings associated with the account</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/account/<span class="parameter">email</span>/settings </span> </p> <div class="response"> <h4><strong id="account-set-account-settings-set-account-settings">Set account settings</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/account/person@example.com/settings' --data '{"communication": "email_ok", "web_editor": "advanced"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your settings have been updated.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="address">Address</h1> <p style="flex-grow: 1;">Obtain information about and make changes to addresses</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-address-retrieve-address-availability"><h2>Address &#183; Retrieve address availability</h2><p>Get information about the availability of an address</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/availability </span> </p> <div class="response"> <h4><strong id="address-retrieve-address-availability-address-is-available">Address is available</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/available-address/availability'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address is available.&quot;, &quot;address&quot;: &quot;available-address&quot;, &quot;available&quot;: true, &quot;availability&quot;: &quot;available&quot; } }</code></pre> </div> <div class="response"> <h4><strong id="address-retrieve-address-availability-address-is-available-but-requires-encoding">Address is available but requires encoding</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/🥰/availability'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address is available, but it must be encoded in Punycode (as xn--js9h).&quot;, &quot;punycode&quot;: &quot;xn--js9h&quot;, &quot;see-also&quot;: [ &quot;https://www.omg.lol/info/addresses&quot;, &quot;https://datatracker.ietf.org/doc/html/rfc3492&quot; ], &quot;address&quot;: &quot;🥰&quot;, &quot;available&quot;: true, &quot;availability&quot;: &quot;available&quot; } }</code></pre> </div> <div class="response"> <h4><strong id="address-retrieve-address-availability-address-is-not-available">Address is not available</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/penelope/availability'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address is not available.&quot;, &quot;address&quot;: &quot;penelope&quot;, &quot;available&quot;: false, &quot;availability&quot;: &quot;unavailable&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-address-retrieve-address-expiration"><h2>Address &#183; Retrieve address expiration</h2><p>Get the expiration date for an address</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/expiration </span> </p> <div class="response"> <h4><strong id="address-retrieve-address-expiration-address-is-not-near-expiration">Address is not near expiration</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/foobar/expiration'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address is not near expiration.&quot;, &quot;expired&quot;: false } }</code></pre> </div> <div class="response"> <h4><strong id="address-retrieve-address-expiration-address-expires-within-the-next-six-months">Address expires within the next six months</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/prami/expiration'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address expires within the next six months.&quot;, &quot;expired&quot;: false } }</code></pre> </div> <div class="response"> <h4><strong id="address-retrieve-address-expiration-address-has-expired">Address has expired</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/expired-address/expiration'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;This address expired 3 weeks and 4 days ago.&quot;, &quot;expired&quot;: true } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-address-retrieve-public-information-about-an-address"><h2>Address &#183; Retrieve public information about an address</h2><p>Get limited (public) information about an address when the request is not authenticated</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/info </span> </p> <div class="response"> <h4><strong id="address-retrieve-public-information-about-an-address-retrieve-public-information-about-an-address">Retrieve public information about an address</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/foobar/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;address&quot;: &quot;foobar&quot;, &quot;message&quot;: &quot;This address was registered 4 years and 4 months ago.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 4 years, 4 months and 3 weeks ago.&quot;, &quot;unix_epoch_time&quot;: 1554448408, &quot;iso_8601_time&quot;: &quot;2019-04-05T07:13:28+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Fri, 05 Apr 2019 07:13:28 +0000&quot;, &quot;relative_time&quot;: &quot;4 years, 4 months and 3 weeks ago&quot; }, &quot;expiration&quot;: { &quot;message&quot;: &quot;This address is not near expiration.&quot;, &quot;expired&quot;: false }, &quot;verification&quot;: { &quot;message&quot;: &quot;This address has been verified.&quot;, &quot;verified&quot;: true } } }</code></pre> </div> <div class="response"> <h4><strong id="address-retrieve-public-information-about-an-address-retrieve-public-information-about-an-expired-address">Retrieve public information about an expired address</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/expired-address/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;address&quot;: &quot;expired-address&quot;, &quot;message&quot;: &quot;This address was registered 1 year and 3 weeks ago.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 1 year, 3 weeks and 4 days ago.&quot;, &quot;unix_epoch_time&quot;: 1659647768, &quot;iso_8601_time&quot;: &quot;2022-08-04T21:16:08+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Thu, 04 Aug 2022 21:16:08 +0000&quot;, &quot;relative_time&quot;: &quot;1 year, 3 weeks and 4 days ago&quot; }, &quot;expiration&quot;: { &quot;message&quot;: &quot;This address expired 3 weeks and 4 days ago.&quot;, &quot;expired&quot;: true, &quot;unix_epoch_time&quot;: 1691183768, &quot;iso_8601_time&quot;: &quot;2023-08-04T21:16:08+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Fri, 04 Aug 2023 21:16:08 +0000&quot;, &quot;relative_time&quot;: &quot;3 weeks, 4 days and 14 hours ago&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-address-retrieve-private-information-about-an-address"><h2>Address &#183; Retrieve private information about an address</h2><p>Get comprehensive information about an address when the request is authenticated</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/info </span> </p> <div class="response"> <h4><strong id="address-retrieve-private-information-about-an-address-retrieve-private-information-about-an-address">Retrieve private information about an address</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;address&quot;: &quot;foobar&quot;, &quot;message&quot;: &quot;This address was registered 3 years and 9 months ago and expires in 14 years, 11 months and 5 days.&quot;, &quot;registration&quot;: { &quot;message&quot;: &quot;This address was registered 3 years, 9 months and 3 weeks ago.&quot;, &quot;unix_epoch_time&quot;: &quot;1554448408&quot;, &quot;iso_8601_time&quot;: &quot;2019-04-05T07:13:28+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Fri, 05 Apr 2019 07:13:28 +0000&quot;, &quot;relative_time&quot;: &quot;3 years, 9 months and 3 weeks ago&quot; }, &quot;expiration&quot;: { &quot;message&quot;: &quot;This address expires in 14 years, 11 months and 5 days.&quot;, &quot;expired&quot;: false, &quot;will_expire&quot;: true, &quot;unix_epoch_time&quot;: &quot;2145916800&quot;, &quot;iso_8601_time&quot;: &quot;2038-01-01T00:00:00+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Fri, 01 Jan 2038 00:00:00 +0000&quot;, &quot;relative_time&quot;: &quot;14 years, 11 months and 5 days&quot; }, &quot;verification&quot;: { &quot;message&quot;: &quot;This address has been verified.&quot;, &quot;verified&quot;: true }, &quot;owner&quot;: &quot;634b9e7a7fbce&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="dns">DNS</h1> <p style="flex-grow: 1;">Requests for managing DNS.</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-dns-retrieve-dns-records-for-an-address"><h2>DNS &#183; Retrieve DNS records for an address</h2><p>Get a list of all of your DNS records.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/dns </span> </p> <div class="response"> <h4><strong id="dns-retrieve-dns-records-for-an-address-retrieve-dns-records-for-an-address">Retrieve DNS records for an address</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/dns'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are the DNS records for foobar.&quot;, &quot;dns&quot;: [ { &quot;id&quot;: &quot;2857074&quot;, &quot;type&quot;: &quot;A&quot;, &quot;name&quot;: &quot;foobar&quot;, &quot;data&quot;: &quot;192.167.0.1&quot;, &quot;priority&quot;: null, &quot;ttl&quot;: &quot;3600&quot;, &quot;created_at&quot;: &quot;2022-11-26T04:30:13Z&quot;, &quot;updated_at&quot;: &quot;2022-11-26T04:31:33Z&quot; }, { &quot;id&quot;: &quot;2857075&quot;, &quot;type&quot;: &quot;CNAME&quot;, &quot;name&quot;: &quot;cname.foobar&quot;, &quot;data&quot;: &quot;elsewhere.tld&quot;, &quot;priority&quot;: null, &quot;ttl&quot;: &quot;3600&quot;, &quot;created_at&quot;: &quot;2022-11-26T04:34:24Z&quot;, &quot;updated_at&quot;: &quot;2022-11-26T04:34:24Z&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-dns-create-a-new-dns-record"><h2>DNS &#183; Create a new DNS record</h2><p>Add a new DNS record.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/dns </span> </p> <div class="response"> <h4><strong id="dns-create-a-new-dns-record-create-a-new-dns-record">Create a new DNS record</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/dns' --data '{"type": "CNAME", "name": "cname", "data": "elsewhere.tld"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your DNS record was created successfully.&quot;, &quot;data_sent&quot;: { &quot;type&quot;: &quot;A&quot;, &quot;priority&quot;: null, &quot;ttl&quot;: null, &quot;name&quot;: &quot;foobar&quot;, &quot;content&quot;: &quot;10.0.0.1&quot; }, &quot;response_received&quot;: { &quot;data&quot;: { &quot;id&quot;: 2857074, &quot;name&quot;: &quot;foobar&quot;, &quot;content&quot;: &quot;10.0.0.1&quot;, &quot;ttl&quot;: 3600, &quot;priority&quot;: null, &quot;type&quot;: &quot;A&quot;, &quot;created_at&quot;: &quot;2022-11-26T04:30:13Z&quot;, &quot;updated_at&quot;: &quot;2022-11-26T04:30:13Z&quot; } } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-patch-dns-edit-an-existing-dns-record"><h2>DNS &#183; Edit an existing DNS record</h2><p>Update an existing DNS record.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method patch">PATCH</span> <span class="wrap">/address/<span class="parameter">address</span>/dns/<span class="parameter">id</span> </span> </p> <div class="response"> <h4><strong id="dns-edit-an-existing-dns-record-edit-an-existing-dns-record">Edit an existing DNS record</strong></h4> <pre><code class="language-bash">curl --location --request PATCH --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/dns/2857074' --data '{"type": "A", "name": "@", "data": "192.167.0.1"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your DNS record was updated successfully.&quot;, &quot;data_sent&quot;: { &quot;type&quot;: &quot;A&quot;, &quot;priority&quot;: null, &quot;ttl&quot;: null, &quot;name&quot;: &quot;foobar&quot;, &quot;content&quot;: &quot;192.167.0.1&quot; }, &quot;response_received&quot;: { &quot;data&quot;: { &quot;id&quot;: 2857074, &quot;name&quot;: &quot;foobar&quot;, &quot;content&quot;: &quot;192.167.0.1&quot;, &quot;ttl&quot;: 3600, &quot;priority&quot;: null, &quot;type&quot;: &quot;A&quot;, &quot;created_at&quot;: &quot;2022-11-26T04:30:13Z&quot;, &quot;updated_at&quot;: &quot;2022-11-26T04:31:33Z&quot; } } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-delete-dns-delete-a-dns-record"><h2>DNS &#183; Delete a DNS record</h2><p>Delete a DNS record.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method delete">DELETE</span> <span class="wrap">/address/<span class="parameter">address</span>/dns/<span class="parameter">id</span> </span> </p> <div class="response"> <h4><strong id="dns-delete-a-dns-record-delete-a-dns-record">Delete a DNS record</strong></h4> <pre><code class="language-bash">curl --location --request DELETE --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/dns/2857073'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your DNS record has been deleted.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="directory">Directory</h1> <p style="flex-grow: 1;">Retrieve the address directory, consisting of addresses that have opted in to be listed</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-directory-retreive-the-address-directory"><h2>Directory &#183; Retreive the address directory</h2><p>Retrieve the address directory</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/directory </span> </p> <div class="response"> <h4><strong id="directory-retreive-the-address-directory-retreive-the-address-directory">Retreive the address directory</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/directory'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the omg.lol directory.&quot;, &quot;url&quot;: &quot;https://home.omg.lol/directory&quot;, &quot;directory&quot;: [ &quot;0&quot;, &quot;adam&quot;, ... ] } }</code></pre> </div> </section></div> <div class=""> <h1 id="email">Email</h1> <p style="flex-grow: 1;">Manage the email configuration for omg.lol addresses</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-email-retrieve-forwarding-addresses"><h2>Email &#183; Retrieve forwarding address(es)</h2><p>Retrieve forwarding address(es)</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/email/ </span> </p> <div class="response"> <h4><strong id="email-retrieve-forwarding-addresses-list-forwarding-email-addresses">List forwarding email address(es)</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/email/'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Mail for haydensato@omg.lol will be forwarded to **someone@example.com**.&quot;, &quot;destination_string&quot;: &quot;someone@example.com&quot;, &quot;destination_array&quot;: [ &quot;someone@example.com&quot; ], &quot;address&quot;: &quot;haydensato&quot;, &quot;email_address&quot;: &quot;haydensato@omg.lol&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-email-set-forwarding-addresses"><h2>Email &#183; Set forwarding address(es)</h2><p>Set forwarding address(es)</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/email/ </span> </p> <div class="response"> <h4><strong id="email-set-forwarding-addresses-set-a-forwarding-email-address">Set a forwarding email address</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/email/' --data '{"destination": "adam@neatnik.net, test@neatnik.net, test@neatnik.net"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Mail for haydensato@omg.lol will be forwarded to **person@example.com**.&quot;, &quot;destination_string&quot;: &quot;person@example.com&quot;, &quot;destination_array&quot;: [ &quot;person@example.com&quot; ], &quot;address&quot;: &quot;haydensato&quot;, &quot;email_address&quot;: &quot;haydensato@omg.lol&quot; } }</code></pre> </div> <div class="response"> <h4><strong id="email-set-forwarding-addresses-set-multiple-forwarding-addresses">Set multiple forwarding addresses</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/email/' --data '{"destination": "adam@neatnik.net, test@neatnik.net, test@neatnik.net"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Mail for haydensato@omg.lol will be forwarded to **person@example.com**, **another_person@example.com**, and **yet_another_person@example.com**.&quot;, &quot;destination_string&quot;: &quot;person@example.com, another_person@example.com, yet_another_person@example.com&quot;, &quot;destination_array&quot;: [ &quot;person@example.com&quot;, &quot;another_person@example.com&quot;, &quot;yet_another_person@example.com&quot; ], &quot;address&quot;: &quot;haydensato&quot;, &quot;email_address&quot;: &quot;haydensato@omg.lol&quot; } }</code></pre> </div> <div class="response"> <h4><strong id="email-set-forwarding-addresses-clear-a-forwarding-address">Clear a forwarding address</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/email/' --data '{"destination": "adam@neatnik.net, test@neatnik.net, test@neatnik.net"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Mail for haydensato@omg.lol will not be forwarded.&quot;, &quot;destination_string&quot;: null, &quot;destination_array&quot;: [], &quot;address&quot;: &quot;haydensato&quot;, &quot;email_address&quot;: &quot;haydensato@omg.lol&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="now-page">Now Page</h1> <p style="flex-grow: 1;">Manage your /now page.</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-now-page-retrieve-/now-page"><h2>Now Page &#183; Retrieve /now Page</h2><p>Retrieve the now page for an address.</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/now </span> </p> <div class="response"> <h4><strong id="now-page-retrieve-/now-page-retrieve-/now-page">Retrieve /now Page</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/foobar/now'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the Now Page for @foobar.&quot;, &quot;now&quot;: { &quot;content&quot;: &quot;/* This is a sample /now page — edit it and make it your own! */\r\n\r\n{profile-picture}\r\n\r\n# {address} // you can change this to your name!\r\n\r\n## My /now page\r\n\r\n--- Now ---\r\n\r\n(This is a [now page](https://nownownow.com/about), and if you have your own site, [you should make one](https://nownownow.com/about), too.)\r\n\r\n### What I’m reading\r\n\r\n- [Wuthering Heights](https://en.wikipedia.org/wiki/Wuthering_Heights) by [Emily Brontë ](https://en.wikipedia.org/wiki/Emily_Brontë) {book}\r\n- [Monocole](https://monocle.com) {book}\r\n\r\n### What I’m watching\r\n\r\n- [The Jeffersons](https://en.wikipedia.org/wiki/The_Jeffersons) {display}\r\n- [Coronation Street](https://en.wikipedia.org/wiki/Coronation_Street) {display}\r\n\r\n### What I’m making\r\n\r\n- [Sourdough bread](https://www.feastingathome.com/sourdough-bread/) {bread-slice}\r\n- [Socks](https://www.yarnspirations.com/bernat-family-knit-work-socks/BRK0328-001994M.html?cgid=patterns) {socks}\r\n\r\n### What I’m enjoying\r\n\r\n- Time with friends and family {people-roof}\r\n- Planning for my upcoming trip {plane}\r\n\r\n---\r\n\r\n{last-updated}\r\n\r\n[Back to my omg.lol page!](https://{address}.omg.lol)&quot;, &quot;updated&quot;: &quot;1674364245&quot;, &quot;listed&quot;: &quot;1&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-now-page-retrieve-the-now.garden-listing"><h2>Now Page &#183; Retrieve the now.garden listing</h2><p>Retrieve all listed /now pages.</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/now/garden </span> </p> <div class="response"> <h4><strong id="now-page-retrieve-the-now.garden-listing-retrieve-the-now.garden-listing">Retrieve the now.garden listing</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/now/garden'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are all of the /now pages in the Now Garden.&quot;, &quot;garden&quot;: [ { &quot;address&quot;: &quot;drudge&quot;, &quot;url&quot;: &quot;https://penree.com/now&quot;, &quot;updated&quot;: { &quot;unix_epoch_time&quot;: &quot;1673929294&quot;, &quot;iso_8601_time&quot;: &quot;2023-01-17T04:21:34+00:00&quot;, &quot;rfc_2822_time&quot;: &quot;Tue, 17 Jan 2023 04:21:34 +0000&quot;, &quot;relative_time&quot;: &quot;22 minutes and 41 seconds ago&quot; } }, ... ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-now-page-update-/now-page"><h2>Now Page &#183; Update /now Page</h2><p>Update the contents of a /now page.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/now </span> </p> <div class="response"> <h4><strong id="now-page-update-/now-page-update-/now-page">Update /now Page</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/now' --data '{"content": "/* This is a sample /now page — edit it and make it your own! */\r\n\r\n{profile-picture}\r\n\r\n# {address} // you can change this to your name!\r\n\r\n## My /now page\r\n\r\n--- Now ---\r\n\r\n(This is a [now page](https://nownownow.com/about), and if you have your own site, [you should make one](https://nownownow.com/about), too.)\r\n\r\n### What I’m reading\r\n\r\n- [Wuthering Heights](https://en.wikipedia.org/wiki/Wuthering_Heights) by [Emily Brontë ](https://en.wikipedia.org/wiki/Emily_Brontë) {book}\r\n- [Monocole](https://monocle.com) {book}\r\n\r\n### What I’m watching\r\n\r\n- [The Jeffersons](https://en.wikipedia.org/wiki/The_Jeffersons) {display}\r\n- [Coronation Street](https://en.wikipedia.org/wiki/Coronation_Street) {display}\r\n\r\n### What I’m making\r\n\r\n- [Sourdough bread](https://www.feastingathome.com/sourdough-bread/) {bread-slice}\r\n- [Socks](https://www.yarnspirations.com/bernat-family-knit-work-socks/BRK0328-001994M.html?cgid=patterns) {socks}\r\n\r\n### What I’m enjoying\r\n\r\n- Time with friends and family {people-roof}\r\n- Planning for my upcoming trip {plane}\r\n\r\n---\r\n\r\n{last-updated}\r\n\r\n[Back to my omg.lol page!](https://{address}.omg.lol)", "listed": "1"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your /now page has been updated.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="oauth">OAuth</h1> <p style="flex-grow: 1;">Endpoints related to omg.lol’s OAuth 2.0 flows</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-oauth-exchange-an-authorization-code-for-an-access-token"><h2>OAuth &#183; Exchange an authorization code for an access token</h2><p>Take the authorization code provided during the OAuth flow and exchange it for an access token.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/oauth/ </span> </p> <div class="response"> <h4><strong id="oauth-exchange-an-authorization-code-for-an-access-token-exchange-an-authorization-code-for-an-access-token">Exchange an authorization code for an access token</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/oauth/?client_id=ea14dafd3e92cbcf93750c35cd81a031&client_secret=ec28b8653f1d98b4eef3f7a20858c43b&redirect_uri=https://example.com/&code=f5f07426f08277983eb4010c6a2b10ac&scope=everything'</code></pre> <pre><code class="language-js">{ &quot;access_token&quot;: &quot;b3086f894a176a3a7e702decd9b97bbc&quot;, &quot;token_type&quot;: &quot;Bearer&quot;, &quot;scope&quot;: &quot;everything&quot; }</code></pre> </div> </section></div> <div class=""> <h1 id="purls">PURLs</h1> <p style="flex-grow: 1;">Manage the PURLs (or Persistent URLs) for an omg.lol address</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-purls-create-a-new-purl"><h2>PURLs &#183; Create a new PURL</h2><p>Create a new PURL</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/purl </span> </p> <div class="response"> <h4><strong id="purls-create-a-new-purl-create-a-new-purl">Create a new PURL</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foo/purl' --data '{"name": "example-purl", "url": "https://example.com", "listed": true}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your PURL has been saved.&quot;, &quot;name&quot;: &quot;example&quot;, &quot;url&quot;: &quot;https://example.com&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-purls-retrieve-a-specific-purl"><h2>PURLs &#183; Retrieve a specific PURL</h2><p>Retrieve a specific PURL</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/purl/example </span> </p> <div class="response"> <h4><strong id="purls-retrieve-a-specific-purl-retrieve-a-specific-purl">Retrieve a specific PURL</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foo/purl/example'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the PURL you requested.&quot;, &quot;purl&quot;: { &quot;name&quot;: &quot;example&quot;, &quot;url&quot;: &quot;https://example.com&quot;, &quot;counter&quot;: null } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-purls-retrieve-a-list-of-purls-for-an-address"><h2>PURLs &#183; Retrieve a list of PURLs for an address</h2><p>Retrieve a list of PURLs associated with an address</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/purls </span> </p> <div class="response"> <h4><strong id="purls-retrieve-a-list-of-purls-for-an-address-retrieve-a-list-of-purls-for-an-address">Retrieve a list of PURLs for an address</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foo/purls'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are the PURLs for foo.&quot;, &quot;purls&quot;: [ { &quot;name&quot;: &quot;awesome&quot;, &quot;url&quot;: &quot;https://www.youtube.com/watch?v=dQw4w9WgXcQ&quot;, &quot;counter&quot;: &quot;872&quot; }, { &quot;name&quot;: &quot;💚&quot;, &quot;url&quot;: &quot;https://example.com&quot;, &quot;counter&quot;: &quot;33&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-delete-purls-delete-a-purl"><h2>PURLs &#183; Delete a PURL</h2><p>Permanently delete a PURL</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method delete">DELETE</span> <span class="wrap">/address/<span class="parameter">address</span>/purl/<span class="parameter">purl</span> </span> </p> <div class="response"> <h4><strong id="purls-delete-a-purl-delete-a-purl">Delete a PURL</strong></h4> <pre><code class="language-bash">curl --location --request DELETE --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/purl/example'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, that PURL has been deleted.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="pastebin">Pastebin</h1> <p style="flex-grow: 1;">Manage the Pastebin for an omg.lol address</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-pastebin-retrieve-a-specific-paste"><h2>Pastebin &#183; Retrieve a specific paste</h2><p>Retrieve a specific paste</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/pastebin/<span class="parameter">paste</span> </span> </p> <div class="response"> <h4><strong id="pastebin-retrieve-a-specific-paste-retrieve-a-specific-paste">Retrieve a specific paste</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/adam/pastebin/api'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the paste at adam.paste.lol/api.&quot;, &quot;paste&quot;: { &quot;title&quot;: &quot;api&quot;, &quot;content&quot;: &quot;This paste, like all others, can be fully managed with the omg.lol API.&quot;, &quot;modified_on&quot;: &quot;1656569579&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-pastebin-retrieve-an-entire-pastebin"><h2>Pastebin &#183; Retrieve an entire Pastebin</h2><p>Retrieve an entire Pastebin</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/pastebin </span> </p> <div class="response"> <h4><strong id="pastebin-retrieve-an-entire-pastebin-retrieve-an-entire-pastebin">Retrieve an entire pastebin</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/pastebin'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the pastebin for adam.&quot;, &quot;pastebin&quot;: [ { &quot;title&quot;: &quot;api&quot;, &quot;content&quot;: &quot;This paste, like all others, can be fully managed with the omg.lol API.&quot;, &quot;modified_on&quot;: &quot;1656569579&quot; }, { &quot;title&quot;: &quot;hello-world&quot;, &quot;content&quot;: &quot;^_^&quot;, &quot;modified_on&quot;: &quot;1656569562&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-pastebin-retrieve-listed-pastes-in-a-pastebin"><h2>Pastebin &#183; Retrieve listed pastes in a Pastebin</h2><p>Retrieve listed pastes in a Pastebin</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/pastebin </span> </p> <div class="response"> <h4><strong id="pastebin-retrieve-listed-pastes-in-a-pastebin-retrieve-listed-pastes-in-a-pastebin">Retrieve listed pastes in a pastebin</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/adam/pastebin'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are the listed pastes for adam.&quot;, &quot;pastebin&quot;: [ { &quot;title&quot;: &quot;hello-world&quot;, &quot;content&quot;: &quot;yo world, sup&quot;, &quot;modified_on&quot;: &quot;1656897567&quot; }, { &quot;title&quot;: &quot;api&quot;, &quot;content&quot;: &quot;This paste, like all others, can be fully managed with the omg.lol API.&quot;, &quot;modified_on&quot;: &quot;1656569579&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-pastebin-create-or-update-a-paste-in-a-pastebin"><h2>Pastebin &#183; Create or update a paste in a Pastebin</h2><p>Create or update a paste in a Pastebin</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/pastebin/ </span> </p> <div class="response"> <h4><strong id="pastebin-create-or-update-a-paste-in-a-pastebin-create-or-update-a-paste-in-a-pastebin">Create or update a paste in a pastebin</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/pastebin/' --data '{"title": "new-paste", "content": "This is a new paste."}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your paste has been saved.&quot;, &quot;title&quot;: &quot;new-paste&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-delete-pastebin-delete-a-paste-from-a-pastebin"><h2>Pastebin &#183; Delete a paste from a Pastebin</h2><p>Delete a paste from a Pastebin</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method delete">DELETE</span> <span class="wrap">/address/<span class="parameter">address</span>/pastebin/<span class="parameter">paste</span> </span> </p> <div class="response"> <h4><strong id="pastebin-delete-a-paste-from-a-pastebin-delete-a-paste-from-a-pastebin">Delete a paste from a pastebin</strong></h4> <pre><code class="language-bash">curl --location --request DELETE --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/pastebin/delete-me'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, that paste has been deleted.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="preferences">Preferences</h1> <p style="flex-grow: 1;">Manage preferences for omg.lol accounts, addresses, and objects</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-preferences-save-an-individual-preference"><h2>Preferences &#183; Save an individual preference</h2><p>Save a single preference</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/preferences/<span class="parameter">owner</span> </span> </p> <div class="response"> <h4><strong id="preferences-save-an-individual-preference-save-an-individual-preference">Save an individual preference</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/preferences/foo' --data '{"item": "foo", "value": "bar"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your preference has been saved.&quot;, &quot;item&quot;: &quot;foo&quot;, &quot;value&quot;: &quot;bar&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="service">Service</h1> <p style="flex-grow: 1;">Obtain service information about omg.lol</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-service-retrieve-service-information-and-statistics"><h2>Service &#183; Retrieve service information and statistics</h2><p>Get information and statistics about the omg.lol service</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/service/info </span> </p> <div class="response"> <h4><strong id="service-retrieve-service-information-and-statistics-retrieve-service-information-and-statistics">Retrieve service information and statistics</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/service/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;As of 2022-10-05T03:13:14+00:00, omg.lol has 1,811 members and hosts 1,685 active addresses. Of those, 888 have active profiles or web pages.&quot;, &quot;members&quot;: 1811, &quot;addresses&quot;: 1685, &quot;profiles&quot;: 888 } }</code></pre> </div> </section></div> <div class=""> <h1 id="statuslog">Statuslog</h1> <p style="flex-grow: 1;">Manage the Statuslog for an omg.lol address</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-statuslog-retrieve-an-individual-status-for-an-address"><h2>Statuslog &#183; Retrieve an individual status for an address</h2><p>Fetch a single Statuslog entry</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/<span class="parameter">status</span> </span> </p> <div class="response"> <h4><strong id="statuslog-retrieve-an-individual-status-for-an-address-retrieve-an-individual-status-for-an-address">Retrieve an individual status for an address</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/foo/statuses/6336318079242'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the status at foo.status.lol/6336318079242.&quot;, &quot;status&quot;: { &quot;id&quot;: &quot;6336318079242&quot;, &quot;address&quot;: &quot;foo&quot;, &quot;created&quot;: &quot;1664496000&quot;, &quot;emoji&quot;: &quot;☕️&quot;, &quot;content&quot;: &quot;Enjoying my coffee!&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-statuslog-retrieve-all-statuses-for-an-address"><h2>Statuslog &#183; Retrieve all statuses for an address</h2><p>Fetch someone’s entire Statuslog</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/ </span> </p> <div class="response"> <h4><strong id="statuslog-retrieve-all-statuses-for-an-address-retrieve-all-statuses">Retrieve all statuses</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/adam/statuses/'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are foo’s statuses.&quot;, &quot;statuses&quot;: [ { &quot;id&quot;: &quot;6335ec5bee31a&quot;, &quot;address&quot;: &quot;foo&quot;, &quot;created&quot;: &quot;1664478299&quot;, &quot;emoji&quot;: &quot;😄&quot;, &quot;content&quot;: &quot;I’m doing great!&quot; }, { &quot;id&quot;: &quot;6334d1c11917a&quot;, &quot;address&quot;: &quot;foo&quot;, &quot;created&quot;: &quot;1664405953&quot;, &quot;emoji&quot;: &quot;☕️&quot;, &quot;content&quot;: &quot;Enjoying my coffee.&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-statuslog-share-a-new-status"><h2>Statuslog &#183; Share a new status</h2><p>Create a new status in an address’s Statuslog</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/ </span> </p> <div class="response"> <h4><strong id="statuslog-share-a-new-status-share-a-new-status">Share a new status</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/statuses/' --data '{"emoji": "🧪", "content": "Testing the omg.lol API!", "external_url": "mailto:foobar@omg.lol", "skip_mastodon_post": true}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your status has been saved. [View it live.](https://status.lol/foobar/63d40f2b35314)&quot;, &quot;id&quot;: &quot;63d40f2b35314&quot;, &quot;status&quot;: &quot;🧪 Testing the omg.lol API!&quot;, &quot;url&quot;: &quot;https://status.lol/foobar/63d40f2b35314&quot;, &quot;external_url&quot;: &quot;mailto:foobar@omg.lol&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-statuslog-share-a-new-status-from-a-single-status-string"><h2>Statuslog &#183; Share a new status from a single status string</h2><p>Create a new status in an address’s Statuslog</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/ </span> </p> <div class="response"> <h4><strong id="statuslog-share-a-new-status-from-a-single-status-string-share-a-new-status-from-a-single-status-string">Share a new status from a single status string</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/statuses/' --data '{"status": "🧪 Testing the omg.lol API!", "external_url": "https://example.com"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your status has been saved. [View it live.](https://status.lol/foobar/63d40f5db114b)&quot;, &quot;id&quot;: &quot;63d40f5db114b&quot;, &quot;status&quot;: &quot;✨ 🧪 Testing the omg.lol API!&quot;, &quot;url&quot;: &quot;https://status.lol/foobar/63d40f5db114b&quot;, &quot;external_url&quot;: &quot;https://example.com&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-patch-statuslog-update-an-existing-status"><h2>Statuslog &#183; Update an existing status</h2><p>Update a status in an address’s Statuslog</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method patch">PATCH</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/ </span> </p> <div class="response"> <h4><strong id="statuslog-update-an-existing-status-update-an-existing-status">Update an existing status</strong></h4> <pre><code class="language-bash">curl --location --request PATCH --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/statuses/' --data '{"id": "6336204d247e4", "emoji": "😄", "content": "I’m doing fine!"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your status has been saved. [View it live.](https://status.lol/foo/6336204d247e4)&quot;, &quot;id&quot;: &quot;6336204d247e4&quot;, &quot;url&quot;: &quot;https://status.lol/foo/6336204d247e4&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-statuslog-retrieve-a-statuslog-bio"><h2>Statuslog &#183; Retrieve a Statuslog bio</h2><p>Retrieve a Statuslog bio</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/bio/ </span> </p> <div class="response"> <h4><strong id="statuslog-retrieve-a-statuslog-bio-retrieve-a-statuslog-bio">Retrieve a statuslog bio</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/adam/statuses/bio'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the bio for foo’s Statuslog page.&quot;, &quot;bio&quot;: &quot;# Foo\nThis is my bio!&quot;, &quot;css&quot;: &quot;&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-statuslog-update-a-statuslog-bio"><h2>Statuslog &#183; Update a Statuslog bio</h2><p>Update a Statuslog bio</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/statuses/bio/ </span> </p> <div class="response"> <h4><strong id="statuslog-update-a-statuslog-bio-update-a-statuslog-bio">Update a statuslog bio</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/statuses/bio' --data '{"content": "# Foo\nThis is my bio!"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, the bio on foo.status.lol has been saved. [View it live.](https://status.lol/foo)&quot;, &quot;url&quot;: &quot;https://status.lol/foo&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-statuslog-retrieve-the-entire-statuslog"><h2>Statuslog &#183; Retrieve the entire statuslog</h2><p>Fetch someone’s entire Statuslog</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/statuslog </span> </p> <div class="response"> <h4><strong id="statuslog-retrieve-the-entire-statuslog-retrieve-the-entire-statuslog">Retrieve the entire statuslog</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/statuslog'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here’s the complete statuslog.&quot;, &quot;statuses&quot;: [ { &quot;id&quot;: &quot;6391416a125e8&quot;, &quot;address&quot;: &quot;dm&quot;, &quot;created&quot;: &quot;1670463850&quot;, &quot;relative_time&quot;: &quot;28 minutes ago&quot;, &quot;emoji&quot;: &quot;☺&quot;, &quot;content&quot;: &quot;Streamed a discussion on HRD&#039;s YouTube channel&quot; }, { &quot;id&quot;: &quot;63913d4127ad9&quot;, &quot;address&quot;: &quot;skoobz&quot;, &quot;created&quot;: &quot;1670462785&quot;, &quot;relative_time&quot;: &quot;45 minutes ago&quot;, &quot;emoji&quot;: &quot;📺&quot;, &quot;content&quot;: &quot;Watching Ink Master&quot; }, ... ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-statuslog-retrieve-everyone’s-latest-status"><h2>Statuslog &#183; Retrieve everyone’s latest status</h2><p>Fetch someone’s entire Statuslog</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/statuslog/latest </span> </p> <div class="response"> <h4><strong id="statuslog-retrieve-everyone’s-latest-status-retrieve-everyone’s-latest-status">Retrieve everyone’s latest status</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/statuslog/latest'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are everyone’s latest statuses.&quot;, &quot;statuses&quot;: [ { &quot;id&quot;: &quot;638ff5cfaa031&quot;, &quot;address&quot;: &quot;cm&quot;, &quot;created&quot;: &quot;1670378959&quot;, &quot;relative_time&quot;: &quot;1 day ago&quot;, &quot;emoji&quot;: &quot;🤔&quot;, &quot;content&quot;: &quot;Excited about omg.lol!&quot; }, { &quot;id&quot;: &quot;638ff59bd1be8&quot;, &quot;address&quot;: &quot;moe&quot;, &quot;created&quot;: &quot;1670378907&quot;, &quot;relative_time&quot;: &quot;1 day ago&quot;, &quot;emoji&quot;: &quot;👀&quot;, &quot;content&quot;: &quot;Browsing [omg.lol - Statuslog](https://home.omg.lol/address/moe/statuslog).&quot; }, ... ] } }</code></pre> </div> </section></div> <div class=""> <h1 id="theme">Theme</h1> <p style="flex-grow: 1;">Work with omg.lol profile page themes</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-theme-retrieve-a-list-of-profile-themes"><h2>Theme &#183; Retrieve a list of profile themes</h2><p>Get a list of available omg.lol profile themes</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/theme/list </span> </p> <div class="response"> <h4><strong id="theme-retrieve-a-list-of-profile-themes-retrieve-a-list-of-profile-themes">Retrieve a list of profile themes</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/theme/list'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;There are 15 profile themes available.&quot;, &quot;themes&quot;: { &quot;default&quot;: { &quot;id&quot;: &quot;default&quot;, &quot;name&quot;: &quot;Default&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;omg.lol&quot;, &quot;author_url&quot;: &quot;https://omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;A friendly, simple look for your amazing profile.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: linear-gradient(0deg, #3fb6b6 0%, #d56b86 100%) !important; background-repeat: no-repeat; background-attachment: fixed;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #000;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;cherry-blossom&quot;: { &quot;id&quot;: &quot;cherry-blossom&quot;, &quot;name&quot;: &quot;Cherry Blossom&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;omg.lol&quot;, &quot;author_url&quot;: &quot;https://omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Springtime, but all year long.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #ffb7c5 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #333;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #b53c54;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;dark&quot;: { &quot;id&quot;: &quot;dark&quot;, &quot;name&quot;: &quot;Dark&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;omg.lol&quot;, &quot;author_url&quot;: &quot;https://omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;It’s super dark!&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #222 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #ccc;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #ccc;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #ccc;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;dracula&quot;: { &quot;id&quot;: &quot;dracula&quot;, &quot;name&quot;: &quot;Dracula&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Bye&quot;, &quot;author_url&quot;: &quot;https://bye.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Dark theme with a touch of purple. Adapted from the Dracula color scheme by @zenorocha&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #44475a !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #f8f8f2;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #f8f8f2;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #f8f8f2;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;gilded&quot;: { &quot;id&quot;: &quot;gilded&quot;, &quot;name&quot;: &quot;Gilded&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Nima Owji&quot;, &quot;author_url&quot;: &quot;https://nima.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Bold and dark with a touch of gold.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #212121 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #fff;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #fff;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #fabc02;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;gradient&quot;: { &quot;id&quot;: &quot;gradient&quot;, &quot;name&quot;: &quot;Gradient&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Jamie Thalacker&quot;, &quot;author_url&quot;: &quot;https://jamiethalacker.dev&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;A nice theme with an animated, gradient background.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: linear-gradient(313deg,#fecaca,#fde68a,#a7f3d0,#bfdbfe,#c7d2fe,#ddd6fe,#fbcfe8) !important; background-size: 1400% 1400%;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #000;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;hacker&quot;: { &quot;id&quot;: &quot;hacker&quot;, &quot;name&quot;: &quot;Hacker&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Matse Van Horebeek&quot;, &quot;author_url&quot;: &quot;https://matsevh.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Look like a hacker!&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: rgb(5, 5, 5); !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #0daf00;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #0daf00;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #0daf00;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;minimal&quot;: { &quot;id&quot;: &quot;minimal&quot;, &quot;name&quot;: &quot;Minimal&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Jane Manchun Wong&quot;, &quot;author_url&quot;: &quot;https://jane.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;A minimal theme with automatic light/dark mode detection.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #FAFAFA !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #202020;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #202020;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #202020;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;monokai&quot;: { &quot;id&quot;: &quot;monokai&quot;, &quot;name&quot;: &quot;Monokai&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Dakota Chambers&quot;, &quot;author_url&quot;: &quot;https://dakota.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Your text editor&#039;s favorite color palette. Adapted from the Monokai color scheme by Wimer Hazenberg (@monokai).&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #363537; !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #F7F1FF;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #F7F1FF;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #FA638D;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;naked&quot;: { &quot;id&quot;: &quot;naked&quot;, &quot;name&quot;: &quot;Naked&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;omg.lol&quot;, &quot;author_url&quot;: &quot;https://omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;No style at all, for those who want to do their own thing!&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #fff !important; font-family: serif;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: blue;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;display: none; color: #000;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;nord-dark&quot;: { &quot;id&quot;: &quot;nord-dark&quot;, &quot;name&quot;: &quot;Nord (Dark)&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Jason E. Kratz (@jasonekratz)&quot;, &quot;author_url&quot;: &quot;https://jasonekratz.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Dark theme based on the Nord color palette. See: https://www.nordtheme.com/docs/colors-and-palettes CSS based on Dakota Chambers&#039; Monokai theme.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: ##2E3440 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #d8dee9;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #5e81ac;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #bf616a;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;omglol-special&quot;: { &quot;id&quot;: &quot;omglol-special&quot;, &quot;name&quot;: &quot;omg.lol Special&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Ediz Baha&quot;, &quot;author_url&quot;: &quot;https://ediz.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;omg.lol Special - This theme is inspired by the new design of the omg.lol site.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #343A40 !important; border: 1px solid #868e96 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #F1F3F5;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #F1F3F5;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #F783AC;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;purplegray&quot;: { &quot;id&quot;: &quot;purplegray&quot;, &quot;name&quot;: &quot;PurpleGray&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Mert Dogu&quot;, &quot;author_url&quot;: &quot;https://mert.omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;Purple.. and yeah, gray.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #ac80ff !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #363636;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #3f3f3f;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #2b2b2bb6;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;toasted-minimal&quot;: { &quot;id&quot;: &quot;toasted-minimal&quot;, &quot;name&quot;: &quot;Toasted Minimal&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Laker J.V Turner&quot;, &quot;author_url&quot;: &quot;https://laker.tech&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;It&#039;s essentially Cosmic Latte, as an OMG.LOL theme!&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #FFF8E7 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #000;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; }, &quot;sun-kissed&quot;: { &quot;id&quot;: &quot;sun-kissed&quot;, &quot;name&quot;: &quot;Sun Kissed&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;Catnatsuki&quot;, &quot;author_url&quot;: &quot;https://twitter.com/catnatsuki_&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;A theme which will remind you of a calm and beautiful sunrise.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: #fde3b3 !important;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #1F1B15;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #725a42;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #f39519;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; } } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-theme-retrieve-information-about-a-theme"><h2>Theme &#183; Retrieve information about a theme</h2><p>Get information about a specific theme</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/theme/<span class="parameter">theme</span>/info </span> </p> <div class="response"> <h4><strong id="theme-retrieve-information-about-a-theme-retrieve-information-about-a-theme">Retrieve information about a theme</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/theme/default/info'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;theme&quot;: { &quot;id&quot;: &quot;default&quot;, &quot;name&quot;: &quot;Default&quot;, &quot;created&quot;: &quot;1660967179&quot;, &quot;updated&quot;: &quot;1660967179&quot;, &quot;author&quot;: &quot;omg.lol&quot;, &quot;author_url&quot;: &quot;https://omg.lol&quot;, &quot;version&quot;: &quot;1.0&quot;, &quot;license&quot;: &quot;MIT&quot;, &quot;description&quot;: &quot;A friendly, simple look for your amazing profile.&quot;, &quot;preview_css&quot;: &quot;{\r\n\t\&quot;background_css\&quot;: \&quot;background: linear-gradient(0deg, #3fb6b6 0%, #d56b86 100%) !important; background-repeat: no-repeat; background-attachment: fixed;\&quot;,\r\n\t\&quot;text_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;link_css\&quot;: \&quot;color: #000;\&quot;,\r\n\t\&quot;icon_css\&quot;: \&quot;color: #000;\&quot;\r\n}&quot;, &quot;sample_profile&quot;: &quot;{profile-picture}\r\n\r\n# Hayden Sato\r\n\r\n| Pronouns: she/her\r\n| Occupation: Arborist\r\n| Location: Fiji\r\n\r\n--- Bio ---\r\n\r\nI take care of trees!\r\n\r\n--- Profile Items ---\r\n\r\n- https://instagram.com/haydensato\r\n- https://twitter.com/haydensato\r\n- https://facebook.com/haydensato&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-theme-retrieve-a-theme-preview"><h2>Theme &#183; Retrieve a theme preview</h2><p>Get an HTML preview of a theme</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/theme/<span class="parameter">theme</span>/preview </span> </p> <div class="response"> <h4><strong id="theme-retrieve-a-theme-preview-retrieve-a-theme-preview">Retrieve a theme preview</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/theme/default/preview'</code></pre> <pre><code class="language-js">{&quot;response&quot;:{&quot;message&quot;:&quot;Here\u2019s an HTML preview of the Default theme.&quot;,&quot;html&quot;:&quot; &lt;!DOCTYPE html&gt;\n &lt;html lang=\&quot;en\&quot;&gt;\n &lt;head&gt;\n &lt;title&gt;\n Hayden Sato\n &lt;\/title&gt;\n &lt;meta charset=\&quot;utf-8\&quot;&gt;\n &lt;meta property=\&quot;og:type\&quot; content=\&quot;website\&quot;&gt;\n &lt;meta property=\&quot;og:title\&quot; content=\&quot;Hayden Sato\&quot;&gt;\n &lt;meta property=\&quot;og:description\&quot; content=\&quot;\&quot;&gt;\n &lt;meta property=\&quot;og:image\&quot; content=\&quot;\&quot;&gt;\n &lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width\&quot;&gt;\n &lt;link href=\&quot;https:\/\/static.omg.lol\/profiles\/themes\/css\/base.css?v=20220807\&quot; rel=\&quot;stylesheet\&quot;&gt;\n &lt;\/head&gt;\n &lt;body&gt;\n &lt;main&gt;\n &lt;h1 id=\&quot;name\&quot;&gt;\n Hayden Sato &lt;a id=\&quot;verification\&quot; title=\&quot;This address is verified.\&quot; style=\&quot;text-decoration: none; border: 0;\&quot; href=\&quot;https:\/\/home.omg.lol\/info\/profile-verification\&quot;&gt; &lt;i class=\&quot;fa-solid fa-badge-check\&quot;&gt;&lt;\/i&gt;&lt;\/a&gt;\n &lt;\/h1&gt;\n &lt;div class=\&quot;metadata\&quot; id=\&quot;pronouns\&quot;&gt;\n she\/her\n &lt;\/div&gt;\n &lt;div class=\&quot;metadata\&quot; id=\&quot;occupation\&quot;&gt;\n &lt;i class=\&quot;fa-solid fa-briefcase\&quot;&gt;&lt;\/i&gt; Arborist\n &lt;\/div&gt;\n &lt;div class=\&quot;metadata\&quot; id=\&quot;location\&quot;&gt;\n &lt;i class=\&quot;fa-solid fa-location-dot\&quot;&gt;&lt;\/i&gt; Fiji\n &lt;\/div&gt;\n &lt;div id=\&quot;details\&quot;&gt;&lt;\/div&gt;\n &lt;div id=\&quot;bio\&quot;&gt;\n &lt;p&gt;\n I take care of trees!\n &lt;\/p&gt;\n &lt;\/div&gt;\n &lt;div id=\&quot;profile-items\&quot;&gt;\n &lt;ul class=\&quot;fa-ul\&quot;&gt;\n &lt;li&gt;\n &lt;span class=\&quot;fa-li\&quot;&gt; &lt;i class=\&quot;fa-brands fa-instagram\&quot;&gt;&lt;\/i&gt;&lt;\/span&gt; &lt;a rel=\&quot;me\&quot; href=\&quot;https:\/\/instagram.com\/haydensato\&quot;&gt;haydensato&lt;\/a&gt;\n &lt;\/li&gt;\n &lt;li&gt;\n &lt;span class=\&quot;fa-li\&quot;&gt; &lt;i class=\&quot;fa-brands fa-twitter\&quot;&gt;&lt;\/i&gt;&lt;\/span&gt; &lt;a rel=\&quot;me\&quot; href=\&quot;https:\/\/twitter.com\/haydensato\&quot;&gt;haydensato&lt;\/a&gt;\n &lt;\/li&gt;\n &lt;li&gt;\n &lt;span class=\&quot;fa-li\&quot;&gt; &lt;i class=\&quot;fa-brands fa-facebook\&quot;&gt;&lt;\/i&gt;&lt;\/span&gt; &lt;a rel=\&quot;me\&quot; href=\&quot;https:\/\/facebook.com\/haydensato\&quot;&gt;haydensato&lt;\/a&gt;\n &lt;\/li&gt;\n &lt;\/ul&gt;\n &lt;\/div&gt;\n &lt;div id=\&quot;footer\&quot;&gt;\n &lt;a href=\&quot;https:\/\/home.omg.lol\/\&quot;&gt; &lt;span class=\&quot;logotype\&quot;&gt;omg &lt;span class=\&quot;logotype\&quot; style=\&quot;color: #f06595;\&quot;&gt;.&lt;\/span&gt;lol&lt;\/span&gt; &lt;br&gt;\n &lt;svg viewbox=\&quot;0 0 500 500\&quot; xmlns=\&quot;http:\/\/www.w3.org\/2000\/svg\&quot; id=\&quot;prami\&quot;&gt;\n &lt;g transform=\&quot;matrix(1.886789, 0, 0, -1.886789, -351.413971, 1414.84082)\&quot; style&gt;\n &lt;g id=\&quot;g24\&quot; transform=\&quot;matrix(1, 0, 0, 1, 318.75, 511.366486)\&quot;&gt;\n &lt;path d=\&quot;m 0,0 c -20.346,0 -40.691,7.762 -56.215,23.285 l -53,53 c -31.047,31.047 -31.047,81.383 0,112.43 29.997,29.997 78,31.012 109.215,3.044 31.216,27.967 79.219,26.952 109.215,-3.044 31.047,-31.047 31.047,-81.383 0,-112.43 l -53,-53 C 40.692,7.762 20.346,0 0,0\&quot; style=\&quot;fill:#ff69ad;fill-opacity:1;fill-rule:nonzero;stroke:none\&quot; id=\&quot;path26\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g28\&quot; transform=\&quot;matrix(1, 0, 0, 1, 303.125, 656.25)\&quot;&gt;\n &lt;path d=\&quot;m 0,0 c 0,-3.452 -2.798,-6.25 -6.25,-6.25 -3.452,0 -6.25,2.798 -6.25,6.25 0,3.452 2.798,6.25 6.25,6.25 C -2.798,6.25 0,3.452 0,0\&quot; style=\&quot;fill:#461036;fill-opacity:1;fill-rule:nonzero;stroke:none\&quot; id=\&quot;path30\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g32\&quot; transform=\&quot;matrix(1, 0, 0, 1, 303.125, 656.25)\&quot;&gt;\n &lt;path d=\&quot;m 0,0 c 0,-3.452 -2.798,-6.25 -6.25,-6.25 -3.452,0 -6.25,2.798 -6.25,6.25 0,3.452 2.798,6.25 6.25,6.25 C -2.798,6.25 0,3.452 0,0 Z\&quot; style=\&quot;fill:none;stroke:#461036;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1\&quot; id=\&quot;path34\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g36\&quot; transform=\&quot;matrix(1, 0, 0, 1, 346.875, 656.25)\&quot;&gt;\n &lt;path d=\&quot;m 0,0 c 0,-3.452 -2.798,-6.25 -6.25,-6.25 -3.452,0 -6.25,2.798 -6.25,6.25 0,3.452 2.798,6.25 6.25,6.25 C -2.798,6.25 0,3.452 0,0\&quot; style=\&quot;fill:#461036;fill-opacity:1;fill-rule:nonzero;stroke:none\&quot; id=\&quot;path38\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g40\&quot; transform=\&quot;matrix(1, 0, 0, 1, 346.875, 656.25)\&quot;&gt;\n &lt;path d=\&quot;m 0,0 c 0,-3.452 -2.798,-6.25 -6.25,-6.25 -3.452,0 -6.25,2.798 -6.25,6.25 0,3.452 2.798,6.25 6.25,6.25 C -2.798,6.25 0,3.452 0,0 Z\&quot; style=\&quot;fill:none;stroke:#461036;stroke-width:6;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1\&quot; id=\&quot;path42\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g44\&quot; transform=\&quot;matrix(1, 0, 0, 1, 296.88681, 631.243286)\&quot;&gt;\n &lt;path d=\&quot;M 0,0 C 10.004,-16.325 33.722,-16.325 43.726,0\&quot; style=\&quot;fill:none;stroke:#461036;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1\&quot; id=\&quot;path46\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g48\&quot; transform=\&quot;matrix(1, 0, 0, 1, 418.75, 637.5)\&quot;&gt;\n &lt;path d=\&quot;M 0,0 C 0,17.259 -13.991,31.25 -31.25,31.25 -48.509,31.25 -62.5,17.259 -62.5,0 c 0,-17.259 13.991,-31.25 31.25,-31.25 C -13.991,-31.25 0,-17.259 0,0\&quot; style=\&quot;fill:#e34198;fill-opacity:1;fill-rule:nonzero;stroke:none\&quot; id=\&quot;path50\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g52\&quot; transform=\&quot;matrix(1, 0, 0, 1, 281.25, 637.5)\&quot;&gt;\n &lt;path d=\&quot;M 0,0 C 0,17.259 -13.991,31.25 -31.25,31.25 -48.509,31.25 -62.5,17.259 -62.5,0 c 0,-17.259 13.991,-31.25 31.25,-31.25 C -13.991,-31.25 0,-17.259 0,0\&quot; style=\&quot;fill:#e34198;fill-opacity:1;fill-rule:nonzero;stroke:none\&quot; id=\&quot;path54\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;g id=\&quot;g56\&quot; transform=\&quot;matrix(1, 0, 0, 1, 296.88681, 631.243286)\&quot;&gt;\n &lt;path d=\&quot;M 0,0 C 10.004,-16.325 33.722,-16.325 43.726,0\&quot; style=\&quot;fill:none;stroke:#461036;stroke-width:10;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1\&quot; id=\&quot;path58\&quot;&gt;&lt;\/path&gt;\n &lt;\/g&gt;\n &lt;\/g&gt;&lt;\/svg&gt;&lt;\/a&gt;\n &lt;\/div&gt;\n &lt;\/main&gt;\n &lt;\/body&gt;\n&lt;\/html&gt;&quot;}}</code></pre> </div> </section></div> <div class=""> <h1 id="web">Web</h1> <p style="flex-grow: 1;">Manage profile page and web stuff on an omg.lol address</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-web-retrieve-web-page-content"><h2>Web &#183; Retrieve web page content</h2><p>Retrieve web content and information for an address</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/web </span> </p> <div class="response"> <h4><strong id="web-retrieve-web-page-content-retrieve-web-page-content">Retrieve web page content</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/web'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is the web content for foobar.&quot;, &quot;content&quot;: &quot;{profile-picture}\r\n\r\n# Foo Bar\r\n\r\n| Pronouns: they/them\r\n| Occupation: [Crop Trust](https://www.croptrust.org) \r\n| Location: Svalbard\r\n\r\n--- Bio ---\r\n\r\nOne thing about me is I once spilled coffee on a production server.\r\n\r\n--- Profile Items ---\r\n\r\n- [Twitter](https://twitter.com)\r\n- [Instagram](https://instagram.com)\r\n- [Mastodon](https://social.lol)\r\n- [Buy Me a Coffee](https://buymeacoffee.com) &lt;small&gt;(just don’t tell the server)&lt;/small&gt;\r\n- https://geotastic.net/foobar\r\n&quot;, &quot;type&quot;: &quot;profile&quot;, &quot;theme&quot;: &quot;default&quot;, &quot;css&quot;: &quot;&quot;, &quot;head&quot;: &quot;&quot;, &quot;verified&quot;: &quot;1&quot;, &quot;pfp&quot;: &quot;foobar.jpg&quot;, &quot;metadata&quot;: &quot;{\&quot;title\&quot;:\&quot;\&quot;,\&quot;description\&quot;:\&quot;\&quot;}&quot;, &quot;branding&quot;: &quot;default&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-web-update-web-page-content-and-publish"><h2>Web &#183; Update web page content and publish</h2><p>Update web content for an address</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/web </span> </p> <div class="response"> <h4><strong id="web-update-web-page-content-and-publish-update-web-page-content-and-publish">Update web page content and publish</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/haydensato/web' --data '{"publish": true, "content": "{profile-picture}\r\n\r\n# Foo Bar\r\n\r\n| Pronouns: they/them\r\n| Occupation: [Crop Trust](https://www.croptrust.org) \r\n| Location: Svalbard\r\n\r\n--- Bio ---\r\n\r\nOne thing about me is I once spilled coffee on a production server.\r\n\r\n--- Profile Items ---\r\n\r\n- [Twitter](https://twitter.com)\r\n- [Instagram](https://instagram.com)\r\n- [Mastodon](https://social.lol)\r\n- [Buy Me a Coffee](https://buymeacoffee.com) <small>(just don’t tell the server)</small>\r\n- https://geotastic.net/foobar\r\n"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your web content has been saved and published.&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-web-update-web-page-content-without-publishing"><h2>Web &#183; Update web page content without publishing</h2><p>Update web content for an address</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/web </span> </p> <div class="response"> <h4><strong id="web-update-web-page-content-without-publishing-update-web-page-content-without-publishing">Update web page content without publishing</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/haydensato/web' --data '{"content": "{profile-picture}\r\n\r\n# Foo Bar\r\n\r\n| Pronouns: they/them\r\n| Occupation: [Crop Trust](https://www.croptrust.org) \r\n| Location: Svalbard\r\n\r\n--- Bio ---\r\n\r\nOne thing about me is I once spilled coffee on a production server.\r\n\r\n--- Profile Items ---\r\n\r\n- [Twitter](https://twitter.com)\r\n- [Instagram](https://instagram.com)\r\n- [Mastodon](https://social.lol)\r\n- [Buy Me a Coffee](https://buymeacoffee.com) <small>(just don’t tell the server)</small>\r\n- https://geotastic.net/foobar\r\n"}'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your web content has been saved.&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-web-upload-a-profile-picture"><h2>Web &#183; Upload a profile picture</h2><p>Upload (or replace) a profile picture / avatar.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/pfp </span> </p> <div class="response"> <h4><strong id="web-upload-a-profile-picture-upload-a-profile-picture">Upload a profile picture</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/adam/pfp'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;We received 2891341 bytes of data.&quot; } }</code></pre> </div> </section></div> <div class=""> <h1 id="weblog">Weblog</h1> <p style="flex-grow: 1;">Endpoints for managing your weblog.</p> </div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-weblog-retrieve-weblog-entries"><h2>Weblog &#183; Retrieve weblog entries</h2><p>Retrieve all of your weblog entries.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/entries </span> </p> <div class="response"> <h4><strong id="weblog-retrieve-weblog-entries-retrieve-weblog-entries">Retrieve weblog entries</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/entries'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here are your weblog entries.&quot;, &quot;entries&quot;: [ { &quot;address&quot;: &quot;foobar&quot;, &quot;location&quot;: &quot;/2022/12/my-weblog-post&quot;, &quot;title&quot;: &quot;My weblog post&quot;, &quot;date&quot;: &quot;1670615520&quot;, &quot;type&quot;: &quot;post&quot;, &quot;status&quot;: &quot;live&quot;, &quot;source&quot;: &quot;---\nDate: 2022-12-09 19:52\n---\n\n# My weblog post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.&quot;, &quot;body&quot;: &quot;# My weblog post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.&quot;, &quot;output&quot;: &quot;&lt;h1&gt;My weblog post&lt;/h1&gt;\n&lt;p&gt;This is a new blog post. You can author it in &lt;em&gt;Markdown&lt;/em&gt;, which is &lt;strong&gt;awesome&lt;/strong&gt;.&lt;/p&gt;&quot;, &quot;metadata&quot;: &quot;{\&quot;date\&quot;:\&quot;2022-12-09 19:52\&quot;,\&quot;slug\&quot;:\&quot;my-weblog-post\&quot;}&quot;, &quot;entry&quot;: &quot;63aa3df342ba2&quot; }, { &quot;address&quot;: &quot;foobar&quot;, &quot;location&quot;: &quot;/2022/12/test-post&quot;, &quot;title&quot;: &quot;Test post&quot;, &quot;date&quot;: &quot;1670795160&quot;, &quot;type&quot;: &quot;post&quot;, &quot;status&quot;: &quot;live&quot;, &quot;source&quot;: &quot;Date: 2022-12-11 5:46 PM EDT\n\n# Test post\n\nThis is a test.&quot;, &quot;body&quot;: &quot;# Test post\n\nThis is a test.&quot;, &quot;output&quot;: &quot;&lt;h1&gt;Test post&lt;/h1&gt;\n&lt;p&gt;This is a test.&lt;/p&gt;&quot;, &quot;metadata&quot;: &quot;{\&quot;date\&quot;:\&quot;2022-12-11 5:46 PM EDT\&quot;,\&quot;slug\&quot;:\&quot;test-post\&quot;}&quot;, &quot;entry&quot;: &quot;abc123&quot; } ] } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-weblog-create-a-new-weblog-entry"><h2>Weblog &#183; Create a new weblog entry</h2><p>Create a new weblog entry.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/entry/<span class="parameter">entry</span> </span> </p> <div class="response"> <h4><strong id="weblog-create-a-new-weblog-entry-create-a-new-weblog-entry">Create a new weblog entry</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/entry/abc123' --data 'Date: 2022-12-11 5:46 PM EDT # Test post This is a test.'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your entry has been saved.&quot;, &quot;entry&quot;: { &quot;location&quot;: &quot;/2022/12/test-post&quot;, &quot;title&quot;: &quot;Test post&quot;, &quot;date&quot;: 1670795160, &quot;type&quot;: &quot;post&quot;, &quot;status&quot;: &quot;live&quot;, &quot;body&quot;: &quot;# Test post\n\nThis is a test.&quot;, &quot;source&quot;: &quot;Date: 2022-12-11 5:46 PM EDT\n\n# Test post\n\nThis is a test.&quot;, &quot;metadata&quot;: { &quot;date&quot;: &quot;2022-12-11 5:46 PM EDT&quot;, &quot;slug&quot;: &quot;test-post&quot; }, &quot;output&quot;: &quot;&lt;h1&gt;Test post&lt;/h1&gt;\n&lt;p&gt;This is a test.&lt;/p&gt;&quot;, &quot;entry&quot;: &quot;abc123&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-weblog-retrieve-a-weblog-entry"><h2>Weblog &#183; Retrieve a weblog entry</h2><p>Retrieve a single weblog entry.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/entry/<span class="parameter">entry</span> </span> </p> <div class="response"> <h4><strong id="weblog-retrieve-a-weblog-entry-retrieve-a-weblog-entry">Retrieve a weblog entry</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/entry/63aa3df342ba2'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is your weblog entry.&quot;, &quot;entry&quot;: { &quot;address&quot;: &quot;foobar&quot;, &quot;location&quot;: &quot;/2022/12/my-weblog-post&quot;, &quot;title&quot;: &quot;My weblog post&quot;, &quot;date&quot;: &quot;1670615520&quot;, &quot;type&quot;: &quot;post&quot;, &quot;status&quot;: &quot;live&quot;, &quot;source&quot;: &quot;---\nDate: 2022-12-09 19:52\n---\n\n# My weblog post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.&quot;, &quot;body&quot;: &quot;# My weblog post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.&quot;, &quot;output&quot;: &quot;&lt;h1&gt;My weblog post&lt;/h1&gt;\n&lt;p&gt;This is a new blog post. You can author it in &lt;em&gt;Markdown&lt;/em&gt;, which is &lt;strong&gt;awesome&lt;/strong&gt;.&lt;/p&gt;&quot;, &quot;metadata&quot;: &quot;{\&quot;date\&quot;:\&quot;2022-12-09 19:52\&quot;,\&quot;slug\&quot;:\&quot;my-weblog-post\&quot;}&quot;, &quot;entry&quot;: &quot;63aa3df342ba2&quot;, &quot;id&quot;: &quot;fh3dyct1fhaurm5pxrszq3mnptzsqmmop73ze&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="noauth-get-weblog-retrieve-the-latest-weblog-post"><h2>Weblog &#183; Retrieve the latest weblog post</h2><p>Retrieve the latest post from a weblog.</p><p> <span class="no-auth"><i class="fa-solid fa-lock-keyhole-open"></i> No Auth</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/post/latest </span> </p> <div class="response"> <h4><strong id="weblog-retrieve-the-latest-weblog-post-retrieve-the-latest-weblog-post">Retrieve the latest weblog post</strong></h4> <pre><code class="language-bash">curl --location --request GET 'https://api.omg.lol/address/foobar/weblog/post/latest'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is the latest post.&quot;, &quot;post&quot;: { &quot;address&quot;: &quot;foobar&quot;, &quot;location&quot;: &quot;/2022/12/test-post&quot;, &quot;title&quot;: &quot;Test post&quot;, &quot;date&quot;: &quot;1670795160&quot;, &quot;type&quot;: &quot;post&quot;, &quot;status&quot;: &quot;live&quot;, &quot;source&quot;: &quot;Date: 2022-12-11 5:46 PM EDT\n\n# Test post\n\nThis is a test.&quot;, &quot;body&quot;: &quot;# Test post\n\nThis is a test.&quot;, &quot;output&quot;: &quot;&lt;h1&gt;Test post&lt;/h1&gt;\n&lt;p&gt;This is a test.&lt;/p&gt;&quot;, &quot;metadata&quot;: &quot;{\&quot;date\&quot;:\&quot;2022-12-11 5:46 PM EDT\&quot;,\&quot;slug\&quot;:\&quot;test-post\&quot;}&quot;, &quot;entry&quot;: &quot;abc123&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-delete-weblog-delete-a-weblog-entry"><h2>Weblog &#183; Delete a weblog entry</h2><p>Permanently delete a weblog entry.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method delete">DELETE</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/delete/<span class="parameter">entry</span> </span> </p> <div class="response"> <h4><strong id="weblog-delete-a-weblog-entry-delete-a-weblog-entry">Delete a weblog entry</strong></h4> <pre><code class="language-bash">curl --location --request DELETE --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/delete/63961b11b0a7d'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;OK, your weblog post was deleted.&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-weblog-retrieve-weblog-configuration"><h2>Weblog &#183; Retrieve weblog configuration</h2><p>Retrieve your weblog configuration.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/configuration </span> </p> <div class="response"> <h4><strong id="weblog-retrieve-weblog-configuration-retrieve-weblog-configuration">Retrieve weblog configuration</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/configuration'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is your weblog configuration.&quot;, &quot;configuration&quot;: { &quot;object&quot;: { &quot;weblog-title&quot;: &quot;A Weblog&quot;, &quot;weblog-description&quot;: &quot;This is a weblog.&quot;, &quot;author&quot;: &quot;Your Name&quot;, &quot;separator&quot;: &quot; · &quot;, &quot;tag-path&quot;: &quot;/tag/&quot;, &quot;timezone&quot;: &quot;UTC&quot;, &quot;date-format&quot;: &quot;F j, Y g:i A&quot;, &quot;default-post&quot;: &quot;---\nDate: $date\n---\n\n# Your new post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.&quot;, &quot;feed-post-count&quot;: &quot;25&quot;, &quot;post-path-format&quot;: &quot;/Y/m/&quot;, &quot;recent-posts-count&quot;: &quot;5&quot;, &quot;recent-posts-format&quot;: &quot;\n&lt;ul&gt;\n[post:begin]&lt;li&gt;&lt;a href=\&quot;$location\&quot;&gt;$title&lt;/a&gt;&lt;/li&gt;[post:end]\n&lt;/ul&gt;&quot;, &quot;post-list-format&quot;: &quot;\n&lt;ul&gt;\n[post:begin]&lt;li&gt;&lt;a href=\&quot;$location\&quot;&gt;$title&lt;/a&gt;&lt;/li&gt;[post:end]\n&lt;/ul&gt;&quot;, &quot;search-status&quot;: &quot;enabled&quot;, &quot;search-results-success-message&quot;: &quot;There [is|are] $count [result|results] for your search:&quot;, &quot;search-results-failure-message&quot;: &quot;There were no results found for your search.&quot;, &quot;search-results-format&quot;: &quot;\n&lt;h2&gt;Results for “$search”&lt;/h2&gt;\n&lt;p&gt;$search_results_message&lt;/p&gt;\n[post:begin]&lt;h3&gt;&lt;a href=\&quot;$location\&quot;&gt;$title&lt;/a&gt;&lt;/h3&gt;\n&lt;p&gt;$date&lt;/p&gt;\n&lt;p&gt;$snippet&lt;/p&gt;[post:end]\n&quot; }, &quot;json&quot;: &quot;{\n \&quot;weblog-title\&quot;: \&quot;A Weblog\&quot;,\n \&quot;weblog-description\&quot;: \&quot;This is a weblog.\&quot;,\n \&quot;author\&quot;: \&quot;Your Name\&quot;,\n \&quot;separator\&quot;: \&quot; \\u00b7 \&quot;,\n \&quot;tag-path\&quot;: \&quot;\\/tag\\/\&quot;,\n \&quot;timezone\&quot;: \&quot;UTC\&quot;,\n \&quot;date-format\&quot;: \&quot;F j, Y g:i A\&quot;,\n \&quot;default-post\&quot;: \&quot;---\\nDate: $date\\n---\\n\\n# Your new post\\n\\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.\&quot;,\n \&quot;feed-post-count\&quot;: \&quot;25\&quot;,\n \&quot;post-path-format\&quot;: \&quot;\\/Y\\/m\\/\&quot;,\n \&quot;recent-posts-count\&quot;: \&quot;5\&quot;,\n \&quot;recent-posts-format\&quot;: \&quot;\\n&lt;ul&gt;\\n[post:begin]&lt;li&gt;&lt;a href=\\\&quot;$location\\\&quot;&gt;$title&lt;\\/a&gt;&lt;\\/li&gt;[post:end]\\n&lt;\\/ul&gt;\&quot;,\n \&quot;post-list-format\&quot;: \&quot;\\n&lt;ul&gt;\\n[post:begin]&lt;li&gt;&lt;a href=\\\&quot;$location\\\&quot;&gt;$title&lt;\\/a&gt;&lt;\\/li&gt;[post:end]\\n&lt;\\/ul&gt;\&quot;,\n \&quot;search-status\&quot;: \&quot;enabled\&quot;,\n \&quot;search-results-success-message\&quot;: \&quot;There [is|are] $count [result|results] for your search:\&quot;,\n \&quot;search-results-failure-message\&quot;: \&quot;There were no results found for your search.\&quot;,\n \&quot;search-results-format\&quot;: \&quot;\\n&lt;h2&gt;Results for \\u201c$search\\u201d&lt;\\/h2&gt;\\n&lt;p&gt;$search_results_message&lt;\\/p&gt;\\n[post:begin]&lt;h3&gt;&lt;a href=\\\&quot;$location\\\&quot;&gt;$title&lt;\\/a&gt;&lt;\\/h3&gt;\\n&lt;p&gt;$date&lt;\\/p&gt;\\n&lt;p&gt;$snippet&lt;\\/p&gt;[post:end]\\n\&quot;\n}&quot;, &quot;raw&quot;: &quot;// Weblog Configuration\n\n# About your weblog\n\nWeblog Title: A Weblog\nWeblog Description: This is a weblog.\nAuthor: Your Name\n\n# General config stuff\n\nSeparator: · \n// Navigation: about, another-page, &lt;a href=\&quot;https://example.com\&quot;&gt;Example&lt;/a&gt;, [Example](https://example.com)\nTag path: /tag/\n\n# Time stuff\n\n; You can use a timezone value from the \&quot;TZ database name\&quot; column on this \n; web page: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones\n\nTimezone: UTC\nDate format: F j, Y g:i A\n\n# Posts\n\n// Post path format: /Y/m/\n\nDefault post: &lt;&lt;[---\nDate: $date\n---\n\n# Your new post\n\nThis is a new blog post. You can author it in _Markdown_, which is **awesome**.]&gt;&gt;\n&quot; } } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-weblog-update-weblog-configuration"><h2>Weblog &#183; Update weblog configuration</h2><p>Update your weblog configuration.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/configuration </span> </p> <div class="response"> <h4><strong id="weblog-update-weblog-configuration-update-weblog-configuration">Update weblog configuration</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/configuration' --data '// Weblog Configuration # About your weblog Weblog Title: A Weblog Weblog Description: This is a weblog. Author: Your Name Landing page: home # General config stuff Separator: · // Navigation: about, another-page, <a href="https://example.com">Example</a>, [Example](https://example.com) Tag path: /tag/ # Time stuff ; You can use a timezone value from the "TZ database name" column on this ; web page: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones Timezone: UTC Date format: F j, Y g:i A # Posts Post path format: /Y/m/ Default post: <<[--- Date: $date --- # Your new post This is a new blog post. You can author it in _Markdown_, which is **awesome**.]>> Navigation: home, another-page # Navigation: home, [Profile](https://profile.omg.lol/rb/), 2022/12/apple-post, another-page '</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your weblog configuration has been updated.&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-get-weblog-retrieve-weblog-template"><h2>Weblog &#183; Retrieve weblog template</h2><p>Retrieve your weblog template.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method get">GET</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/template </span> </p> <div class="response"> <h4><strong id="weblog-retrieve-weblog-template-retrieve-weblog-template">Retrieve weblog template</strong></h4> <pre><code class="language-bash">curl --location --request GET --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/template'</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Here is your weblog template.&quot;, &quot;template&quot;: &quot;&lt;!DOCTYPE html&gt;\n&lt;html lang=\&quot;en\&quot;&gt;\n&lt;head&gt;\n&lt;title&gt;{weblog-title}{separator}{post-title}&lt;/title&gt;\n&lt;meta charset=\&quot;utf-8\&quot;&gt;\n&lt;meta name=\&quot;viewport\&quot; content=\&quot;width=device-width, initial-scale=1\&quot;&gt;\n{feeds}\n&lt;style&gt;\n@import url(&#039;https://static.omg.lol/type/font-honey.css&#039;);\n@import url(&#039;https://static.omg.lol/type/font-lato-regular.css&#039;);\n@import url(&#039;https://static.omg.lol/type/font-lato-bold.css&#039;);\n@import url(&#039;https://static.omg.lol/type/font-lato-italic.css&#039;);\n@import url(&#039;https://static.omg.lol/type/font-md-io.css&#039;);\n@import url(&#039;https://static.omg.lol/type/fontawesome-free/css/all.css&#039;);\n\n:root {\n\t--foreground: #212529;\n\t--background: #f8f9fa;\n\t--link: #0b7285;\n\t--accent: #868e96;\n}\n\n@media (prefers-color-scheme: dark) {\n\t:root {\n\t\t--foreground: #eee;\n\t\t--background: #222;\n\t\t--link: #99e9f2;\n\t\t--accent: #ced4da;\n\t}\n}\n\n* {\n\tbox-sizing: border-box;\n}\n\nbody {\n\tfont-family: &#039;Lato&#039;, sans-serif;\n\tfont-size: 120%;\n\tcolor: var(--foreground);\n\tbackground: var(--background);\n}\n\nheader nav ul {\n\tlist-style-type: none;\n\tmargin: 0;\n\tpadding: 0;\n}\n\nheader nav li {\n\tdisplay: inline-block;\n}\n\nheader nav li a {\n\tdisplay: block;\n\ttext-decoration: none;\n\tmargin-right: 1em;\n}\n\nh1, h2, h3, h4, h5, h6 {\n\tfont-family: &#039;VC Honey Deck&#039;, serif;\n\tmargin: 1rem 0;\n}\n\np, li {\n\tline-height: 160%;\n}\n\nheader, main, footer {\n\tmax-width: 60em;\n\tmargin: 2em auto;\n\tpadding: 0 1em;\n}\n\nheader {\n\tmargin-top: 4em;\n}\n\nfooter p {\n\tmargin-top: 5em;\n\tfont-size: 90%;\n\ttext-align: center;\n}\n\na:link { color: var(--link); }\na:visited { color: var(--link); }\na:hover { color: var(--link); }\na:active { color: var(--link); }\n\n.post-info, .post-tags {\n\tfont-size: 85%;\n\tcolor: var(--accent);\n\ttext-align: right;\n}\n\n.post-info i:nth-child(2) {\n\tmargin-left: .75em;\n}\n\n.tag {\n\tbackground: var(--accent);\n\tcolor: var(--background) !important;\n\tpadding: .3em .4em;\n\tmargin: .8em 0 0 .4em;\n\tborder-radius: .5em;\n\ttext-decoration: none;\n\tdisplay: inline-block;\n}\n\nhr {\n\tborder: 0;\n\theight: 1px;\n\tbackground: #333;\n\tmargin: 2em 0;\n}\n\ncode {\n\tpadding: .2em .3em;\n\tborder: 1px solid var(--accent);\n\twhite-space: pre-wrap;\n\tword-wrap: break-word; \n}\n\npre, code {\n\tfont-family: &#039;MD IO 0.4&#039;;\n\tfont-size: 90%;\n}\n\npre code {\n\tbackground: #000;\n\tcolor: #eee;\n\tdisplay: inline-block;\n\tpadding: 1em;\n\twhite-space: pre-wrap;\n\tword-wrap: break-word; \n}\n\nimg {\n\tmax-width: 100%;\n}\n\ntable {\n\tborder-collapse: collapse;\n}\n\ntd, th {\n\tpadding: .75em;\n\ttext-align: left;\n\tborder: 1px solid var(--accent);\n}\n\t\n.weblog-title a {\n\ttext-decoration: none;\n\tcolor: var(--foreground);\n}\n\n&lt;/style&gt;\n&lt;/head&gt;\n&lt;body&gt;\n\n&lt;header&gt;\n\t&lt;h1 class=\&quot;weblog-title\&quot;&gt;&lt;a href=\&quot;/\&quot;&gt;{weblog-title}&lt;/a&gt;&lt;/h1&gt;\n\t{navigation}\n&lt;/header&gt;\n\n&lt;main&gt;\n\n&lt;article&gt;\n\t{body}\n\t&lt;aside class=\&quot;post-info\&quot;&gt;\n\t\t&lt;i class=\&quot;fa-solid fa-clock\&quot;&gt;&lt;/i&gt; {date}\n\t&lt;/aside&gt;\n\t&lt;aside class=\&quot;post-tags\&quot;&gt;\n\t\t{tags}\n\t&lt;/aside&gt;\n&lt;/article&gt;\n\n&lt;hr&gt;\n\n&lt;h2&gt;Recent posts&lt;/h2&gt;\n\n{recent-posts}\n\n&lt;/main&gt;\n\n&lt;footer&gt;\n\t&lt;p&gt;Made with &lt;a href=\&quot;https://weblog.lol\&quot;&gt;weblog.lol&lt;/a&gt;.&lt;/p&gt;\n&lt;/footer&gt;\n\n&lt;/body&gt;\n&lt;/html&gt;\n&quot; } }</code></pre> </div> </section></div> <div class="container gray-7-bg gray-3-fg"> <section id="token-post-weblog-update-weblog-template"><h2>Weblog &#183; Update weblog template</h2><p>Update your weblog template.</p><p> <span class="auth"><i class="fa-solid fa-lock-keyhole"></i> Bearer Token</span> <span class="method post">POST</span> <span class="wrap">/address/<span class="parameter">address</span>/weblog/template </span> </p> <div class="response"> <h4><strong id="weblog-update-weblog-template-update-weblog-template">Update weblog template</strong></h4> <pre><code class="language-bash">curl --location --request POST --header 'Authorization: Bearer api_key' 'https://api.omg.lol/address/foobar/weblog/template' --data '<!DOCTYPE html> <html lang="en"> <head> <title>{weblog-title}{separator}{post-title}</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> {feeds} <style> @import url('https://static.omg.lol/type/font-honey.css'); @import url('https://static.omg.lol/type/font-lato-regular.css'); @import url('https://static.omg.lol/type/font-lato-bold.css'); @import url('https://static.omg.lol/type/font-lato-italic.css'); @import url('https://static.omg.lol/type/font-md-io.css'); @import url('https://static.omg.lol/type/fontawesome-free/css/all.css'); :root { --foreground: #212529; --background: #f8f9fa; --link: #0b7285; --accent: #868e96; } @media (prefers-color-scheme: dark) { :root { --foreground: #eee; --background: #222; --link: #99e9f2; --accent: #ced4da; } } * { box-sizing: border-box; } body { font-family: 'Lato', sans-serif; font-size: 120%; color: var(--foreground); background: var(--background); } header nav ul { list-style-type: none; margin: 0; padding: 0; } header nav li { display: inline-block; } header nav li a { display: block; text-decoration: none; margin-right: 1em; } h1, h2, h3, h4, h5, h6 { font-family: 'VC Honey Deck', serif; margin: 1rem 0; } p, li { line-height: 160%; } header, main, footer { max-width: 60em; margin: 2em auto; padding: 0 1em; } header { margin-top: 4em; } footer p { margin-top: 5em; font-size: 90%; text-align: center; } a:link { color: var(--link); } a:visited { color: var(--link); } a:hover { color: var(--link); } a:active { color: var(--link); } .post-info, .post-tags { font-size: 85%; color: var(--accent); text-align: right; } .post-info i:nth-child(2) { margin-left: .75em; } .tag { background: var(--accent); color: var(--background) !important; padding: .3em .4em; margin: .8em 0 0 .4em; border-radius: .5em; text-decoration: none; display: inline-block; } hr { border: 0; height: 1px; background: #333; margin: 2em 0; } code { padding: .2em .3em; border: 1px solid var(--accent); white-space: pre-wrap; word-wrap: break-word; } pre, code { font-family: 'MD IO 0.4'; font-size: 90%; } pre code { background: #000; color: #eee; display: inline-block; padding: 1em; white-space: pre-wrap; word-wrap: break-word; } img { max-width: 100%; } table { border-collapse: collapse; } td, th { padding: .75em; text-align: left; border: 1px solid var(--accent); } .weblog-title a { text-decoration: none; color: var(--foreground); } </style> </head> <body> <header> <h1 class="weblog-title"><a href="/">{weblog-title}</a></h1> {navigation} </header> <main> <article> {body} <aside class="post-info"> <i class="fa-solid fa-clock"></i> <a href="{permalink}">{date}</a> </aside> <aside class="post-tags"> {tags} </aside> </article> <hr> <h2>Recent posts</h2> {recent-posts} </main> <footer> <p>Made with <a href="https://weblog.lol">weblog.lol</a>.</p> </footer> </body> </html> '</code></pre> <pre><code class="language-js">{ &quot;request&quot;: { &quot;status_code&quot;: 200, &quot;success&quot;: true }, &quot;response&quot;: { &quot;message&quot;: &quot;Your weblog template has been updated.&quot; } }</code></pre> </div> </section></div> </div> </div> </main> <footer> <div class="area"> <div class="box basis" style="--basis: 15em;"> <ul class="fa-ul"> <li><a href="https://omglol.news"><span class="fa-li"><i class="fa-solid fa-fw fa-newspaper"></i></span>News & Updates</a></li> <li><a href="https://broke.lol"><span class="fa-li"><i class="fa-solid fa-fw fa-wave-pulse"></i></span>System Status</a></li> <li><a href="https://api.omg.lol"><span class="fa-li"><i class="fa-solid fa-fw fa-brackets-curly"></i></span>API</a></li> <li><a href="https://home.omg.lol/info"><span class="fa-li"><i class="fa-solid fa-fw fa-handshake-angle"></i></span>Info & Help</a></li> <li><a href="https://home.omg.lol/info/legal"><span class="fa-li"><i class="fa-solid fa-fw fa-scale-balanced"></i></span>Legal</a></li> </ul> </div> <div class="box basis centered" style="--basis: 20em;"> <p><span class="logotype"><a href="https://home.omg.lol">omg<span class="pink-5-fg">.</span>lol</a></span> is made by <a href="https://neatnik.net/">Neatnik</a> in Louisville, KY.</p> <p>We hope you’re having a great day.</p> <p><img src="https://cdn.cache.lol/img/prami_content.svg" alt="Prami looking rather contented" style="width: 3.5em;"></p> </div> <div class="box basis centered" style="--basis: 15em;"> <ul class="horizontal"> <li><a rel="me" href="https://social.lol/@prami"><i class="fa-brands fa-fw fa-2x fa-mastodon"></i></a></li> <li><a href="https://github.com/neatnik/omg.lol"><i class="fa-brands fa-fw fa-2x fa-github"></i></a></li> <li><a href="http://youtube.com/@omgdotlol"><i class="fa-brands fa-fw fa-2x fa-youtube"></i></a></li> </ul> </div> </div> </footer> </div> <script src="https://cdn.cache.lol/js/prism.js"></script> <script> const dark_class = 'gray-6-fg fa-duotone fa-fw fa-moon'; const light_class = 'yellow-3-fg fa-duotone fa-fw fa-sun'; // set the color scheme based on the browser/OS preference, if any if(window.matchMedia('(prefers-color-scheme)').media !== 'not all') { // the browser is indicating that it supports prefers-color-scheme if(window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) { // the browser prefers dark mode var body = document.body; body.classList.add('dark-mode'); document.getElementById('color_mode_button').innerHTML = '<i class="'+light_class+'"></i>'; } else { // the browser doesn’t prefer dark mode var body = document.body; body.classList.add('light-mode'); document.getElementById('color_mode_button').innerHTML = '<i class="'+dark_class+'"></i>'; } // add an event listener to toggle the color scheme as changes are made, as long as the user hasn't already set their mode with the button window.matchMedia('(prefers-color-scheme: dark)').addEventListener('change', event => { if(!localStorage.getItem('color_scheme')) { const new_color_scheme = event.matches ? "dark" : "light"; toggle_color_scheme(); } }); } else { // browser does not support prefers-color-scheme var body = document.body; body.classList.add('dark-mode'); document.getElementById('color_mode_button').innerHTML = '<i class="'+light_class+'"></i>'; } if(localStorage.getItem('color_scheme')) { var body = document.body; body.className = localStorage.getItem('color_scheme'); if(localStorage.getItem('color_scheme') == 'light-mode') document.getElementById('color_mode_button').innerHTML = '<i class="'+dark_class+'"></i>'; else document.getElementById('color_mode_button').innerHTML = '<i class="'+light_class+'"></i>'; } function toggle_color_scheme(clicked = false) { var body = document.body; var color_scheme = body.className; body.className = color_scheme == "dark-mode" ? "light-mode" : "dark-mode"; color_scheme = body.className; if(clicked) localStorage.setItem('color_scheme', color_scheme); if(color_scheme == 'light-mode') document.getElementById('color_mode_button').innerHTML = '<i class="'+dark_class+'"></i>'; else document.getElementById('color_mode_button').innerHTML = '<i class="'+light_class+'"></i>'; } </script> </body> </html> <script> // Get all sections that have an ID defined //const sections = document.querySelectorAll("section[id]"); const sections = document.querySelectorAll("section[id]"); // Add an event listener listening for scroll window.addEventListener("scroll", navHighlighter); function navHighlighter() { //console.log(window.scrollY); if(window.scrollY >= 190) { document.getElementById('toc_scrollable').style.height = '95vh'; } if(window.scrollY <= 220) { document.getElementById('toc_scrollable').style.height = 'calc(100vh - 15em)'; } // Get current scroll position let scrollY = window.pageYOffset; // Now we loop through sections to get height, top and ID values for each sections.forEach(current => { const sectionHeight = current.offsetHeight; // Original: //const sectionTop = current.offsetTop - 50; // // Alex Turnwall's update: // Updated original line (above) to use getBoundingClientRect instead of offsetTop, based on: // https://plainjs.com/javascript/styles/get-the-position-of-an-element-relative-to-the-document-24/ // https://newbedev.com/difference-between-getboundingclientrect-top-and-offsettop // This allows the use of sections inside a relative parent, which I'm not using here, but needed for a project // const sectionTop = (current.getBoundingClientRect().top + window.pageYOffset) - 50; sectionId = current.getAttribute("id"); /* - If our current scroll position enters the space where current section on screen is, add .active class to corresponding navigation link, else remove it - To know which link needs an active class, we use sectionId variable we are getting while looping through sections as an selector */ if ( scrollY > sectionTop && scrollY <= sectionTop + sectionHeight ){ //document.querySelector(".navigation a[href*=" + sectionId + "]").classList.add("active"); console.log('adding: ' + sectionId); document.querySelector("nav a[href*=" + sectionId + "]").classList.add("active"); //var rect = document.querySelector("nav a[href*=" + sectionId + "]").element.getBoundingClientRect(); //document.getElementById('toc_scrollable').scrollTo(rect.top,0); } else { //document.querySelector(".navigation a[href*=" + sectionId + "]").classList.remove("active"); console.log('removing: ' + sectionId); document.querySelector("nav a[href*=" + sectionId + "]").classList.remove("active"); } }); } </script>

Pages: 1 2 3 4 5 6 7 8 9 10