Skip to content

Enhancement: Show full response of spo navigation node list #4415

@milanholemans

Description

@milanholemans

Currently we do not return the full response of command spo navigation node list

Current code:

const res = await odata.getAllItems<NavigationNode>(`${args.options.webUrl}/_api/web/navigation/${args.options.location.toLowerCase()}`);
logger.log(res.map(n => {
return {
Id: n.Id,
Title: n.Title,
Url: n.Url
};
}));

Let's:

  • Return the whole API result
  • Update response in the docs

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions