mirror of
https://github.com/tribufu/ServerManagers
synced 2026-05-06 15:17:34 +00:00
Fixed call home endpoint name
This commit is contained in:
parent
cc95409722
commit
93d273c133
2 changed files with 4 additions and 4 deletions
|
|
@ -22,11 +22,11 @@ namespace ServerManager.WebApplication.Controllers
|
|||
|
||||
// GET: api/plugin/call/00000000-0000-0000-0000-000000000000/192.168.1.1
|
||||
[HttpGet()]
|
||||
[Route("call/{pluginCode}/{ipString}", Name = "Call_V1")]
|
||||
[Route("call/{pluginCode}/{ipString}", Name = "PluginCall_V1")]
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public ActionResult<bool> Call_V1([FromRoute] string pluginCode, [FromRoute] string ipString)
|
||||
public ActionResult<bool> PluginCall_V1([FromRoute] string pluginCode, [FromRoute] string ipString)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
|
|
@ -29,11 +29,11 @@ namespace ServerManager.WebApplication.Controllers
|
|||
|
||||
// GET: api/server/call/00000000-0000-0000-0000-000000000000/192.168.1.1
|
||||
[HttpGet()]
|
||||
[Route("call/{managerCode}/{ipString}", Name = "Call_V1")]
|
||||
[Route("call/{managerCode}/{ipString}", Name = "ServerCall_V1")]
|
||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
||||
public ActionResult<bool> Call_V1([FromRoute] string managerCode, [FromRoute] string ipString)
|
||||
public ActionResult<bool> ServerCall_V1([FromRoute] string managerCode, [FromRoute] string ipString)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue