Links

Project

Any experience is called a "project" in the GMetri SDK.
The field you are most interested in is the "json" field, which is an object of type RecordNode<RT.project>
Changes to the project body (project.json) can be sent in via the updateJSON API which takes in the whole json at once or the applyJSONPatches which allows you send in an array of diffs.
In case you send patches, they need to be an array of type "JSON patches" https://immerjs.github.io/immer/patches/
  • id: Unique id for every project
  • uuid: Unique string identifier for every project (UUID format)
  • name: Name of the project (has to be unique for per workspace for every project)
  • thumbnail: The thumbnail URL
  • created_at: Create at timestamp
  • modified_at: Modified at timestamp
  • organization_id: Unique id of the organization this project belongs to
  • json: the body of the project. Of type RecordNode<RT.project>
post
https://api.gmetri.com/sdk
/project/create
Create Project
post
https://api.gmetri.com/sdk
/project/get
Get Project
post
https://api.gmetri.com/sdk
/project/getAll
Get All Project
post
https://api.gmetri.com/sdk
/project/update
Update Project
post
https://api.gmetri.com/sdk
/project/delete
Delete Project
post
https://api.gmetri.com/sdk
/project/getJSON
Get Project JSON
post
https://api.gmetri.com/sdk
/project/updateJSON
Update JSON
post
https://api.gmetri.com/sdk
/project/applyJSONPatches
Apply JSON Patches
post
https://api.gmetri.com/sdk
/project/duplicate
Duplicate Project