V14: Add cancellation tokens to all endpoints (#15984)

* Add CancellationToken to controllers

* Fix GetManagementApiUrl

* Forgotten Item and Tree controllers

* Document Blueprint and Version endpoints

* Fix merge conflict

* Cleanup

---------

Co-authored-by: Elitsa <elm@umbraco.dk>
This commit is contained in:
Mole
2024-04-09 08:18:45 +02:00
committed by GitHub
parent ddf663d30b
commit 187d45860a
369 changed files with 830 additions and 369 deletions

View File

@@ -34,7 +34,7 @@ public class ByKeyUserGroupController : UserGroupControllerBase
[MapToApiVersion("1.0")]
[ProducesResponseType(typeof(UserGroupResponseModel), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
public async Task<IActionResult> ByKey(Guid id)
public async Task<IActionResult> ByKey(CancellationToken cancellationToken, Guid id)
{
AuthorizationResult authorizationResult = await _authorizationService.AuthorizeResourceAsync(
User,