-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect reference for Creating a backoffice API #6728
Comments
Thanks for raising this @russellshome ! 🙌 Much appreciated! I'll make sure we get this verified so we can update the documentation accordingly! |
Hi @russellshome ! The changes you're suggestions are indeed correct, and our docs should be updated. |
For Umbraco 14+ I think the following should be replaced Umbraco.Cms.Web.BackOffice.Controllers.ManagementApiControllerBase => Umbraco.Cms.Api.Management.Controllers.ManagementApiControllerBase
Done #6758 |
Just a suggestion about the "Edit on GitHub" link on the right of the article. It is dark grey on black rendering it almost invisible to me. This is also a problem for code in the articles. I end up having to highlight the content to get white on dark blue so I can read it comfortably. You can use https://webaim.org/resources/contrastchecker/ to work out a better colour combination that makes the content easier to read. (ie. passes WCAG AAA) |
Thanks for the suggestions @russellshome ! I'll make sure we look into this in the new year. |
What type of issue is it? (Choose one - delete the others)
Wrong documentation
What article/section is this about?
https://docs.umbraco.com/umbraco-cms/14.latest/tutorials/creating-a-backoffice-api
https://docs.umbraco.com/umbraco-cms/tutorials/creating-a-backoffice-api
Describe the issue
The documentation says
To create a custom API, you need to create a class that inherits from Umbraco.Cms.Web.BackOffice.Controllers.ManagementApiControllerBase
But Umbraco.Cms.Web.BackOffice no longer exists in Umbraco 14+
For Umbraco 14+ I think the following should be replaced
Umbraco.Cms.Web.BackOffice.Controllers.ManagementApiControllerBase
=>
Umbraco.Cms.Api.Management.Controllers.ManagementApiControllerBase
The text was updated successfully, but these errors were encountered: