Skip to content

Commit d63d451

Browse files
committed
Update endpoints
1 parent 3bae459 commit d63d451

4 files changed

Lines changed: 175 additions & 137 deletions

File tree

packages/cma-client/resources.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -951,7 +951,7 @@
951951
"rel": "create",
952952
"urlTemplate": "/item-types",
953953
"method": "POST",
954-
"comment": "Create a new model",
954+
"comment": "Create a new model/block model",
955955
"urlPlaceholders": [],
956956
"requestBodyType": "ItemTypeCreateSchema",
957957
"optionalRequestBody": false,
@@ -998,7 +998,7 @@
998998
"rel": "update",
999999
"urlTemplate": "/item-types/${itemTypeId}",
10001000
"method": "PUT",
1001-
"comment": "Update a model",
1001+
"comment": "Update a model/block model",
10021002
"urlPlaceholders": [
10031003
{
10041004
"variableName": "itemTypeId",
@@ -1057,7 +1057,7 @@
10571057
"rel": "instances",
10581058
"urlTemplate": "/item-types",
10591059
"method": "GET",
1060-
"comment": "List all models",
1060+
"comment": "List all models/block models",
10611061
"urlPlaceholders": [],
10621062
"optionalRequestBody": false,
10631063
"queryParamsRequired": false,
@@ -1073,7 +1073,7 @@
10731073
"rel": "self",
10741074
"urlTemplate": "/item-types/${itemTypeId}",
10751075
"method": "GET",
1076-
"comment": "Retrieve a model",
1076+
"comment": "Retrieve a model/block model",
10771077
"urlPlaceholders": [
10781078
{
10791079
"variableName": "itemTypeId",
@@ -1100,7 +1100,7 @@
11001100
"rel": "duplicate",
11011101
"urlTemplate": "/item-types/${itemTypeId}/duplicate",
11021102
"method": "POST",
1103-
"comment": "Duplicate model",
1103+
"comment": "Duplicate model/block model",
11041104
"urlPlaceholders": [
11051105
{
11061106
"variableName": "itemTypeId",
@@ -1127,7 +1127,7 @@
11271127
"rel": "destroy",
11281128
"urlTemplate": "/item-types/${itemTypeId}",
11291129
"method": "DELETE",
1130-
"comment": "Delete a model",
1130+
"comment": "Delete a model/block model",
11311131
"urlPlaceholders": [
11321132
{
11331133
"variableName": "itemTypeId",

0 commit comments

Comments
 (0)