Skip to content

Commit 7f23dbe

Browse files
rename http/index.md to "Authorization" #235 (#308)
1 parent bf86c34 commit 7f23dbe

File tree

5 files changed

+14
-14
lines changed

5 files changed

+14
-14
lines changed
File renamed without changes.

docs/http/database.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Accessible through the CLI as `spacetime publish`.
3030

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

3535
#### Data
3636

@@ -63,7 +63,7 @@ Accessible through the CLI as `spacetime publish`.
6363

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

6868
#### Data
6969

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

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

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

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

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

152152
#### Data
153153

@@ -180,7 +180,7 @@ Set the list of names for this database.
180180

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

185185
#### Data
186186

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

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

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

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

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

254254
#### Data
255255

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

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

414414
#### Returns
415415

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

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

430430
#### Data
431431

docs/http/identity.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Generate a short-lived access token which can be used in untrusted contexts, e.g
3535

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

4040
#### Returns
4141

@@ -77,7 +77,7 @@ Associate an email with a Spacetime identity.
7777

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

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

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

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

120120
#### Returns
121121

docs/nav.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const nav = {
4444
section('How To'),
4545
page('Incremental Migrations', 'how-to/incremental-migrations', 'how-to/incremental-migrations.md'),
4646
section('HTTP API'),
47-
page('HTTP', 'http', 'http/index.md'),
47+
page('Authorization', 'http/authorization', 'http/authorization.md'),
4848
page('`/identity`', 'http/identity', 'http/identity.md'),
4949
page('`/database`', 'http/database', 'http/database.md'),
5050
section('Internals'),

nav.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ const nav: Nav = {
9797
page('Incremental Migrations', 'how-to/incremental-migrations', 'how-to/incremental-migrations.md'),
9898

9999
section('HTTP API'),
100-
page('HTTP', 'http', 'http/index.md'),
100+
page('Authorization', 'http/authorization', 'http/authorization.md'),
101101
page('`/identity`', 'http/identity', 'http/identity.md'),
102102
page('`/database`', 'http/database', 'http/database.md'),
103103

0 commit comments

Comments
 (0)