You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
The different APIs follow a distinct pattern POST /api/{item}/create:
POST /api/applications/create
POST /api/licenses/create
POST /api/forms/create
POST /api/resources/create
POST /api/catalogue-items/create
We are programmatically creating items using the pattern /api/{item}/create and would like to be able to use the same pattern with categories as well, but at the moment its API is slightly different from the others.
Describe the solution you'd like
Update categories API to follow the same convention as other APIs.
POST /api/categories/create
instead of
POST /api/categories
The following is not important to us, but the same can be seen in updating items:
PUT /api/categories
vs
PUT /api/{items}/edit
Additional context GET already works the same for all items. 👍
GET /api/{item}
GET /api/{item}/{item-id}
The text was updated successfully, but these errors were encountered:
The categories API is perhaps more consistent with typical REST practices, but our CQRS style with commands is perhaps the one we should follow (with /create and /edit). We can add these and keep the old ones for backwards compatibility for now.
Is your feature request related to a problem? Please describe.
The different APIs follow a distinct pattern
POST /api/{item}/create
:We are programmatically creating items using the pattern
/api/{item}/create
and would like to be able to use the same pattern withcategories
as well, but at the moment its API is slightly different from the others.Describe the solution you'd like
Update
categories
API to follow the same convention as other APIs.instead of
The following is not important to us, but the same can be seen in updating items:
vs
Additional context
GET
already works the same for all items. 👍The text was updated successfully, but these errors were encountered: