The API in the official documents can not be found in the GitHub code

I’m using the latest master version of the code.I started the “Gui” and “useradm” servers normally, but there were some errors in the GUI, Errors in the chrome console,such as:

Failed to load resource: the server responded with a status of 404 (Not Found) /api/management/v1/useradm/roles
/api/management/v2/inventory/filters

Please help me.Thanks.

Hi @ruanhailiang welcome to Mender Hub.

It’s entirely possible that the master branch is in flux and will have issues. Is there a reason you are not using one of the released versions?

@tranchitella @merlin any thoughts?

Drew

hello and thanks for using Mender.

could I ask for a screenshot from the webconsole and for copy-paste of the exact requests and responses that are failing?
also docker ps output would be helpful.

peter

@ruanhailiang roles and saved filters are Enterprise-only features, not available in the open source version. The UI, which is the same for both versions, tries to fetch those resources and this is the reason you see 404 replies from the back-end. If the API end-points are not available, the UI degrades automatically and hides those features.