How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Viridi Role Controller API

The role-controller API from Viridi — 9 operation(s) for role-controller.

Viridi Role Controller API is one of 56 APIs that Viridi publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include role-controller. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 11 operations across 9 paths, and defines 9 schemas. It is described by OpenAPI 3.2.0, at version 3.7.0.

Requests are made against a single base URL, https://vista.viridiparente.com.

11 operations 9 paths 9 schemas 1 DELETE7 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
3.7.0
Base URL
https://vista.viridiparente.com
Authentication
HTTP Loginpassword
Resource Areas
1

Authentication & Security 1

Viridi Role Controller API declares 1 security scheme for authenticating requests. It uses HTTP loginpassword authentication (HTTP_login_form).

  • HTTP_login_form — Enter Username / Password

Paths & Operations 11

Across 9 paths, the API surfaces 11 operations — 1 DELETE, 7 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

role-controller 11
GET
/api/role
Get Role Policy (getRolePolicy)
getRolePolicy → 200
POST
/api/role
Save Or update Role (saveRole)
saveRole body → 200
POST
/api/role/{roleId}/user/{userId}
Assign role to user (assignRoleToUser)
assignRoleToUser 2 params → 200
POST
/api/role/{roleId}/default
Make Role Default (setDefaultRole)
setDefaultRole 1 param → default
GET
/api/roles
Get Roles (getRoles)
getRoles 5 params → 200
GET
/api/role/{roleId}
Get Role (getRoleById)
getRoleById 1 param → 200
DELETE
/api/role/{roleId}
Delete Role (deleteRole)
deleteRole 1 param → 200
GET
/api/role/{roleId}/users
Get Role Users (getRoleUsers)
getRoleUsers 6 params → 200
GET
/api/role/{roleId}/assignable
Get Assignable Role Users (getAssignableRoleUsers)
getAssignableRoleUsers 6 params → 200
GET
/api/role/user/{userId}
Get role for user (getRoleAssignedToUser)
getRoleAssignedToUser 1 param → 200
GET
/api/role/menu
Get Menu (getMenu)
getMenu → 200

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are User (12 properties), Role (6 properties), PageDataUser (4 properties), PageDataRole (4 properties). Each schema is shown below with its type and property counts.

UserId
object
2 properties 2 required
PageDataRole
object
4 properties
JsonNode
A value representing the any type (object or primitive)
RoleId
object
2 properties 2 required
Role
object
A JSON value representing the Role.
6 properties
User
object
A JSON value representing the User.
12 properties 2 required
PageDataUser
object
4 properties
TenantId
object
2 properties 2 required
CustomerId
object
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

viridi-parente-role-controller-api-openapi.yml Raw ↑

Other APIs Viridi publishes across the network.

Viridi Admin Controller API
Viridi Alarm Comment Controller API
Viridi Alarm Controller API
Viridi Asset Controller API
Viridi Asset Profile Controller API
Viridi Audit Log Controller API
Viridi Auth Controller API
Viridi Cbrs Controller API
Viridi Component Descriptor Controller API
Viridi Customer Controller API
Viridi Dashboard Controller API
Viridi Device Connectivity Controller API
Where this information came from

This is an independent, third-party profile of Viridi Role Controller API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.