From b5160ca4d802eabbfee198c4f33aeccbc28a648a Mon Sep 17 00:00:00 2001 From: "Michael W. Estrin" Date: Fri, 12 Jul 2019 09:49:09 -0500 Subject: [PATCH] Replace Addressable With Protocols In API walk through, replaced addressable with protocols in device creation call. Example did not have a protocols field and result of POST was a _no supporting protocol specified for device_ result. https://github.com/edgexfoundry/edgex-docs/issues/8 Signed-off-by: Michael W. Estrin --- walk-through/Ch-WalkthroughProvision.rst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/walk-through/Ch-WalkthroughProvision.rst b/walk-through/Ch-WalkthroughProvision.rst index 68cb4b2133..a163e42ddc 100644 --- a/walk-through/Ch-WalkthroughProvision.rst +++ b/walk-through/Ch-WalkthroughProvision.rst @@ -19,8 +19,7 @@ For the sake of this demonstration, the call to Core Metadata below will provisi :: - BODY: {"name":"countcamera1","description":"human and dog counting camera #1","adminState":"unlocked","operatingState":"enabled","addressable":{"name":"camera1 address"},"labels": - ["camera","counter"],"location":"","service":{"name":"camera control device service"},"profile":{"name":"camera monitor profile"}} + BODY: {"name":"countcamera1","description":"human and dog counting camera #1","adminState":"unlocked","operatingState":"enabled","protocols":{"camera protocol":{"camera address":"camera 1"}},"labels": ["camera","counter"],"location":"","service":{"name":"camera control device service"},"profile":{"name":"camera monitor profile"}} Note that ``camera monitor profile`` was created by the :download:`CameraMonitorProfile.yml ` you uploaded in a previous step.