Table of Contents

Class DnnRouteRegistration

Namespace
ToSic.Sxc.Dnn.WebApi.Routing.Sys
Assembly
ToSic.Sxc.Dnn.WebApi.dll

Register all the WebApi routes served by 2sxc. Will be run by Dnn because it implements DotNetNuke.Web.Api.IServiceRouteMapper.

[InternalApi_DoNotUse_MayChangeWithoutNotice("only made public for docs")]
public class DnnRouteRegistration
Inheritance
object
DnnRouteRegistration

Remarks

Routes:

  • starting with eav means it's a rather low-level admin function, always needs an AppId
    • eav
    • eav-*
  • starting with app means that it's an app-specific action, more for the JS developers working with content
    • app-content will do basic content-actions like get one, edit, update, delete
    • app-query will try to request a query
    • app-api will call custom c# web-apis of a specific app