Skip to content

Commit 7cd55a0

Browse files
authored
Update response of /database/info (#64)
To match changes in #1305
1 parent c86e3da commit 7cd55a0

File tree

1 file changed

+9
-11
lines changed

1 file changed

+9
-11
lines changed

docs/docs/http/database.md

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -507,20 +507,18 @@ Returns JSON in the form:
507507
```typescript
508508
{
509509
"address": string,
510-
"identity": string,
511-
"host_type": "wasmer",
512-
"num_replicas": number,
513-
"program_bytes_address": string
510+
"owner_identity": string,
511+
"host_type": "wasm",
512+
"initial_program": string
514513
}
515514
```
516515

517-
| Field | Type | Meaning |
518-
| ------------------------- | ------ | ----------------------------------------------------------- |
519-
| `"address"` | String | The address of the database. |
520-
| `"identity"` | String | The Spacetime identity of the database's owner. |
521-
| `"host_type"` | String | The module host type; currently always `"wasmer"`. |
522-
| `"num_replicas"` | Number | The number of replicas of the database. Currently always 1. |
523-
| `"program_bytes_address"` | String | Hash of the WASM module for the database. |
516+
| Field | Type | Meaning |
517+
| --------------------| ------ | ---------------------------------------------------------------- |
518+
| `"address"` | String | The address of the database. |
519+
| `"owner_identity"` | String | The Spacetime identity of the database's owner. |
520+
| `"host_type"` | String | The module host type; currently always `"wasm"`. |
521+
| `"initial_program"` | String | Hash of the WASM module with which the database was initialized. |
524522

525523
## `/database/logs/:name_or_address GET`
526524

0 commit comments

Comments
 (0)