Software

This is the API Documentation for the /api/assets/software route.

Get ALL Assets

GET /api/assets/software/view-all

The response is an Array of Hardware Asset.

Get ALL Assets by Supervising Employee

GET /api/assets/software/view-all/:id

Path Parameters

Name
Type
Description

id*

String

Employee ID

The response is an array of Hardware Asset objects.

Get Asset

GET /api/assets/software/:id

Path Parameters

Name
Type
Description

id*

String

The ID of the Asset

The response is a Hardware Asset object.

Perform Vulnerability Scan

GET /api/assets/software/:id/scan

Path Parameters

Name
Type
Description

id*

String

The ID of the Asset

Insert Asset

POST /api/assets/software/

Request Body

Name
Type
Description

name*

String

The Name of the Asset

manufacturer*

String

The Manufacturer of the Asset

risk_level

String

The Risk Level of the Asset

version*

String

The Version of the Asset

Delete Asset

DELETE /api/assets/software/:id

Path Parameters

Name
Type
Description

id*

String

The ID of the Software Asset

Delete ALL Assets

DELETE /api/assets/software/

Edit Asset

PATCH /api/assets/software/:id

Path Parameters

Name
Type
Description

id*

String

The ID of the Software Asset

Request Body

Name
Type
Description

name*

String

The Name of the Asset

risk_level

String

The Risk Level of the Asset

version*

String

The Version of the Asset

manufacturer*

String

The Manufacturer of the Asset

Last updated