data/views/redfish-1.0/redfish.1.0.0.logservicecollection.json
{
"@odata.context" : "<%= basepath %>/$metadata#LogServiceCollection.LogServiceCollection",
"@odata.id": "<%= url %>",
"@odata.type": "#LogServiceCollection.LogServiceCollection",
"Oem" : {},
"Name": "Log Service Collection",
"Members@odata.count": <%= logSource.length %>,
"Members": [
<% logSource.forEach(function(type, i, arr) { %>
{
"@odata.id": "<%= basepath %>/Systems/<%=identifier%>/LogServices/<%=type%>"
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
]
}