Versions Compared

Key

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

...

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 "Create+" button.

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

Image Removed

 

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.

Image Added


Database Schema

The database schema

...

can

...

be found in the application is the user has

...

database::read permission by going to menu:

...

Admin -> Database -> List

...

Tables, then clicking on the

...

No Format
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',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

A typical entry looks as below.

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

details button for the table.


API / Web Access

You can access the

...

collection using the normal Open-AudIT JSON based API. Just like any other collection. Please

...

see The Open-AudIT 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

...

ID

...

Action

...

Resulting Function

...

Permission Required

...

URL Example

...

Notes

...

Example Response

...

.

...

Web Application Routes

 

Request Method
ID
Action
Resulting Function
Permission Required
URL Example
Notes
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}

 

...