From da1c0adcce692950b8bd7781e36c37f2bd020728 Mon Sep 17 00:00:00 2001 From: Kuruyia Date: Thu, 5 Sep 2024 11:17:46 +0200 Subject: [PATCH] docs: fix controller names in update/write asset model docs --- doc/2/controllers/models/update-asset/index.md | 4 ++-- doc/2/controllers/models/write-asset/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/2/controllers/models/update-asset/index.md b/doc/2/controllers/models/update-asset/index.md index 82e9bc0f..a48d3ce6 100644 --- a/doc/2/controllers/models/update-asset/index.md +++ b/doc/2/controllers/models/update-asset/index.md @@ -22,7 +22,7 @@ Method: PUT ```js { - "controller": "device-manager/assets", + "controller": "device-manager/models", "action": "updateAsset", "engineGroup": "", "model": "", @@ -169,4 +169,4 @@ Method: PUT ## Errors -Updating an asset with metadata mappings can cause conflicts, in this case a [ MappingsConflictsError ](../../../errors/mappings-conflicts/index.md) will be thrown with the HTTP code **409**. \ No newline at end of file +Updating an asset with metadata mappings can cause conflicts, in this case a [ MappingsConflictsError ](../../../errors/mappings-conflicts/index.md) will be thrown with the HTTP code **409**. diff --git a/doc/2/controllers/models/write-asset/index.md b/doc/2/controllers/models/write-asset/index.md index 375c2bf0..55614f6c 100644 --- a/doc/2/controllers/models/write-asset/index.md +++ b/doc/2/controllers/models/write-asset/index.md @@ -24,7 +24,7 @@ Method: POST ```js { - "controller": "device-manager/assets", + "controller": "device-manager/models", "action": "writeAsset", "body": { "engineGroup": "", @@ -165,4 +165,4 @@ Method: POST ## Errors -Writing an asset with metadata mappings can cause conflicts, in this case a [ MappingsConflictsError ](../../../errors/mappings-conflicts/index.md) will be thrown with the HTTP code **409**. \ No newline at end of file +Writing an asset with metadata mappings can cause conflicts, in this case a [ MappingsConflictsError ](../../../errors/mappings-conflicts/index.md) will be thrown with the HTTP code **409**.