Developer Tools

ProVision can integrate with your existing tools and workflow through use of the API and CLI. The API allows you to access the data and functions of the web tools to run advanced commands in ProVision, and supports a wide variety of update and deletion conditions not available in the UI.

To use the API, you will need a basic understanding of object oriented programming in PHP and the right tools installed on your system. 

Theming Customization

In addition to the standard Light / Dark Mode themes available in ProVision, several methods are available to customize the entire product, allowing for additional company branding and fine control over what areas of the product are visible and what are not.

Theming Customization includes:

Note: Theming customization requires read/write access on the instance's "assets" directory, and experience using vi or another text editor of your choice to edit options.

Creating a custom theme requires strong CSS knowledge, as well as access and write permissions to your instance's "assets" directory

API Overview

The API is a RESTful API to access your data in the ProVision tools. REST relies on stateless, client-server communication, and APIv2 is implemented using the HTTPS protocol. It is a simple and lightweight alternative to Web Services and can implemented in nearly any language. The API operates similarly to other popular REST APIs you may have worked with, such as Facebook or Twitter. 

Here are some important details about our REST implementation:

API v2

APIv2 is ProVision's currently supported RESTful API version. APIv2 adds new endpoints and upgraded functionality over APIv1, through use of HTTPS authentication, additional HTTP methods (GET, PUT, POST, etc.), and JSON payloads.

APIv2 documentation includes the following modules:

APIv2 Swagger Documentation

Public APIv2 documentation is located at APIv2 Swagger page

Existing customers may also access APIv2 Documentation from your instance (user must have Admin permissions):

  1. Log into your ProVision instance.
  2. Go to the Admin area of ProVision and click on the API Tab.
  3. Under the API dropdown menu, click the Swagger link provided. You may also click on the "APIv2 Swagger Documentation" link provided under the APIv2 section of the page.

Test APIv2 Queries

To test APIv2 queries, you may:

  1. Use a browser extension REST client, such as Postman
  2. Access ProVision's APIv2 Swagger documentation from your instance ( instance/dev/swagger), which provides the ability to test inputs and responses using your instance data.
    1. Continue to the section: "APIv2 - Using Swagger" at APIv2 for more details.
  3. Use CURL in the command line to authenticate and execute APIv2 endpoints. See cURL documentation at https://curl.haxx.se/.
    1. Continue to the section: "APIv2 - Using cURL" at APIv2 for more details.

Toolkit

Additional CLI modules are available for power users in the /tools directory.

Resource Concepts

A developer-oriented overview of the Resource System.

Additional Information