feat(32.2-01): per-item rows and item actions on My account contributions
- pact: AccountContribution.Items/ItemActions/ItemsEmpty, AccountItem,
AccountItemAction, AccountItemActionInput, ErrAccountItemNotFound
- cabana: the list sends items (null without Items), permitted item actions
and the empty line; boot refuses item actions without Items
- cabana: POST {api}/account/contribution-items/{name}/{item}/actions/{action}
runs only for an item the administrator's own Items listed, in a transaction
(path outside /account/contributions/ to avoid a ServeMux overlap)
- swag views; admin.json and schema.d.ts regenerated; route inventories
This commit is contained in:
@@ -50,6 +50,7 @@ var phase09Routes = []adminRoute{
|
||||
{key: "DELETE /account/tokens/{id}"},
|
||||
{key: "GET /account/contributions"},
|
||||
{key: "POST /account/contributions/{name}/actions/{action}"},
|
||||
{key: "POST /account/contribution-items/{name}/{item}/actions/{action}"},
|
||||
{key: "GET /mcp/consent/{request}"},
|
||||
{key: "POST /mcp/consent/{request}"},
|
||||
{key: "GET /navigation"},
|
||||
|
||||
Reference in New Issue
Block a user