data/views/redfish-1.0/redfish.1.0.0.rolecollection.json
{
"@odata.context" : "<%= basepath %>/$metadata#RoleCollection.RoleCollection",
"@odata.type": "#RoleCollection.RoleCollection",
"Oem": {},
"Members@odata.navigationLink": {
"@odata.id": "<%= basepath %>/AccountService/Roles"
},
"Members@odata.count": <%= (roles.length) %>,
"Members":[
<% roles.forEach(function(role, i, arr) { %>
{
"@odata.id": "<%= basepath %>/AccountService/Roles/<%= roles[i] %>"
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
],
"Name": "RoleCollection",
"Description": "RoleCollection"
}