docs: update design notes

This commit is contained in:
Jeremy Wall 2025-03-30 15:11:26 -04:00
parent 275590709a
commit 943bff4b3d

View File

@ -21,11 +21,20 @@ Resource reference paths are rooted at `/api/v1/ref/<path>`.
```json
{
"objectId": <content-hash>,
"objectId": <merkle-hash>,
"content_address": <content-hash>,
"path": "/path/name0",
"dependents": [
{ "path": "path/name1", "objectId": <content-hash>, content: <payload> },
{ "path": "path/name2", "objectId": <content-hash>, content: <payload> }
{
"path": "path/name1",
"content_address": <content-hash>,
"objectId": <merkle-hash>, content: <payload>
},
{
"path": "path/name2",
"content_address": <content-hash>,
"objectId": <merkle-hash>, content: <payload>
}
],
}
```
@ -49,17 +58,25 @@ content key.
```json
{
"objectId": <content-hash>,
"objectId": <merkle-hash>,
"path": "/path/name0",
"dependents": [
{
"objectId": <content-hash>,
"objectId": <merkle-hash>,
"path": "path/name1",
"content": {
"objectId": <content-hash>,
"objectId": <merkle-hash>,
"dependents": [
{ "path": "path/name1", "objectId": <content-hash>, content: <payload> },
{ "path": "path/name2", "objectId": <content-hash>, content: <payload> }
{
"path": "path/name1",
"content_address": <content-hash>,
"objectId": <merkle-hash>, content: <payload>
},
{
"path": "path/name2",
"content_address": <content-hash>,
"objectId": <merkle-hash>, content: <payload>
}
],
}
}