Skip to content

rename http/index.md to "Authorization" #235 #308

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
18 changes: 9 additions & 9 deletions docs/http/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Accessible through the CLI as `spacetime publish`.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down Expand Up @@ -63,7 +63,7 @@ Accessible through the CLI as `spacetime publish`.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down Expand Up @@ -123,7 +123,7 @@ Accessible through the CLI as `spacetime delete <identity>`.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

## `GET /v1/database/:name_or_identity/names`

Expand All @@ -147,7 +147,7 @@ Add a new name for this database.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down Expand Up @@ -180,7 +180,7 @@ Set the list of names for this database.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down Expand Up @@ -233,7 +233,7 @@ The SpacetimeDB text WebSocket protocol, `v1.json.spacetimedb`, encodes messages

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

## `POST /v1/database/:name_or_identity/call/:reducer`

Expand All @@ -249,7 +249,7 @@ Invoke a reducer in a database.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down Expand Up @@ -409,7 +409,7 @@ Accessible through the CLI as `spacetime logs <name_or_identity>`.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Returns

Expand All @@ -425,7 +425,7 @@ Accessible through the CLI as `spacetime sql <name_or_identity> <query>`.

| Name | Value |
| --------------- | --------------------------------------------------------------------- |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http#authorization-headers). |
| `Authorization` | A Spacetime token [as Bearer auth](/docs/http/authorization#authorization-headers). |

#### Data

Expand Down
6 changes: 3 additions & 3 deletions docs/http/identity.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Generate a short-lived access token which can be used in untrusted contexts, e.g

| Name | Value |
| --------------- | --------------------------------------------------------------- |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http). |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http/authorization). |

#### Returns

Expand Down Expand Up @@ -77,7 +77,7 @@ Associate an email with a Spacetime identity.

| Name | Value |
| --------------- | --------------------------------------------------------------- |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http). |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http/authorization). |

## `GET /v1/identity/:identity/databases`

Expand Down Expand Up @@ -115,7 +115,7 @@ Verify the validity of an identity/token pair.

| Name | Value |
| --------------- | --------------------------------------------------------------- |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http). |
| `Authorization` | A Spacetime token [encoded as Basic authorization](/docs/http/authorization). |

#### Returns

Expand Down
2 changes: 1 addition & 1 deletion docs/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const nav = {
section('How To'),
page('Incremental Migrations', 'how-to/incremental-migrations', 'how-to/incremental-migrations.md'),
section('HTTP API'),
page('HTTP', 'http', 'http/index.md'),
page('Authorization', 'http/authorization', 'http/authorization.md'),
page('`/identity`', 'http/identity', 'http/identity.md'),
page('`/database`', 'http/database', 'http/database.md'),
section('Internals'),
Expand Down
2 changes: 1 addition & 1 deletion nav.ts
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ const nav: Nav = {
page('Incremental Migrations', 'how-to/incremental-migrations', 'how-to/incremental-migrations.md'),

section('HTTP API'),
page('HTTP', 'http', 'http/index.md'),
page('Authorization', 'http/authorization', 'http/authorization.md'),
page('`/identity`', 'http/identity', 'http/identity.md'),
page('`/database`', 'http/database', 'http/database.md'),

Expand Down