2025-03-27 Graph Use Case/CreateNode: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
| Line 3: | Line 3: | ||
== Using Case == | == Using Case == | ||
=== CreateNode with identifiers === | === CreateNode with identifiers === | ||
* Example param | |||
<syntaxhighlight lang="javascript"> | |||
</syntaxhighlight> | |||
=== CreateNode with versionedData === | === CreateNode with versionedData === | ||
* Example param | |||
<syntaxhighlight lang="javascript"> | |||
</syntaxhighlight> | |||
=== CreateNode with belongTo === | === CreateNode with belongTo === | ||
* Params like create basicNode & versionedData but in objectSchema optional has belongTo If in objectSchema have belongTo will create query and return dataStructure of belongTo | |||
* Must send : x-correlation-base-user-id : xxxx AND x-correlation-target-id : yyyy ( identifiers of that node) | |||
=== CreateNode with extendObjtype === | |||
* create objectSchema that have objectType for create main node eg. objectType: objectA then upload To S3 | |||
* create objectSchemathat have extendObjtype for existParentNode eg. objectType: objectB then upload To S3 | |||
* Send parameter with identifiers’s objectType of extendObjtype for create Node | |||
=== CreateNode with targetNode === | === CreateNode with targetNode === | ||
* Example param | |||
<syntaxhighlight lang="javascript"> | |||
</syntaxhighlight> | |||
[[Category:Working documents| 2025-03-27]] | [[Category:Working documents| 2025-03-27]] | ||
Revision as of 09:04, 21 April 2025
CreateNode Function
Overview
Using Case
CreateNode with identifiers
- Example param
CreateNode with versionedData
- Example param
CreateNode with belongTo
- Params like create basicNode & versionedData but in objectSchema optional has belongTo If in objectSchema have belongTo will create query and return dataStructure of belongTo
- Must send : x-correlation-base-user-id : xxxx AND x-correlation-target-id : yyyy ( identifiers of that node)
CreateNode with extendObjtype
- create objectSchema that have objectType for create main node eg. objectType: objectA then upload To S3
- create objectSchemathat have extendObjtype for existParentNode eg. objectType: objectB then upload To S3
- Send parameter with identifiers’s objectType of extendObjtype for create Node
CreateNode with targetNode
- Example param