View Source
Class MacrosController
The API controller used for editing dictionary items
Inheritance
System.Object
Assembly: Umbraco.Web.dll
Syntax
[PluginController("UmbracoApi")]
public class MacrosController : BackOfficeNotificationsController, IDiscoverable
Constructors
View Source
MacrosController(IGlobalSettings, IUmbracoContextAccessor, ISqlContext, ServiceContext, AppCaches, IProfilingLogger, IRuntimeState, UmbracoHelper)
Declaration
public MacrosController(IGlobalSettings globalSettings, IUmbracoContextAccessor umbracoContextAccessor, ISqlContext sqlContext, ServiceContext services, AppCaches appCaches, IProfilingLogger logger, IRuntimeState runtimeState, UmbracoHelper umbracoHelper)
Parameters
Methods
View Source
Create(String)
Declaration
public HttpResponseMessage Create(string name)
Parameters
Type |
Name |
Description |
System.String |
name |
The name.
|
Returns
Type |
Description |
HttpResponseMessage |
The .
|
View Source
DeleteById(Int32)
Declaration
public HttpResponseMessage DeleteById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetById(Guid)
Declaration
public HttpResponseMessage GetById(Guid id)
Parameters
Type |
Name |
Description |
System.Guid |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetById(Int32)
Declaration
public HttpResponseMessage GetById(int id)
Parameters
Type |
Name |
Description |
System.Int32 |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetById(Udi)
Declaration
public HttpResponseMessage GetById(Udi id)
Parameters
Type |
Name |
Description |
Udi |
id |
|
Returns
Type |
Description |
HttpResponseMessage |
|
View Source
GetGroupedParameterEditors()
Gets the available parameter editors grouped by their group.
Declaration
public HttpResponseMessage GetGroupedParameterEditors()
Returns
Type |
Description |
HttpResponseMessage |
The .
|
View Source
GetParameterEditorByAlias(String)
Get parameter editor by alias.
Declaration
public HttpResponseMessage GetParameterEditorByAlias(string alias)
Parameters
Type |
Name |
Description |
System.String |
alias |
|
Returns
Type |
Description |
HttpResponseMessage |
The .
|
View Source
GetParameterEditors()
Gets the available parameter editors
Declaration
public HttpResponseMessage GetParameterEditors()
Returns
Type |
Description |
HttpResponseMessage |
The .
|
View Source
GetPartialViews()
Gets a list of available macro partials
Declaration
public HttpResponseMessage GetPartialViews()
Returns
Type |
Description |
HttpResponseMessage |
The .
|
View Source
Save(MacroDisplay)
Declaration
public HttpResponseMessage Save(MacroDisplay macroDisplay)
Parameters
Returns
Type |
Description |
HttpResponseMessage |
|