I have a requirement where I am using Miro to create a Mind map. I want to extract the Json from this Mind Map and use the information in that Json to trigger further steps. I am fetching the JSON on my board via REST api.
The problem I see is that the hierarchy which I created in the Mind map on my Miro board is not maintained in the fetched Json (through REST Api).
All the nodes are given individually. There is a property of “parent” with links but looks like that it is representing a root parent and not the immediate parent of that particular node.
I need to derive relationship between a Node and its immediate parent Node and Child Nodes through this JSON.
Q1. How can I do this ? Am i missing something in generated JSON which helps to get information of the immediate parent and child nodes of a particular node ?
Q2. Is there a support of the Gantt Chart in Miro ?
Q3. Also, is there a way to get all the information of a MindMap rather than requesting again and again for 50 nodes ?
As you can see, the parent property refers to an immediate parent of a particular node.
Below let me answer on your questions one by one:
Q1. How can I do this ? Am i missing something in generated JSON which helps to get information of the immediate parent and child nodes of a particular node ?
The method must return an ID of the immediate parent, which doesn’t work in your case. It looks like a bug for me and I’ll be happy to report it to the responsible team, but I need more context to reproduce it. It would be very helpful if you can prepare an example which I can reproduce and attach to the bug report.
Q2. Is there a support of the Gantt Chart in Miro ?
Unfortunately, we don’t have Gantt Chart as a separate primitive on a board, so we don’t API for it. However, we offer Gantt chart as a template built from primitives like rectangles. You can explore Miro template for a suitable Gantt chart template https://miro.com/templates/gantt-chart/.
Q3. Also, is there a way to get all the information of a MindMap rather than requesting again and again for 50 nodes ?
No, there is no way to request all nodes in one request. Allowing it might create huge workload on our servers and network. So that’s why we stick with pagination approach.
Hope this helps. Please let me know if you would like to proceed with the bug report regarding the wrong parent property value.
Thanks for replying. Appreciate it.
Taking this image as an example, which is part of my actual mind map.
Here, the node “Start of Round 1” should be a child of “End of Day 2” according to what you said.
If this looks fine, then a bug needs to be raised for the same, as you mentioned before.
If that is the case, could you please help me with that, how and by when this bug will be created and how much time does it take for a bug to get resolved.
This is important for us to make a decision on using Miro. Hence asking.
Thanks in advance.
Awaiting your response.
Hey @AdityaMiroAether,
Sorry! It seems this thread has been lost in our internal communication. I will ping a team member that also knows about this endpoint and pick up this conversation.
Cheers, Mettin
Hey @AdityaMiroAether,
I got a response from the team and they have some follow-up questions: