Child pages
  • Applications
Skip to end of metadata
Go to start of metadata


The Applications endpoint allows you to define an application which you can then associate to a device (or devices).

Applications are an Enterprise only feature.

Applications are being introduced in Open-AudIT 2.2 with a view to expand on the concept as further development is made.

How Does it Work?

You can define an application and associate a device to this application. A device may be associated to more than one application. An application may be associated to more than one device.

Creating an Applications Entry

An attribute entry can be created using the web interface if the current user logged in has a role that contains the applications::create permission. Go to menu: Manage -> Applications -> Create Applications. Also can be created from the Applications View, using the "+" button.

To add a new value for an attributes you need to select an organization, and provide a name.

View Applications Details

Go to menu: Manage-> Applications -> List Applications.

You will see a list of applications. You can view an application by clicking on the blue view icon. You can also edit or delete Applications.

Database Schema

The schema for the database is below. It can also be found in the application is the user has attributes::read permission by going to menu: Admin -> Database -> List Tables, then clicking on the "attributes" table.

CREATE TABLE `applications` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(200) NOT NULL DEFAULT '',
`org_id` int(10) unsigned NOT NULL DEFAULT '1',
`description` text NOT NULL,
`options` text NOT NULL,
`edited_by` varchar(200) NOT NULL DEFAULT '',
`edited_date` datetime NOT NULL DEFAULT '2000-01-01 00:00:00',

A typical entry looks as below.

         id: 1
       name: Corporate Email
     org_id: 1
description: Our email services
  edited_by: system
edited_date: 2000-01-01 00:00:00

API / Web Access

You can access the /applications collection using the normal Open-AudIT JSON based API. Just like any other collection. Please see the API documentation for further details.

Access is provided as part of a roles permissions. Applications is a standard resource and can have create, read, update and delete permissions.

The API routes below are usable from both a JSON Restful API and the web interface.

API Routes

Request Method
Resulting Function
Permission Required
URL Example
Example Response
collectionapplications::read/applicationsReturns a list of applications.
createapplications::create/applicationsInsert a new applications entry.
readapplications::read/applications/{id}Returns an applications details.
updateapplications::update/applications/{id}Update the details of an applications entry.
deleteapplications::delete/applications/{id}Delete an applications entry.

Web Application Routes

Request Method
Resulting Function
Permission Required
URL Example
GETncreatecreate_formapplications::create/applications/createDisplays a standard web form for submission to POST /attributes.
GETyupdateupdate_formapplications::update/applications/{id}/updateShow the attributes details with the option to update details using PATCH to /applications/{id}