From ef60b8d32abf7c8613749766155d80139e33b9d1 Mon Sep 17 00:00:00 2001 From: Jesse Plamondon-Willard Date: Fri, 22 Sep 2017 01:23:27 -0400 Subject: add version number to route for future use (#336) --- src/StardewModdingAPI.Web/Controllers/ModsController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/StardewModdingAPI.Web/Controllers') diff --git a/src/StardewModdingAPI.Web/Controllers/ModsController.cs b/src/StardewModdingAPI.Web/Controllers/ModsController.cs index bbf1744f..c7b2aba7 100644 --- a/src/StardewModdingAPI.Web/Controllers/ModsController.cs +++ b/src/StardewModdingAPI.Web/Controllers/ModsController.cs @@ -9,6 +9,7 @@ using StardewModdingAPI.Web.Models; namespace StardewModdingAPI.Web.Controllers { /// Provides an API to perform mod update checks. + [Route("v1.0/mods")] [Produces("application/json")] public class ModsController : Controller { @@ -30,7 +31,6 @@ namespace StardewModdingAPI.Web.Controllers /// Fetch version metadata for the given mods. /// The mod update search criteria. [HttpPost] - [Route("mods")] public async Task Post([FromBody] ModSearchModel search) { IList result = new List(); -- cgit