@oasisomniverse/web5-api 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. package/README.md +250 -0
  2. package/docs/README.md +44 -0
  3. package/docs/modules/Avatar.md +606 -0
  4. package/docs/modules/CelestialBodies.md +1051 -0
  5. package/docs/modules/CelestialBodiesMetaData.md +949 -0
  6. package/docs/modules/CelestialSpaces.md +1051 -0
  7. package/docs/modules/Chapters.md +955 -0
  8. package/docs/modules/Competition.md +594 -0
  9. package/docs/modules/Cosmic.md +3653 -0
  10. package/docs/modules/Games.md +2619 -0
  11. package/docs/modules/GeoHotSpots.md +1027 -0
  12. package/docs/modules/GeoNFTs.md +1049 -0
  13. package/docs/modules/Health.md +90 -0
  14. package/docs/modules/Holons.md +1139 -0
  15. package/docs/modules/HolonsMetaData.md +949 -0
  16. package/docs/modules/InventoryItems.md +1071 -0
  17. package/docs/modules/Libraries.md +1052 -0
  18. package/docs/modules/Missions.md +1286 -0
  19. package/docs/modules/NFTs.md +1008 -0
  20. package/docs/modules/OAPPs.md +1190 -0
  21. package/docs/modules/Parks.md +1079 -0
  22. package/docs/modules/Plugins.md +1138 -0
  23. package/docs/modules/Quests.md +1941 -0
  24. package/docs/modules/Runtimes.md +1112 -0
  25. package/docs/modules/STAR.md +178 -0
  26. package/docs/modules/Templates.md +990 -0
  27. package/docs/modules/Zomes.md +1049 -0
  28. package/docs/modules/ZomesMetaData.md +949 -0
  29. package/index.d.ts +97 -0
  30. package/index.js +3 -0
  31. package/index.mjs +4 -0
  32. package/package.json +117 -0
  33. package/src/core/httpClient.js +110 -0
  34. package/src/core/routeHelper.js +85 -0
  35. package/src/core/tokenStore.js +52 -0
  36. package/src/core/types.d.ts +18 -0
  37. package/src/index.js +60 -0
  38. package/src/modules/Auth.d.ts +15 -0
  39. package/src/modules/Auth.js +62 -0
  40. package/src/modules/Avatar.d.ts +45 -0
  41. package/src/modules/Avatar.js +47 -0
  42. package/src/modules/CelestialBodies.d.ts +72 -0
  43. package/src/modules/CelestialBodies.js +65 -0
  44. package/src/modules/CelestialBodiesMetaData.d.ts +69 -0
  45. package/src/modules/CelestialBodiesMetaData.js +61 -0
  46. package/src/modules/CelestialSpaces.d.ts +72 -0
  47. package/src/modules/CelestialSpaces.js +65 -0
  48. package/src/modules/Chapters.d.ts +66 -0
  49. package/src/modules/Chapters.js +61 -0
  50. package/src/modules/Competition.d.ts +33 -0
  51. package/src/modules/Competition.js +39 -0
  52. package/src/modules/Cosmic.d.ts +222 -0
  53. package/src/modules/Cosmic.js +165 -0
  54. package/src/modules/Games.d.ts +171 -0
  55. package/src/modules/Games.js +131 -0
  56. package/src/modules/GeoHotSpots.d.ts +66 -0
  57. package/src/modules/GeoHotSpots.js +61 -0
  58. package/src/modules/GeoNFTs.d.ts +72 -0
  59. package/src/modules/GeoNFTs.js +65 -0
  60. package/src/modules/Health.d.ts +12 -0
  61. package/src/modules/Health.js +25 -0
  62. package/src/modules/Holons.d.ts +78 -0
  63. package/src/modules/Holons.js +69 -0
  64. package/src/modules/HolonsMetaData.d.ts +69 -0
  65. package/src/modules/HolonsMetaData.js +61 -0
  66. package/src/modules/InventoryItems.d.ts +69 -0
  67. package/src/modules/InventoryItems.js +63 -0
  68. package/src/modules/Libraries.d.ts +72 -0
  69. package/src/modules/Libraries.js +65 -0
  70. package/src/modules/Missions.d.ts +87 -0
  71. package/src/modules/Missions.js +75 -0
  72. package/src/modules/NFTs.d.ts +69 -0
  73. package/src/modules/NFTs.js +63 -0
  74. package/src/modules/OAPPs.d.ts +69 -0
  75. package/src/modules/OAPPs.js +61 -0
  76. package/src/modules/Parks.d.ts +72 -0
  77. package/src/modules/Parks.js +65 -0
  78. package/src/modules/Plugins.d.ts +78 -0
  79. package/src/modules/Plugins.js +69 -0
  80. package/src/modules/Quests.d.ts +129 -0
  81. package/src/modules/Quests.js +101 -0
  82. package/src/modules/Runtimes.d.ts +81 -0
  83. package/src/modules/Runtimes.js +69 -0
  84. package/src/modules/STAR.d.ts +18 -0
  85. package/src/modules/STAR.js +29 -0
  86. package/src/modules/Templates.d.ts +72 -0
  87. package/src/modules/Templates.js +63 -0
  88. package/src/modules/Zomes.d.ts +72 -0
  89. package/src/modules/Zomes.js +65 -0
  90. package/src/modules/ZomesMetaData.d.ts +69 -0
  91. package/src/modules/ZomesMetaData.js +61 -0
  92. package/src/modules/index.js +67 -0
@@ -0,0 +1,1049 @@
1
+ # Zomes — `star.zomes`
2
+
3
+ Source controller: [`ZomesController.cs`](https://github.com/NextGenSoftwareUK/OASIS2/blob/main/STAR%20ODK/NextGenSoftware.OASIS.STAR.WebAPI/Controllers/ZomesController.cs)
4
+ Route prefix: `api/zomes`
5
+ 22 operation(s).
6
+
7
+ Every method takes a single args object: any key matching a `{token}` in the route is substituted into the URL; everything else becomes the query string (GET/DELETE) or JSON body (POST/PUT). Every call resolves to the standard OASIS envelope:
8
+
9
+ ```ts
10
+ {
11
+ isError: boolean;
12
+ isWarning: boolean;
13
+ message: string;
14
+ errorCode?: string;
15
+ result: T; // see each endpoint's Response section below
16
+ }
17
+ ```
18
+
19
+ ## Operations
20
+
21
+ ### `activateZome`
22
+
23
+ Activates a zome.
24
+
25
+ **POST** `api/zomes/{id}/activate`
26
+
27
+ Route parameters:
28
+
29
+ | Field | Type |
30
+ | --- | --- |
31
+ | `id` | `Guid` |
32
+
33
+ **Request**
34
+
35
+ Body fields:
36
+
37
+ | Field | Type |
38
+ | --- | --- |
39
+ | `version` | `int (optional)` |
40
+
41
+ **Response**
42
+
43
+ Standard `OASISResult` envelope (see top of this page) with:
44
+
45
+ `result` type: `IActionResult` (not part of the request/response payload).
46
+
47
+ **Example**
48
+
49
+ ```js
50
+ const { isError, message, result } = await star.zomes.activateZome({
51
+ id: '<id>',
52
+ version: 1
53
+ });
54
+ if (isError) throw new Error(message);
55
+ console.log(result);
56
+ ```
57
+
58
+ Example response:
59
+
60
+ ```json
61
+ {
62
+ "isError": false,
63
+ "message": "",
64
+ "result": null
65
+ }
66
+ ```
67
+
68
+ ---
69
+
70
+ ### `createZome`
71
+
72
+ Creates a new zome for the authenticated avatar.
73
+
74
+ **POST** `api/zomes`
75
+
76
+ **Request**
77
+
78
+ Body type: `STARZome`
79
+
80
+ | Field | Type |
81
+ | --- | --- |
82
+ | `ZomeType` | `ZomeType` |
83
+ | `Zome` | `IZome` |
84
+ | `ZomeId` | `Guid` |
85
+
86
+ **Response**
87
+
88
+ Standard `OASISResult` envelope (see top of this page) with:
89
+
90
+ `result` type: `IActionResult` (not part of the request/response payload).
91
+
92
+ **Example**
93
+
94
+ ```js
95
+ const { isError, message, result } = await star.zomes.createZome({
96
+ zomeType: { },
97
+ zome: { "HoloNETClient": { "WebSocket": /* <WebSocket.WebSocket> */, "Logger": /* <ILogger> */, "HolochainVersion": { } }, "ZomeName": "example string", "Holons": [{ "GlobalHolonData": { }, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "ProviderMetaData": { "<ProviderType>": { "<string>": "example string" } }, "CustomKey": "example string", "IsNewHolon": true, "IsSaving": true, "PreviousVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "PreviousVersionProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "CreatedProviderType": { "Score": 1.0 }, "InstanceSavedOnProviderType": {}, "CreatedOASISType": { "Score": 1.0 }, "Nodes": [{ "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Parent": { "CreatedOASISType": {}, "CreatedProviderType": {}, "GlobalHolonData": {}, "InstanceSavedOnProviderType": {}, "IsChanged": true, "IsNewHolon": true, "IsSaving": true, "Original": {}, "PreviousVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "PreviousVersionProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "ProviderMetaData": { "<ProviderType>": { "<string>": "example string" } }, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "Nodes": [], "ParentOmniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentOmniverse": { "GreatGrandSuperStar": { }, "Dimensions": { "EighthDimension": { }, "NinthDimension": { }, "TenthDimension": { }, "EleventhDimension": { }, "TwelfthDimension": { }, "CustomDimensions": [{ "DimensionLevel": { } }] }, "Multiverses": [{ "GrandSuperStar": { "Stars": [ /* <I> */ ] }, "Dimensions": { "FirstDimension": { "Universe": { "Dimensions": [], "GalaxyClusters": [{ "Galaxies": [{ "SuperStar": { "Stars": [{ "Luminosity": 1, "StarType": { }, "StarClassification": { }, "StarBinaryType": { } }] }, "SolarSystems": [{ "Star": {}, "Planets": [{ "Moons": [{ }] }], "Asteroids": [{ }], "Comets": [{ }], "Meteroids": [{ }] }], "Nebulas": [{ }], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [] }], "SolarSystems": [], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [], "IsSuperCluster": true }], "SolarSystems": [], "Nebulas": [], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [] } }, "SecondDimension": { "Universe": {} }, "ThirdDimension": { "UniversePrime": {}, "MagicVerse": {}, "ParallelUniverses": [] }, "FourthDimension": { "Universe": {} }, "FifthDimension": { "Universe": {} }, "SixthDimension": { "Universe": {} }, "SeventhDimension": { "Universe": {} }, "CustomDimensions": [] } }] }, "ParentMultiverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMultiverse": {}, "ParentUniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentUniverse": {}, "ParentDimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentDimension": {}, "DimensionLevel": {}, "SubDimensionLevel": { }, "ParentGalaxyClusterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxyCluster": {}, "ParentGalaxyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxy": {}, "ParentSolarSystemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSolarSystem": {}, "ParentGreatGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGreatGrandSuperStar": {}, "ParentGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGrandSuperStar": {}, "ParentSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSuperStar": {}, "ParentStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentStar": {}, "ParentPlanetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentPlanet": {}, "ParentMoonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMoon": {}, "ParentCelestialSpaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialSpace": { "NearestStar": {}, "CelestialBodies": /* <ReadOnlyCollection<ICelestialBody>> */, "CelestialSpaces": /* <ReadOnlyCollection<ICelestialSpace>> */, "Children": /* <new ReadOnlyCollection<IHolon>> */ }, "ParentCelestialBodyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialBody": { "CelestialBodyCore": { "Holons": [], "Zomes": [] }, "CurrentOrbitAngleOfParentStar": 1, "Density": 1, "DistanceFromParentStarInMetres": 1, "GravitaionalPull": 1, "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Mass": 1, "NumberActiveAvatars": 1, "NumberRegisteredAvatars": 1, "OrbitPeriod": 1, "OrbitPositionFromParentStar": 1, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "RotationPeriod": 1, "RotationSpeed": 1, "TiltAngle": 1, "Weight": 1 }, "ParentZomeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentZome": {} }, "NodeName": "example string", "NodeType": { } }], "ParentOmniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentOmniverse": {}, "ParentMultiverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMultiverse": {}, "ParentUniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentUniverse": {}, "ParentDimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentDimension": {}, "DimensionLevel": {}, "SubDimensionLevel": {}, "ParentGalaxyClusterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxyCluster": {}, "ParentGalaxyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxy": {}, "ParentSolarSystemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSolarSystem": {}, "ParentGreatGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGreatGrandSuperStar": {}, "ParentGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGrandSuperStar": {}, "ParentSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSuperStar": {}, "ParentStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentStar": {}, "ParentPlanetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentPlanet": {}, "ParentMoonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMoon": {}, "ParentCelestialSpaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialSpace": {}, "ParentCelestialBodyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialBody": {}, "ParentZomeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentZome": {} }] },
98
+ zomeId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
99
+ });
100
+ if (isError) throw new Error(message);
101
+ console.log(result);
102
+ ```
103
+
104
+ Example response:
105
+
106
+ ```json
107
+ {
108
+ "isError": false,
109
+ "message": "",
110
+ "result": null
111
+ }
112
+ ```
113
+
114
+ ---
115
+
116
+ ### `createZomeWithOptions`
117
+
118
+ Creates a new zome with specified parameters.
119
+
120
+ **POST** `api/zomes/create`
121
+
122
+ **Request**
123
+
124
+ Body type: `CreateZomeRequest`
125
+
126
+ | Field | Type |
127
+ | --- | --- |
128
+ | `Name` | `string` |
129
+ | `Description` | `string` |
130
+ | `HolonSubType` | `HolonType` |
131
+ | `SourceFolderPath` | `string` |
132
+ | `CreateOptions` | `ISTARNETCreateOptions<STARZome, STARNETDNA>` |
133
+
134
+ **Response**
135
+
136
+ Standard `OASISResult` envelope (see top of this page) with:
137
+
138
+ `result` type: `IActionResult` (not part of the request/response payload).
139
+
140
+ **Example**
141
+
142
+ ```js
143
+ const { isError, message, result } = await star.zomes.createZomeWithOptions({
144
+ name: "example string",
145
+ description: "example string",
146
+ holonSubType: { },
147
+ sourceFolderPath: "example string",
148
+ createOptions: { "STARNETHolon": /* <T1> */, "STARNETDNA": /* <T2> */, "MetaTagMappings": { "MetaHolonTags": [{ "HolonName": "example string", "HolonType": { }, "NodeName": "example string", "NodeType": { "Score": 1.0 }, "MetaTag": "example string" }], "MetaTags": { "<string>": "example string" } }, "CheckIfSourcePathExists": true, "CustomCreateParams": { "<string>": {} } }
149
+ });
150
+ if (isError) throw new Error(message);
151
+ console.log(result);
152
+ ```
153
+
154
+ Example response:
155
+
156
+ ```json
157
+ {
158
+ "isError": false,
159
+ "message": "",
160
+ "result": null
161
+ }
162
+ ```
163
+
164
+ ---
165
+
166
+ ### `deactivateZome`
167
+
168
+ Deactivates a zome.
169
+
170
+ **POST** `api/zomes/{id}/deactivate`
171
+
172
+ Route parameters:
173
+
174
+ | Field | Type |
175
+ | --- | --- |
176
+ | `id` | `Guid` |
177
+
178
+ **Request**
179
+
180
+ Body fields:
181
+
182
+ | Field | Type |
183
+ | --- | --- |
184
+ | `version` | `int (optional)` |
185
+
186
+ **Response**
187
+
188
+ Standard `OASISResult` envelope (see top of this page) with:
189
+
190
+ `result` type: `IActionResult` (not part of the request/response payload).
191
+
192
+ **Example**
193
+
194
+ ```js
195
+ const { isError, message, result } = await star.zomes.deactivateZome({
196
+ id: '<id>',
197
+ version: 1
198
+ });
199
+ if (isError) throw new Error(message);
200
+ console.log(result);
201
+ ```
202
+
203
+ Example response:
204
+
205
+ ```json
206
+ {
207
+ "isError": false,
208
+ "message": "",
209
+ "result": null
210
+ }
211
+ ```
212
+
213
+ ---
214
+
215
+ ### `deleteZome`
216
+
217
+ **DELETE** `api/zomes/{id}`
218
+
219
+ Route parameters:
220
+
221
+ | Field | Type |
222
+ | --- | --- |
223
+ | `id` | `Guid` |
224
+
225
+ **Request**
226
+
227
+ No request body.
228
+
229
+ **Response**
230
+
231
+ Standard `OASISResult` envelope (see top of this page) with:
232
+
233
+ `result` type: `IActionResult` (not part of the request/response payload).
234
+
235
+ **Example**
236
+
237
+ ```js
238
+ const { isError, message, result } = await star.zomes.deleteZome({
239
+ id: '<id>'
240
+ });
241
+ if (isError) throw new Error(message);
242
+ console.log(result);
243
+ ```
244
+
245
+ Example response:
246
+
247
+ ```json
248
+ {
249
+ "isError": false,
250
+ "message": "",
251
+ "result": null
252
+ }
253
+ ```
254
+
255
+ ---
256
+
257
+ ### `downloadZome`
258
+
259
+ Downloads a zome from the STARNET system.
260
+
261
+ **POST** `api/zomes/{id}/download`
262
+
263
+ Route parameters:
264
+
265
+ | Field | Type |
266
+ | --- | --- |
267
+ | `id` | `Guid` |
268
+
269
+ **Request**
270
+
271
+ Body fields:
272
+
273
+ | Field | Type |
274
+ | --- | --- |
275
+ | `version` | `int (optional)` |
276
+ | `downloadPath` | `string (optional)` |
277
+ | `reInstall` | `bool (optional)` |
278
+
279
+ **Response**
280
+
281
+ Standard `OASISResult` envelope (see top of this page) with:
282
+
283
+ `result` type: `IActionResult` (not part of the request/response payload).
284
+
285
+ **Example**
286
+
287
+ ```js
288
+ const { isError, message, result } = await star.zomes.downloadZome({
289
+ id: '<id>',
290
+ version: 1,
291
+ downloadPath: 'example string',
292
+ reInstall: true
293
+ });
294
+ if (isError) throw new Error(message);
295
+ console.log(result);
296
+ ```
297
+
298
+ Example response:
299
+
300
+ ```json
301
+ {
302
+ "isError": false,
303
+ "message": "",
304
+ "result": null
305
+ }
306
+ ```
307
+
308
+ ---
309
+
310
+ ### `editZome`
311
+
312
+ Edits a zome with new DNA configuration.
313
+
314
+ **POST** `api/zomes/{id}/edit`
315
+
316
+ Route parameters:
317
+
318
+ | Field | Type |
319
+ | --- | --- |
320
+ | `id` | `Guid` |
321
+
322
+ **Request**
323
+
324
+ Body type: `EditZomeRequest`
325
+
326
+ | Field | Type |
327
+ | --- | --- |
328
+ | `NewDNA` | `STARNETDNA` |
329
+
330
+ **Response**
331
+
332
+ Standard `OASISResult` envelope (see top of this page) with:
333
+
334
+ `result` type: `IActionResult` (not part of the request/response payload).
335
+
336
+ **Example**
337
+
338
+ ```js
339
+ const { isError, message, result } = await star.zomes.editZome({
340
+ id: '<id>',
341
+ newDNA: { "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Name": "example string", "Description": "example string", "STARNETHolonType": "example string", "STARNETCategory": {}, "STARNETSubCategory": {}, "Dependencies": { "OAPPs": [{ "Type": { }, "HolonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "STARNETHolonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Name": "example string", "Description": "example string", "Version": "example string", "VersionSequence": 1, "Install": true, "InstallMode": { }, "InstalledFrom": "example string", "InstalledTo": "example string" }], "Runtimes": [], "Libraries": [], "Templates": [], "NFTs": [], "NFTCollections": [], "GeoNFTs": [], "GeoNFTCollections": [], "GeoHotSpots": [], "Quests": [], "Missions": [], "Chapters": [], "InventoryItems": [], "CelestialSpaces": [], "CelestialBodies": [], "Zomes": [], "Holons": [], "CelestialBodiesMetaDataDNA": [], "ZomesMetaDataDNA": [], "HolonsMetaDataDNA": [] }, "MetaData": { "<string>": {} }, "MetaHolonTagMappings": /* <>> */, "MetaTagMappings": { "<string>": "example string" }, "CreatedByAvatarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "CreatedByAvatarUsername": "example string", "CreatedOn": "2026-01-01T00:00:00Z", "SourcePath": "example string", "PublishedPath": "example string", "PublishedByAvatarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "PublishedByAvatarUsername": "example string", "PublishedOn": "2026-01-01T00:00:00Z", "LaunchTarget": "example string", "ModifiedByAvatarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ModifiedByAvatarUsername": "example string", "ModifiedOn": "2026-01-01T00:00:00Z", "PublishedOnSTARNET": true, "PublishedToCloud": true, "PublishedToPinata": true, "PinataIPFSHash": "example string", "PublishedProviderType": "example string", "FileSize": 1, "Version": "example string", "OASISRuntimeVersion": "example string", "OASISAPIVersion": "example string", "COSMICVersion": "example string", "STARRuntimeVersion": "example string", "STARODKVersion": "example string", "STARAPIVersion": "example string", "STARNETVersion": "example string", "DotNetVersion": "example string", "VersionSequence": 1, "Downloads": 1, "Installs": 1, "TotalDownloads": 1, "TotalInstalls": 1, "NumberOfVersions": 1 }
342
+ });
343
+ if (isError) throw new Error(message);
344
+ console.log(result);
345
+ ```
346
+
347
+ Example response:
348
+
349
+ ```json
350
+ {
351
+ "isError": false,
352
+ "message": "",
353
+ "result": null
354
+ }
355
+ ```
356
+
357
+ ---
358
+
359
+ ### `getAllZomes`
360
+
361
+ Retrieves all zomes in the system.
362
+
363
+ **GET** `api/zomes`
364
+
365
+ **Request**
366
+
367
+ No request body.
368
+
369
+ **Response**
370
+
371
+ Standard `OASISResult` envelope (see top of this page) with:
372
+
373
+ `result` type: `IActionResult` (not part of the request/response payload).
374
+
375
+ **Example**
376
+
377
+ ```js
378
+ const { isError, message, result } = await star.zomes.getAllZomes({});
379
+ if (isError) throw new Error(message);
380
+ console.log(result);
381
+ ```
382
+
383
+ Example response:
384
+
385
+ ```json
386
+ {
387
+ "isError": false,
388
+ "message": "",
389
+ "result": null
390
+ }
391
+ ```
392
+
393
+ ---
394
+
395
+ ### `getZome`
396
+
397
+ Retrieves a specific zome by its unique identifier.
398
+
399
+ **GET** `api/zomes/{id}`
400
+
401
+ Route parameters:
402
+
403
+ | Field | Type |
404
+ | --- | --- |
405
+ | `id` | `Guid` |
406
+
407
+ **Request**
408
+
409
+ No request body.
410
+
411
+ **Response**
412
+
413
+ Standard `OASISResult` envelope (see top of this page) with:
414
+
415
+ `result` type: `IActionResult` (not part of the request/response payload).
416
+
417
+ **Example**
418
+
419
+ ```js
420
+ const { isError, message, result } = await star.zomes.getZome({
421
+ id: '<id>'
422
+ });
423
+ if (isError) throw new Error(message);
424
+ console.log(result);
425
+ ```
426
+
427
+ Example response:
428
+
429
+ ```json
430
+ {
431
+ "isError": false,
432
+ "message": "",
433
+ "result": null
434
+ }
435
+ ```
436
+
437
+ ---
438
+
439
+ ### `getZomeVersions`
440
+
441
+ Gets all versions of a specific zome.
442
+
443
+ **GET** `api/zomes/{id}/versions`
444
+
445
+ Route parameters:
446
+
447
+ | Field | Type |
448
+ | --- | --- |
449
+ | `id` | `Guid` |
450
+
451
+ **Request**
452
+
453
+ No request body.
454
+
455
+ **Response**
456
+
457
+ Standard `OASISResult` envelope (see top of this page) with:
458
+
459
+ `result` type: `IActionResult` (not part of the request/response payload).
460
+
461
+ **Example**
462
+
463
+ ```js
464
+ const { isError, message, result } = await star.zomes.getZomeVersions({
465
+ id: '<id>'
466
+ });
467
+ if (isError) throw new Error(message);
468
+ console.log(result);
469
+ ```
470
+
471
+ Example response:
472
+
473
+ ```json
474
+ {
475
+ "isError": false,
476
+ "message": "",
477
+ "result": null
478
+ }
479
+ ```
480
+
481
+ ---
482
+
483
+ ### `getZomesByType`
484
+
485
+ **GET** `api/zomes/by-type/{type}`
486
+
487
+ Route parameters:
488
+
489
+ | Field | Type |
490
+ | --- | --- |
491
+ | `type` | `string` |
492
+
493
+ **Request**
494
+
495
+ No request body.
496
+
497
+ **Response**
498
+
499
+ Standard `OASISResult` envelope (see top of this page) with:
500
+
501
+ `result` type: `IActionResult` (not part of the request/response payload).
502
+
503
+ **Example**
504
+
505
+ ```js
506
+ const { isError, message, result } = await star.zomes.getZomesByType({
507
+ type: '<type>'
508
+ });
509
+ if (isError) throw new Error(message);
510
+ console.log(result);
511
+ ```
512
+
513
+ Example response:
514
+
515
+ ```json
516
+ {
517
+ "isError": false,
518
+ "message": "",
519
+ "result": null
520
+ }
521
+ ```
522
+
523
+ ---
524
+
525
+ ### `getZomesInSpace`
526
+
527
+ **GET** `api/zomes/in-space/{spaceId}`
528
+
529
+ Route parameters:
530
+
531
+ | Field | Type |
532
+ | --- | --- |
533
+ | `spaceId` | `Guid` |
534
+
535
+ **Request**
536
+
537
+ No request body.
538
+
539
+ **Response**
540
+
541
+ Standard `OASISResult` envelope (see top of this page) with:
542
+
543
+ `result` type: `IActionResult` (not part of the request/response payload).
544
+
545
+ **Example**
546
+
547
+ ```js
548
+ const { isError, message, result } = await star.zomes.getZomesInSpace({
549
+ spaceId: '<spaceId>'
550
+ });
551
+ if (isError) throw new Error(message);
552
+ console.log(result);
553
+ ```
554
+
555
+ Example response:
556
+
557
+ ```json
558
+ {
559
+ "isError": false,
560
+ "message": "",
561
+ "result": null
562
+ }
563
+ ```
564
+
565
+ ---
566
+
567
+ ### `loadAllZomesForAvatar`
568
+
569
+ Loads all zomes for the authenticated avatar.
570
+
571
+ **GET** `api/zomes/load-all-for-avatar`
572
+
573
+ **Request**
574
+
575
+ Query parameters:
576
+
577
+ | Field | Type |
578
+ | --- | --- |
579
+ | `showAllVersions` | `bool (optional)` |
580
+ | `version` | `int (optional)` |
581
+
582
+ **Response**
583
+
584
+ Standard `OASISResult` envelope (see top of this page) with:
585
+
586
+ `result` type: `IActionResult` (not part of the request/response payload).
587
+
588
+ **Example**
589
+
590
+ ```js
591
+ const { isError, message, result } = await star.zomes.loadAllZomesForAvatar({
592
+ showAllVersions: true,
593
+ version: 1
594
+ });
595
+ if (isError) throw new Error(message);
596
+ console.log(result);
597
+ ```
598
+
599
+ Example response:
600
+
601
+ ```json
602
+ {
603
+ "isError": false,
604
+ "message": "",
605
+ "result": null
606
+ }
607
+ ```
608
+
609
+ ---
610
+
611
+ ### `loadZome`
612
+
613
+ Loads a zome by ID with optional version and holon type.
614
+
615
+ **GET** `api/zomes/{id}/load`
616
+
617
+ Route parameters:
618
+
619
+ | Field | Type |
620
+ | --- | --- |
621
+ | `id` | `Guid` |
622
+
623
+ **Request**
624
+
625
+ Query parameters:
626
+
627
+ | Field | Type |
628
+ | --- | --- |
629
+ | `version` | `int (optional)` |
630
+ | `holonType` | `string (optional)` |
631
+
632
+ **Response**
633
+
634
+ Standard `OASISResult` envelope (see top of this page) with:
635
+
636
+ `result` type: `IActionResult` (not part of the request/response payload).
637
+
638
+ **Example**
639
+
640
+ ```js
641
+ const { isError, message, result } = await star.zomes.loadZome({
642
+ id: '<id>',
643
+ version: 1,
644
+ holonType: 'example string'
645
+ });
646
+ if (isError) throw new Error(message);
647
+ console.log(result);
648
+ ```
649
+
650
+ Example response:
651
+
652
+ ```json
653
+ {
654
+ "isError": false,
655
+ "message": "",
656
+ "result": null
657
+ }
658
+ ```
659
+
660
+ ---
661
+
662
+ ### `loadZomeFromPath`
663
+
664
+ Loads a zome from source or installed folder path.
665
+
666
+ **GET** `api/zomes/load-from-path`
667
+
668
+ **Request**
669
+
670
+ Query parameters:
671
+
672
+ | Field | Type |
673
+ | --- | --- |
674
+ | `path` | `string` |
675
+ | `holonType` | `string (optional)` |
676
+
677
+ **Response**
678
+
679
+ Standard `OASISResult` envelope (see top of this page) with:
680
+
681
+ `result` type: `IActionResult` (not part of the request/response payload).
682
+
683
+ **Example**
684
+
685
+ ```js
686
+ const { isError, message, result } = await star.zomes.loadZomeFromPath({
687
+ path: 'example string',
688
+ holonType: 'example string'
689
+ });
690
+ if (isError) throw new Error(message);
691
+ console.log(result);
692
+ ```
693
+
694
+ Example response:
695
+
696
+ ```json
697
+ {
698
+ "isError": false,
699
+ "message": "",
700
+ "result": null
701
+ }
702
+ ```
703
+
704
+ ---
705
+
706
+ ### `loadZomeFromPublished`
707
+
708
+ Loads a zome from a published file.
709
+
710
+ **GET** `api/zomes/load-from-published`
711
+
712
+ **Request**
713
+
714
+ Query parameters:
715
+
716
+ | Field | Type |
717
+ | --- | --- |
718
+ | `publishedFilePath` | `string` |
719
+
720
+ **Response**
721
+
722
+ Standard `OASISResult` envelope (see top of this page) with:
723
+
724
+ `result` type: `IActionResult` (not part of the request/response payload).
725
+
726
+ **Example**
727
+
728
+ ```js
729
+ const { isError, message, result } = await star.zomes.loadZomeFromPublished({
730
+ publishedFilePath: 'example string'
731
+ });
732
+ if (isError) throw new Error(message);
733
+ console.log(result);
734
+ ```
735
+
736
+ Example response:
737
+
738
+ ```json
739
+ {
740
+ "isError": false,
741
+ "message": "",
742
+ "result": null
743
+ }
744
+ ```
745
+
746
+ ---
747
+
748
+ ### `loadZomeVersion`
749
+
750
+ Loads a specific version of a zome.
751
+
752
+ **GET** `api/zomes/{id}/version/{version}`
753
+
754
+ Route parameters:
755
+
756
+ | Field | Type |
757
+ | --- | --- |
758
+ | `id` | `Guid` |
759
+ | `version` | `string` |
760
+
761
+ **Request**
762
+
763
+ No request body.
764
+
765
+ **Response**
766
+
767
+ Standard `OASISResult` envelope (see top of this page) with:
768
+
769
+ `result` type: `IActionResult` (not part of the request/response payload).
770
+
771
+ **Example**
772
+
773
+ ```js
774
+ const { isError, message, result } = await star.zomes.loadZomeVersion({
775
+ id: '<id>',
776
+ version: '<version>'
777
+ });
778
+ if (isError) throw new Error(message);
779
+ console.log(result);
780
+ ```
781
+
782
+ Example response:
783
+
784
+ ```json
785
+ {
786
+ "isError": false,
787
+ "message": "",
788
+ "result": null
789
+ }
790
+ ```
791
+
792
+ ---
793
+
794
+ ### `publishZome`
795
+
796
+ Publishes a zome to the STARNET system.
797
+
798
+ **POST** `api/zomes/{id}/publish`
799
+
800
+ Route parameters:
801
+
802
+ | Field | Type |
803
+ | --- | --- |
804
+ | `id` | `Guid` |
805
+
806
+ **Request**
807
+
808
+ Body type: `PublishRequest`
809
+
810
+ | Field | Type |
811
+ | --- | --- |
812
+ | `SourcePath` | `string` |
813
+ | `LaunchTarget` | `string` |
814
+ | `PublishPath` | `string` |
815
+ | `Edit` | `bool` |
816
+ | `RegisterOnSTARNET` | `bool` |
817
+ | `GenerateBinary` | `bool` |
818
+ | `UploadToCloud` | `bool` |
819
+
820
+ **Response**
821
+
822
+ Standard `OASISResult` envelope (see top of this page) with:
823
+
824
+ `result` type: `IActionResult` (not part of the request/response payload).
825
+
826
+ **Example**
827
+
828
+ ```js
829
+ const { isError, message, result } = await star.zomes.publishZome({
830
+ id: '<id>',
831
+ sourcePath: "example string",
832
+ launchTarget: "example string",
833
+ publishPath: "example string",
834
+ edit: true,
835
+ registerOnSTARNET: true,
836
+ generateBinary: true,
837
+ uploadToCloud: true
838
+ });
839
+ if (isError) throw new Error(message);
840
+ console.log(result);
841
+ ```
842
+
843
+ Example response:
844
+
845
+ ```json
846
+ {
847
+ "isError": false,
848
+ "message": "",
849
+ "result": null
850
+ }
851
+ ```
852
+
853
+ ---
854
+
855
+ ### `republishZome`
856
+
857
+ Republishes a zome to the STARNET system.
858
+
859
+ **POST** `api/zomes/{id}/republish`
860
+
861
+ Route parameters:
862
+
863
+ | Field | Type |
864
+ | --- | --- |
865
+ | `id` | `Guid` |
866
+
867
+ **Request**
868
+
869
+ Body fields:
870
+
871
+ | Field | Type |
872
+ | --- | --- |
873
+ | `version` | `int (optional)` |
874
+
875
+ **Response**
876
+
877
+ Standard `OASISResult` envelope (see top of this page) with:
878
+
879
+ `result` type: `IActionResult` (not part of the request/response payload).
880
+
881
+ **Example**
882
+
883
+ ```js
884
+ const { isError, message, result } = await star.zomes.republishZome({
885
+ id: '<id>',
886
+ version: 1
887
+ });
888
+ if (isError) throw new Error(message);
889
+ console.log(result);
890
+ ```
891
+
892
+ Example response:
893
+
894
+ ```json
895
+ {
896
+ "isError": false,
897
+ "message": "",
898
+ "result": null
899
+ }
900
+ ```
901
+
902
+ ---
903
+
904
+ ### `searchZomes`
905
+
906
+ Searches for zomes by name or description.
907
+
908
+ **GET** `api/zomes/search`
909
+
910
+ **Request**
911
+
912
+ Query parameters:
913
+
914
+ | Field | Type |
915
+ | --- | --- |
916
+ | `searchTerm` | `string` |
917
+ | `searchOnlyForCurrentAvatar` | `bool (optional)` |
918
+ | `showAllVersions` | `bool (optional)` |
919
+ | `version` | `int (optional)` |
920
+
921
+ **Response**
922
+
923
+ Standard `OASISResult` envelope (see top of this page) with:
924
+
925
+ `result` type: `IActionResult` (not part of the request/response payload).
926
+
927
+ **Example**
928
+
929
+ ```js
930
+ const { isError, message, result } = await star.zomes.searchZomes({
931
+ searchTerm: 'example string',
932
+ searchOnlyForCurrentAvatar: true,
933
+ showAllVersions: true,
934
+ version: 1
935
+ });
936
+ if (isError) throw new Error(message);
937
+ console.log(result);
938
+ ```
939
+
940
+ Example response:
941
+
942
+ ```json
943
+ {
944
+ "isError": false,
945
+ "message": "",
946
+ "result": null
947
+ }
948
+ ```
949
+
950
+ ---
951
+
952
+ ### `unpublishZome`
953
+
954
+ Unpublishes a zome from the STARNET system.
955
+
956
+ **POST** `api/zomes/{id}/unpublish`
957
+
958
+ Route parameters:
959
+
960
+ | Field | Type |
961
+ | --- | --- |
962
+ | `id` | `Guid` |
963
+
964
+ **Request**
965
+
966
+ Body fields:
967
+
968
+ | Field | Type |
969
+ | --- | --- |
970
+ | `version` | `int (optional)` |
971
+
972
+ **Response**
973
+
974
+ Standard `OASISResult` envelope (see top of this page) with:
975
+
976
+ `result` type: `IActionResult` (not part of the request/response payload).
977
+
978
+ **Example**
979
+
980
+ ```js
981
+ const { isError, message, result } = await star.zomes.unpublishZome({
982
+ id: '<id>',
983
+ version: 1
984
+ });
985
+ if (isError) throw new Error(message);
986
+ console.log(result);
987
+ ```
988
+
989
+ Example response:
990
+
991
+ ```json
992
+ {
993
+ "isError": false,
994
+ "message": "",
995
+ "result": null
996
+ }
997
+ ```
998
+
999
+ ---
1000
+
1001
+ ### `updateZome`
1002
+
1003
+ **PUT** `api/zomes/{id}`
1004
+
1005
+ Route parameters:
1006
+
1007
+ | Field | Type |
1008
+ | --- | --- |
1009
+ | `id` | `Guid` |
1010
+
1011
+ **Request**
1012
+
1013
+ Body type: `STARZome`
1014
+
1015
+ | Field | Type |
1016
+ | --- | --- |
1017
+ | `ZomeType` | `ZomeType` |
1018
+ | `Zome` | `IZome` |
1019
+ | `ZomeId` | `Guid` |
1020
+
1021
+ **Response**
1022
+
1023
+ Standard `OASISResult` envelope (see top of this page) with:
1024
+
1025
+ `result` type: `IActionResult` (not part of the request/response payload).
1026
+
1027
+ **Example**
1028
+
1029
+ ```js
1030
+ const { isError, message, result } = await star.zomes.updateZome({
1031
+ id: '<id>',
1032
+ zomeType: { },
1033
+ zome: { "HoloNETClient": { "WebSocket": /* <WebSocket.WebSocket> */, "Logger": /* <ILogger> */, "HolochainVersion": { } }, "ZomeName": "example string", "Holons": [{ "GlobalHolonData": { }, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "ProviderMetaData": { "<ProviderType>": { "<string>": "example string" } }, "CustomKey": "example string", "IsNewHolon": true, "IsSaving": true, "PreviousVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "PreviousVersionProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "CreatedProviderType": { "Score": 1.0 }, "InstanceSavedOnProviderType": {}, "CreatedOASISType": { "Score": 1.0 }, "Nodes": [{ "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Parent": { "CreatedOASISType": {}, "CreatedProviderType": {}, "GlobalHolonData": {}, "InstanceSavedOnProviderType": {}, "IsChanged": true, "IsNewHolon": true, "IsSaving": true, "Original": {}, "PreviousVersionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "PreviousVersionProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "ProviderMetaData": { "<ProviderType>": { "<string>": "example string" } }, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "Nodes": [], "ParentOmniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentOmniverse": { "GreatGrandSuperStar": { }, "Dimensions": { "EighthDimension": { }, "NinthDimension": { }, "TenthDimension": { }, "EleventhDimension": { }, "TwelfthDimension": { }, "CustomDimensions": [{ "DimensionLevel": { } }] }, "Multiverses": [{ "GrandSuperStar": { "Stars": [ /* <I> */ ] }, "Dimensions": { "FirstDimension": { "Universe": { "Dimensions": [], "GalaxyClusters": [{ "Galaxies": [{ "SuperStar": { "Stars": [{ "Luminosity": 1, "StarType": { }, "StarClassification": { }, "StarBinaryType": { } }] }, "SolarSystems": [{ "Star": {}, "Planets": [{ "Moons": [{ }] }], "Asteroids": [{ }], "Comets": [{ }], "Meteroids": [{ }] }], "Nebulas": [{ }], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [] }], "SolarSystems": [], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [], "IsSuperCluster": true }], "SolarSystems": [], "Nebulas": [], "Stars": [], "Planets": [], "Asteroids": [], "Comets": [], "Meteroids": [] } }, "SecondDimension": { "Universe": {} }, "ThirdDimension": { "UniversePrime": {}, "MagicVerse": {}, "ParallelUniverses": [] }, "FourthDimension": { "Universe": {} }, "FifthDimension": { "Universe": {} }, "SixthDimension": { "Universe": {} }, "SeventhDimension": { "Universe": {} }, "CustomDimensions": [] } }] }, "ParentMultiverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMultiverse": {}, "ParentUniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentUniverse": {}, "ParentDimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentDimension": {}, "DimensionLevel": {}, "SubDimensionLevel": { }, "ParentGalaxyClusterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxyCluster": {}, "ParentGalaxyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxy": {}, "ParentSolarSystemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSolarSystem": {}, "ParentGreatGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGreatGrandSuperStar": {}, "ParentGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGrandSuperStar": {}, "ParentSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSuperStar": {}, "ParentStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentStar": {}, "ParentPlanetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentPlanet": {}, "ParentMoonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMoon": {}, "ParentCelestialSpaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialSpace": { "NearestStar": {}, "CelestialBodies": /* <ReadOnlyCollection<ICelestialBody>> */, "CelestialSpaces": /* <ReadOnlyCollection<ICelestialSpace>> */, "Children": /* <new ReadOnlyCollection<IHolon>> */ }, "ParentCelestialBodyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialBody": { "CelestialBodyCore": { "Holons": [], "Zomes": [] }, "CurrentOrbitAngleOfParentStar": 1, "Density": 1, "DistanceFromParentStarInMetres": 1, "GravitaionalPull": 1, "Id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "Mass": 1, "NumberActiveAvatars": 1, "NumberRegisteredAvatars": 1, "OrbitPeriod": 1, "OrbitPositionFromParentStar": 1, "ProviderUniqueStorageKey": { "<ProviderType>": "example string" }, "RotationPeriod": 1, "RotationSpeed": 1, "TiltAngle": 1, "Weight": 1 }, "ParentZomeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentZome": {} }, "NodeName": "example string", "NodeType": { } }], "ParentOmniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentOmniverse": {}, "ParentMultiverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMultiverse": {}, "ParentUniverseId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentUniverse": {}, "ParentDimensionId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentDimension": {}, "DimensionLevel": {}, "SubDimensionLevel": {}, "ParentGalaxyClusterId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxyCluster": {}, "ParentGalaxyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGalaxy": {}, "ParentSolarSystemId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSolarSystem": {}, "ParentGreatGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGreatGrandSuperStar": {}, "ParentGrandSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentGrandSuperStar": {}, "ParentSuperStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentSuperStar": {}, "ParentStarId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentStar": {}, "ParentPlanetId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentPlanet": {}, "ParentMoonId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentMoon": {}, "ParentCelestialSpaceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialSpace": {}, "ParentCelestialBodyId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentCelestialBody": {}, "ParentZomeId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "ParentZome": {} }] },
1034
+ zomeId: "3fa85f64-5717-4562-b3fc-2c963f66afa6"
1035
+ });
1036
+ if (isError) throw new Error(message);
1037
+ console.log(result);
1038
+ ```
1039
+
1040
+ Example response:
1041
+
1042
+ ```json
1043
+ {
1044
+ "isError": false,
1045
+ "message": "",
1046
+ "result": null
1047
+ }
1048
+ ```
1049
+