mirror of
https://github.com/tribufu/ServerManagers
synced 2026-06-01 09:42:39 +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
|
// GET: api/plugin/call/00000000-0000-0000-0000-000000000000/192.168.1.1
|
||||||
[HttpGet()]
|
[HttpGet()]
|
||||||
[Route("call/{pluginCode}/{ipString}", Name = "Call_V1")]
|
[Route("call/{pluginCode}/{ipString}", Name = "PluginCall_V1")]
|
||||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
[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
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,11 @@ namespace ServerManager.WebApplication.Controllers
|
||||||
|
|
||||||
// GET: api/server/call/00000000-0000-0000-0000-000000000000/192.168.1.1
|
// GET: api/server/call/00000000-0000-0000-0000-000000000000/192.168.1.1
|
||||||
[HttpGet()]
|
[HttpGet()]
|
||||||
[Route("call/{managerCode}/{ipString}", Name = "Call_V1")]
|
[Route("call/{managerCode}/{ipString}", Name = "ServerCall_V1")]
|
||||||
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
|
||||||
[ProducesResponseType(StatusCodes.Status200OK)]
|
[ProducesResponseType(StatusCodes.Status200OK)]
|
||||||
[ProducesResponseType(StatusCodes.Status500InternalServerError)]
|
[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
|
try
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue