Table of Contents

Class FilesController

Namespace
EchoHub.Server.Controllers
Assembly
EchoHub.Server.dll
[ApiController]
[Route("api/files")]
[Authorize]
[EnableRateLimiting("general")]
public class FilesController : ControllerBase
Inheritance
ControllerBase
FilesController
Inherited Members

Constructors

FilesController(FileStorageService)

public FilesController(FileStorageService fileStorage)

Parameters

fileStorage FileStorageService

Methods

GetFile(string)

[HttpGet("{fileId}")]
public IActionResult GetFile(string fileId)

Parameters

fileId string

Returns

IActionResult