The Vizzlo Portfolio

Vizzlo’s portfolio is the full set of all available plugins (chart types). Plugins are usually navigated to through multiple lists. See for example this portfolio content (that only contains five plugins for demonstration purposes):

That same five plugins might be show up in multiple spots throughout the portfolio:

To be able to build this kind of structured UI, use the following API calls. The API endpoints still use the legacy /vizzards path for compatibility, but they return plugin information.

Listing plugins

Route

GET /api/v1/portfolio

Reading plugin details

Route

GET /api/v1/portfolio/id

Searching the portfolio

Route

GET /api/v1/portfolio/search

This endpoint is used to search the portfolio for certain user-specified keywords.

The JSON will contain the actual search terms as query as well as optional paging information.

Query parameters

The search request is submitted using the following query parameters:

Return value

Downloading plugins

Route

GET /api/v1/vizzards/id

Return value
{
    // …
}

Reviewing plugins

Route

POST /api/v1/vizzards/id/reviews

Review shall be posted as JSON document with the following keys:

Adding a plugin to the favorites

Marks the plugin specified by id as a favorite.

Route

PUT /api/v1/portfolio/favorites/id

Return value

Returns a JSON array of strings containing the now current list of favorites.

Removing a plugin from the favorites

If currently a favorite, removes the plugin specified by id from the list of favorites.

Route

DELETE /api/v1/portfolio/favorites/id

Return value

Returns a JSON array of strings containing the now current list of favorites.