Table of Contents

Class SystemController

Namespace
Oqtane.Controllers
Assembly
Oqtane.Server.dll
[Route("api/[controller]")]
public class SystemController : Controller
Inheritance
object
ControllerBase
Controller
SystemController

Constructors

SystemController(IWebHostEnvironment, IConfigManager)

public SystemController(IWebHostEnvironment environment, IConfigManager configManager)

Parameters

environment IWebHostEnvironment
configManager IConfigManager

Methods

Get()

[HttpGet("icons")]
public Dictionary<string, string> Get()

Returns

Dictionary<string, string>

Get(string)

[HttpGet]
[Authorize(Roles = "Host Users")]
public Dictionary<string, object> Get(string type)

Parameters

type string

Returns

Dictionary<string, object>

Get(string, object)

[HttpGet("{key}/{value}")]
[Authorize(Roles = "Host Users")]
public object Get(string key, object value)

Parameters

key string
value object

Returns

object

Post(Dictionary<string, object>)

[HttpPost]
[Authorize(Roles = "Host Users")]
public void Post(Dictionary<string, object> settings)

Parameters

settings Dictionary<string, object>