WebApplication1/Controllers/TodoController.cs
/// <summary>
/// Get a list of all API keys from this server
/// </summary>
/// <returns>An array of all API keys in string format</returns>
Get a list of all API keys from this server
Get a list of all API keys from this server
[HttpGet("keys")]
        [ProducesResponseType(typeof(List<TodoItem>), 200)]
        public IActionResult GetKeys()
        {
            return Ok(TodoItems.Select(x => x.Key).ToList());
        }
[ HttpGet ( " " ) ] [ ProducesResponseType ( typeof ( List < TodoItem > ) , 200 ) ] public IActionResult GetKeys ( ) { return Ok ( TodoItems . Select ( x => x . Key ) . ToList ( ) ) ; }
Get a list of all API keys from this server
Get a list of all API keys from this server
An array of all API keys in string format
An array of all API keys in string format