From c99f8d464a1ba2e2264bdb59d91937d09ec67a55 Mon Sep 17 00:00:00 2001 From: Hamid Reza Mohammadi Date: Wed, 4 Nov 2020 17:46:58 +0330 Subject: [PATCH] #26 api route for xml changed --- RMuseum/Controllers/AudioNarrationController.cs | 2 +- RMuseum/RMuseum.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/RMuseum/Controllers/AudioNarrationController.cs b/RMuseum/Controllers/AudioNarrationController.cs index a39b3c5b..1c7d31cc 100644 --- a/RMuseum/Controllers/AudioNarrationController.cs +++ b/RMuseum/Controllers/AudioNarrationController.cs @@ -115,7 +115,7 @@ namespace RMuseum.Controllers /// /// /// - [HttpGet("file/{id}.xml")] + [HttpGet("xml/{id}")] [AllowAnonymous] [ProducesResponseType((int)HttpStatusCode.OK, Type = typeof(string))] [ProducesResponseType((int)HttpStatusCode.BadRequest, Type = typeof(string))] diff --git a/RMuseum/RMuseum.xml b/RMuseum/RMuseum.xml index 144f8a89..8b56059e 100644 --- a/RMuseum/RMuseum.xml +++ b/RMuseum/RMuseum.xml @@ -648,7 +648,7 @@ - get the corresponding xml file for the narration + get the corresponding xml file contemnts (xml) for the narration it could be protected (Authorized), but I guess I would have problems with available client components support,