Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

<work in progress>

Table of Contents
maxLevel32

Background Color
color#F5F5F5

Overview

Device Manager, as the name suggests, is an application to manage different devices by fetching the device details, adding devices, adding device groups, managing device reservations etc.

Please note: All the non-mandatory request fields are marked as “optional”.

Tags

Tag NameDesscription
Device GroupAPIs which handle requests for device group.
Device CategoryAPIs which handle requests for device category.
Device FeatureAPIs which handle requests for device feature.
DeviceAPIs which handle requests for device details.
Device ModelAPIs which handle requests for device models.
Head EndAPIs which handle requests for head end.
Device ManagementAPI for Device Management.
UserAPIs which handle requests for user management.

Paths

Device

 APIs which handle requests for device details.

POST /device/add (Add new Device Details)

Adds a device to the Device Manager database. Devices to be used in the Automatics System should be configured in Device Manager. These devices are provided to Automatics Orchestration during test execution.

Before adding a device, the user must  add Head End (/headEnd/add), Device Group (/deviceGroup/add), Device Feature (/deviceFeature/add) and Device Model(/deviceModel/add) to Device Manager. These values will be provided as the input to the device details fields request.

Responses

Code

Description

Links

200

OK

Content

No Links

201

Created

No Links

401

Unauthorized

No Links

403

Forbidden

No Links

404

Not Found

No Links

GET /device/all (

Returns

Return all the Device Details)

This API lists all devices configured in the Device Manager application.

Responses

CodeDescription

Links

200

OK

Content

application/json/

No Links

401

Unauthorized

No Links

403

Forbidden

No Links

404

Not Found

No Links

POST /device/delete (Delete existing Device Details)

This API deletes the device from Device Manager application. The input given to the REST API is mac address and it deletes the device with given mac address.

Responses

Code

Description

Links

200

OK

Content

No Links

201

Created

No Links

401

Unauthorized

No Links

403

Forbidden

No Links

404

Not Found

No Links