From 2e61e8abbc318c36969cb5add0c63df81135b4ab Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 11 Feb 2026 23:02:30 -0800 Subject: formatting --- src/routes/(static)/docs/+page.svelte | 36 +++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'src/routes/(static)/docs') diff --git a/src/routes/(static)/docs/+page.svelte b/src/routes/(static)/docs/+page.svelte index fc803158..90d14ff1 100644 --- a/src/routes/(static)/docs/+page.svelte +++ b/src/routes/(static)/docs/+page.svelte @@ -26,18 +26,13 @@

Documentation

- Coinos is free and open source software. The code is available at github.com/coinos + Coinos is free and open source software. The code is available at + github.com/coinos

- Coinos has a REST API that can be used to register accounts and make payments. The following - examples show how you can call the API with curl + Coinos has a REST API that can be used to register accounts and make payments. The following examples show how you can call the API with + curl

API Base URL

@@ -49,14 +44,16 @@

Auth Token

{#if user && token} - This token authorizes you to use the API as {user.username}. + This token authorizes you to use the API as + {user.username} + . {:else} - Sign in to view your auth token here, or get one from the - /login endpoint. + Sign in + to view your auth token here, or get one from the /login endpoint. {/if} - - Save it in a variable called $token to run the examples. It gives full access to your account - so keep it safe. + Save it in a variable called + $token + to run the examples. It gives full access to your account so keep it safe.

@@ -66,8 +63,7 @@ {#if ro}

- This read-only token has permission to create invoices and fetch payments but can't be used to - make withdrawals + This read-only token has permission to create invoices and fetch payments but can't be used to make withdrawals

{roSample}
@@ -130,7 +126,11 @@

Sample response

-

You can check the received field to see how much has been paid

+

+ You can check the + received + field to see how much has been paid +

Specify a webhook to be called when an invoice is paid

-- cgit v1.2.3