#26 api route for xml changed

This commit is contained in:
Hamid Reza Mohammadi 2020-11-04 17:46:58 +03:30
parent 3a521a782a
commit c99f8d464a
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ namespace RMuseum.Controllers
/// </remarks>
/// <param name="id"></param>
/// <returns></returns>
[HttpGet("file/{id}.xml")]
[HttpGet("xml/{id}")]
[AllowAnonymous]
[ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(string))]
[ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))]

View File

@ -648,7 +648,7 @@
</member>
<member name="M:RMuseum.Controllers.AudioNarrationController.GetXMLFile(System.Int32)">
<summary>
get the corresponding xml file for the narration
get the corresponding xml file contemnts (xml) for the narration
</summary>
<remarks>
it could be protected (Authorized), but I guess I would have problems with available client components support,