Skip to content

Conversation

@mikekistler
Copy link
Contributor

This PR refactors the Catalog API to adopt more commonly accepted REST API conventions. The existing V1 API is unchanged and all refactoring is done in a new API version, V2.

Fixes #589.

Note: I have not tested the clients yet, so will move this to draft until that is done.

@mikekistler mikekistler marked this pull request as draft January 7, 2025 03:37
@mikekistler mikekistler mentioned this pull request Jan 7, 2025
@mikekistler mikekistler marked this pull request as ready for review January 9, 2025 21:36
@mikekistler
Copy link
Contributor Author

I have tested the Blazor, Maui, and Hybrid App and all seem to be functioning correctly.

Moved to Ready for Review.

@mikekistler mikekistler merged commit b3b115b into main Jan 10, 2025
5 checks passed
@mikekistler mikekistler deleted the mdk/catalog-api-v2 branch January 10, 2025 18:48
emilkvarnhammar pushed a commit to oplane/eShopOLD that referenced this pull request Jul 3, 2025
* Add Catalog API v2 with all the same APIs
* Split GetAllItems into v1 and v2
* Collapse GetItemsByName, Type, or Brand into GetAllItems
* Add id path parameter to UpdateItem
* Move text parameter from path to query
* Update Catalog clients to V2 API version
* Refactor v1 APIs to use V2 implementation
* Update ApiVersion of WebAppCatalogService (client) to 2.0
* Address PR review comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Refactor Catalog API

3 participants