| HTTP Method | Route | Action Name | Parameters | Return Type |
|---|---|---|---|---|
| GET |
api/article/{articleId}/gallery
|
GetArticleImages |
articleId
(Query)
|
Task<ActionResult<IEnumerable<ArticleImageDto>>>
|
| POST |
api/article/{articleId}/gallery
|
CreateArticleImage |
articleId
(Query)
dto
(Body)
|
Task<ActionResult<ArticleImageDto>>
|
| DELETE |
api/article/{id}
|
Delete |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/article/{id}
|
GetById |
id
(Query)
|
Task<ActionResult<ArticleDto>>
|
| PUT |
api/article/{id}
|
Update |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/article/{id}/images
|
GetWithImages |
id
(Query)
|
Task<ActionResult<ArticleWithImagesDto>>
|
| POST |
api/article/Create
|
Create |
dto
(Body)
|
Task<ActionResult<ArticleDto>>
|
| DELETE |
api/article/gallery/{id}
|
DeleteArticleImage |
id
(Query)
|
Task<ActionResult>
|
| GET |
api/article/gallery/{id}
|
GetArticleImageById |
id
(Query)
|
Task<ActionResult<ArticleImageDto>>
|
| PUT |
api/article/gallery/{id}
|
UpdateArticleImage |
id
(Query)
dto
(Body)
|
Task<ActionResult>
|
| GET |
api/article/GetAll
|
GetAll | None |
Task<ActionResult<IEnumerable<ArticleDto>>>
|
| GET |
api/article/type/{articleTypeId}
|
GetByType |
articleTypeId
(Query)
|
Task<ActionResult<IEnumerable<ArticleDto>>>
|
| GET |
api/article/valid
|
GetValid | None |
Task<ActionResult<IEnumerable<ArticleDto>>>
|
| GET |
api/article/with-images
|
GetAllWithImages | None |
Task<ActionResult<IEnumerable<ArticleWithImagesDto>>>
|
JS_Loading