Skip to content
Open
Show file tree
Hide file tree
Changes from 9 commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4a3b23a
Update README.md with information about the forum
OwainWilliams Sep 25, 2025
c46f94b
Merge pull request #1 from OwainWilliams/OwainWilliams-patch-1
OwainWilliams Sep 25, 2025
e2e65af
Merge branch 'umbraco:main' into main
OwainWilliams Oct 18, 2025
b371be0
[TASK] Initial update of some Management API endpoints
Oct 18, 2025
3ddac22
Update src/Umbraco.Cms.Api.Management/Controllers/Culture/AllCultureC…
OwainWilliams Oct 18, 2025
d591d3a
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/Upd…
OwainWilliams Oct 18, 2025
3df76dd
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/ByK…
OwainWilliams Oct 18, 2025
71f6fe0
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/All…
OwainWilliams Oct 18, 2025
d265c07
[UPDATE] Small grammer update
Oct 18, 2025
12c421d
Update src/Umbraco.Cms.Api.Management/Controllers/Culture/AllCultureC…
OwainWilliams Oct 20, 2025
5391fe4
Update src/Umbraco.Cms.Api.Management/Controllers/Culture/AllCultureC…
OwainWilliams Oct 20, 2025
74bdcad
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/All…
OwainWilliams Oct 20, 2025
ae9151c
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/All…
OwainWilliams Oct 20, 2025
cef1142
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/ByK…
OwainWilliams Oct 20, 2025
018b2ba
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/ByK…
OwainWilliams Oct 20, 2025
8603155
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/Rol…
OwainWilliams Oct 20, 2025
aa055d4
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/Rol…
OwainWilliams Oct 20, 2025
3d655c5
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/Upd…
OwainWilliams Oct 20, 2025
9a89705
Update src/Umbraco.Cms.Api.Management/Controllers/DocumentVersion/Upd…
OwainWilliams Oct 20, 2025
1e6c9f8
[WIP] Data Types
Oct 20, 2025
55d0045
[WIP] Update ByKey and Configuration DataTypes
Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ public AllCultureController(IUmbracoMapper umbracoMapper, ICultureService cultur
[HttpGet]
[MapToApiVersion("1.0")]
[ProducesResponseType(typeof(PagedViewModel<CultureReponseModel>), StatusCodes.Status200OK)]
[EndpointSummary("Returns all cultures available for creating languages.")]
[EndpointDescription("Returns the total number of cultures set up and also individual details for each culture. Optionally you can paginate the results using skip and take parameters")]
public Task<PagedViewModel<CultureReponseModel>> GetAll(CancellationToken cancellationToken, int skip = 0, int take = 100)
{
CultureInfo[] all = _cultureService.GetValidCultureInfos();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ public AllDocumentVersionController(
[ProducesResponseType(typeof(PagedViewModel<DocumentVersionItemResponseModel>), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
[EndpointSummary("Gets a paged result of all versions for a specific document")]
[EndpointDescription("A documentId is required. Culture, skip, and take parameters are optional. Returned is data relevant to that document, e.g., document type, user ID, version date, and whether it is the current published or draft version. This is useful when you need to find a document version ID for other queries.")]
public async Task<IActionResult> All(
CancellationToken cancellationToken,
[Required] Guid documentId,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ public ByKeyDocumentVersionController(
[ProducesResponseType(typeof(DocumentVersionResponseModel), StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
[EndpointSummary("Gets a specific document version by its unique id")]
[EndpointDescription("A document version ID is required. Returned is data relevant to that document version, e.g., document type, user ID, version date, and whether it is the current published/draft version.")]
public async Task<IActionResult> ByKey(CancellationToken cancellationToken, Guid id)
{
Attempt<IContent?, ContentVersionOperationStatus> attempt =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ public RollbackDocumentVersionController(
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
[EndpointSummary("Rolls back a document to a specific version")]
[EndpointDescription("A document version id is required. This will roll back the document to the specified version.")]
public async Task<IActionResult> Rollback(CancellationToken cancellationToken, Guid id, string? culture)
{
Attempt<IContent?, ContentVersionOperationStatus> getContentAttempt =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ public UpdatePreventCleanupDocumentVersionController(
[ProducesResponseType(StatusCodes.Status200OK)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status404NotFound)]
[ProducesResponseType(typeof(ProblemDetails), StatusCodes.Status400BadRequest)]
[EndpointSummary("Sets or unsets the prevent cleanup flag on a specific document version")]
[EndpointDescription("A document version id and prevent cleanup flag are required. This will set or unset the prevent cleanup flag on the specified document version.")]
public async Task<IActionResult> Set(CancellationToken cancellationToken, Guid id, bool preventCleanup)
{
Attempt<ContentVersionOperationStatus> attempt =
Expand Down