Class DocsProjectController
Implements
Inherited Members
Namespace: Volo.Docs.Projects
Assembly: Volo.Docs.HttpApi.dll
Syntax
[RemoteService(true, Name = "AbpDocs")]
[Area("docs")]
[Route("api/docs/projects")]
public class DocsProjectController : AbpControllerBase, IAvoidDuplicateCrossCuttingConcerns, IProjectAppService, IApplicationService, IRemoteService
Constructors
DocsProjectController(IProjectAppService)
Declaration
public DocsProjectController(IProjectAppService projectAppService)
Parameters
Type | Name | Description |
---|---|---|
IProjectAppService | projectAppService |
Properties
ProjectAppService
Declaration
protected IProjectAppService ProjectAppService { get; }
Property Value
Type | Description |
---|---|
IProjectAppService |
Methods
GetAsync(string)
Declaration
[HttpGet]
[Route("{shortName}")]
public virtual Task<ProjectDto> GetAsync(string shortName)
Parameters
Type | Name | Description |
---|---|---|
string | shortName |
Returns
Type | Description |
---|---|
Task<ProjectDto> |
GetDefaultLanguageCodeAsync(string, string)
Declaration
[HttpGet]
[Route("{shortName}/defaultLanguage")]
public Task<string> GetDefaultLanguageCodeAsync(string shortName, string version)
Parameters
Type | Name | Description |
---|---|---|
string | shortName | |
string | version |
Returns
Type | Description |
---|---|
Task<string> |
GetLanguageListAsync(string, string)
Declaration
[HttpGet]
[Route("{shortName}/{version}/languageList")]
public Task<LanguageConfig> GetLanguageListAsync(string shortName, string version)
Parameters
Type | Name | Description |
---|---|---|
string | shortName | |
string | version |
Returns
Type | Description |
---|---|
Task<LanguageConfig> |
GetListAsync()
Declaration
[HttpGet]
[Route("")]
public virtual Task<ListResultDto<ProjectDto>> GetListAsync()
Returns
Type | Description |
---|---|
Task<ListResultDto<ProjectDto>> |
GetVersionsAsync(string)
Declaration
[HttpGet]
[Route("{shortName}/versions")]
public virtual Task<ListResultDto<VersionInfoDto>> GetVersionsAsync(string shortName)
Parameters
Type | Name | Description |
---|---|---|
string | shortName |
Returns
Type | Description |
---|---|
Task<ListResultDto<VersionInfoDto>> |