Graph API archive response for repeated sub-section only adds m_def to first item
I request a section that happens to have a repeated sub section in it. I use a request like this:
{
m_request: {
directive: 'plain',
include_definition: 'both',
},
m_def: {
m_request: {
directive: 'plain',
}
}
}
The result is an object with an m_def
and all properties, including my repeated sub-section. The repeated sub-section contains also all the sections, but on only the first of them has an m_def
. I expect that they are all treated the same and that all of them have the respective m_def
.
This is what i get as a response:
{
"m_def": {
"m_def": "metainfo/nomad_plugin_gui.schema_packages.exercise_schema/section_definitions/1"
},
"student_name": "Markus Scheidgen",
"student_id": "151715",
"notes": "...",
"measurements": [
{
"m_def": {
"m_def": "metainfo/nomad_plugin_gui.schema_packages.exercise_schema/section_definitions/0"
},
"voltage": 0.5,
"current": 1.2
},
{
"voltage": 1.0,
"current": 2.12
},
{
"voltage": 3.0,
"current": 3.04
},
{
"voltage": 4.0,
"current": 4.01
},
{
"voltage": 5.0,
"current": 4.99
}
]
}
Edited by Markus Scheidgen