fix: prettify markdown tables

This commit is contained in:
JustTemmie 2025-04-28 23:37:12 +02:00
parent bb72915201
commit 42fca503d8
6 changed files with 46 additions and 46 deletions

View file

@ -9,7 +9,7 @@ Registers the user, and issues an access token for future requests.
## Request
| Name | Type | Description |
| ----------- | ------ | -------------------------------------------------------------------------------------------------------------- |
|-------------|--------|----------------------------------------------------------------------------------------------------------------|
| identifier | string | **Required** User's desired ID |
| email | string | **Required** User's email |
| password | string | **Required**: The user's password (we need to figure out how exactly we're hashing + salting it on the client) |
@ -29,7 +29,7 @@ Registers the user, and issues an access token for future requests.
## Responses
| Status | Description |
| ------ | ----------------------------------------------------------------------------------------------------------------------------- |
|--------|-------------------------------------------------------------------------------------------------------------------------------|
| 200 | Registration successful |
| 400 | The post request included poorly formated data |
| 403 | Signups are disabled, gorb ID not available, email already in use, or password doesn't meet the minimum security requirements |
@ -39,7 +39,7 @@ Registers the user, and issues an access token for future requests.
### 200
| Name | Type | Description |
| ------------ | ------ | --------------------------------------------------------------------------- |
|--------------|--------|-----------------------------------------------------------------------------|
| access_token | string | **Required**: The access token that will be used for further authentication |
| user_id | string | **Required**: The full gorb ID for the account |
| expires_in | int | How many seconds until the token expires and is invalidated |
@ -58,7 +58,7 @@ Registers the user, and issues an access token for future requests.
### 403
| Name | Type | Description |
| --------------------------- | ---- | ------------------------------------------------------------------------------ |
|-----------------------------|------|--------------------------------------------------------------------------------|
| signups_enabled | bool | Does the server have signups enabled? |
| gorb_id_valid | bool | Is the given gorb ID even valid? |
| gorb_id_available | bool | Is the given gorb ID available? |