Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions WebApiExplorer/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2013-2022 StatPro Ltd. - a member of StatPro Group plc")]
[assembly: AssemblyCopyright("Copyright 2013-2026 Confluence")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyProduct("StatPro Revolution Web API Explorer")]
[assembly: AssemblyProduct("Revolution Web API Explorer")]
[assembly: AssemblyInformationalVersion("1.0.0.0000")] // = product version
[assembly: AssemblyTitle("StatPro.Revolution.WebApiExplorer")]
[assembly: AssemblyDescription("An explorer web app for the Revolution Web API")]
Expand Down
4 changes: 2 additions & 2 deletions WebApiExplorer/Views/Home/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

@model StatPro.Revolution.WebApiExplorer.JsDtos.UserInfo

<h2>StatPro Revolution Web API Explorer</h2>
<h2>Revolution Web API Explorer</h2>
<div class="alert alert-error">
The Web API Explorer exposes only a subset of available functionality of the StatPro Revolution Web API, intended
The Web API Explorer exposes only a subset of available functionality of the Revolution Web API, intended
for illustrative and tutorial purposes. Refer to the
<a href="http://developer.statpro.com/Revolution/WebApi/Intro" target="_blank">Developer Documentation</a>
for full details.
Expand Down
2 changes: 1 addition & 1 deletion WebApiExplorer/Views/OAuth2/ReceiveAuthCode.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
ViewBag.Title = "Authorization";
}

<h2>StatPro Revolution Web API Explorer</h2>
<h2>Revolution Web API Explorer</h2>

<p class="text-error">
@if (ViewBag.Error) {
Expand Down
8 changes: 4 additions & 4 deletions WebApiExplorer/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<link rel="shortcut icon" href="~/Images/favicon.ico" type="image/vnd.microsoft.icon" />
<![endif]-->

<title>StatPro Revolution Web API Explorer - @ViewBag.Title</title>
<title>Revolution Web API Explorer - @ViewBag.Title</title>

@* Bootstrap CSS *@
<link href="~/Bootstrap-2-3-1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
Expand All @@ -31,9 +31,9 @@
<img src="~/Images/revolution-webapi-logo.png" width="310" height="53" alt="Web API" />
</div>
<div id="revolution-links" class="span9">
<a href="https://revolution.statpro.com" target="_blank" title="Visit the StatPro Revolution website">StatPro Revolution</a>
<a href="https://revolution.statpro.com" target="_blank" title="Visit the Revolution website">Revolution</a>
|
<a href="http://www.statpro.com" target="_blank" title="Visit the StatPro website">StatPro.com</a>
<a href="http://www.confluence.com" target="_blank" title="Visit the Confluence website">Confluence.com</a>
</div>
</div>

Expand All @@ -47,7 +47,7 @@
<div id="footer" class="clearfix">
<div class="container-fluid">
<p class="pull-left"><small>
&copy; Copyright @DateTime.Now.Year StatPro Ltd. - a member of StatPro Group plc
&copy; Copyright @DateTime.Now.Year Confluence
</small></p>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions WebApiExplorerTests/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyCompany("")]
[assembly: AssemblyCopyright("Copyright 2013-2022 StatPro Ltd. - a member of StatPro Group plc")]
[assembly: AssemblyCopyright("Copyright 2013-2026 Confluence")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyProduct("StatPro Revolution Web API Explorer")]
[assembly: AssemblyProduct("Revolution Web API Explorer")]
[assembly: AssemblyInformationalVersion("1.0.0.0000")] // = product version
[assembly: AssemblyTitle("StatPro.Revolution.WebApiExplorerTests")]
[assembly: AssemblyDescription("Unit tests for Revolution Web API Explorer")]
Expand Down
20 changes: 10 additions & 10 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@

# Introduction #

This repository contains the source code for the StatPro Revolution Web API Explorer web application.
This repository contains the source code for the Revolution Web API Explorer web application.

The StatPro Revolution Web API Explorer allows users to extract their Revolution data from the Revolution Web API interactively, using a simple web interface. It allows you to explore the features of the Web API, and shows what types of data the Web API can (and by inference) can't extract.
The Revolution Web API Explorer allows users to extract their Revolution data from the Revolution Web API interactively, using a simple web interface. It allows you to explore the features of the Web API, and shows what types of data the Web API can (and by inference) can't extract.

The Web API Explorer exposes only a subset of available functionality of the StatPro Revolution Web API, intended for illustrative and tutorial purposes.
The Web API Explorer exposes only a subset of available functionality of the Revolution Web API, intended for illustrative and tutorial purposes.

The source code for the Web API Explorer is provided as Open Source under the MIT License.

Expand All @@ -14,11 +14,11 @@ The source code for the Web API Explorer is provided as Open Source under the MI

# Revolution Web API #

The StatPro Revolution Web API allows client applications to access user data from the [StatPro Revolution system](http://www.statpro.com/cloud-based-portfolio-analysis/revolution/) programmatically.
The Revolution Web API allows client applications to access user data from the [Revolution system](http://www.statpro.com/cloud-based-portfolio-analysis/revolution/) programmatically.

User authentication and authorization is handled by StatPro OAuth2 Server, which in the case of Server-side Web applications (as well as Native applications) uses OAuth 2.0's 'Authorization Code' flow.
User authentication and authorization is handled by the Revolution OAuth2 Server, which in the case of Server-side Web applications (as well as Native applications) uses OAuth 2.0's 'Authorization Code' flow.

To run your own Server-side Web application, you must first register it with StatPro.
To run your own Server-side Web application, you must first register it with Revolution.

For more information:-
* [Revolution Web API](http://developer.statpro.com/Revolution/WebApi/Intro)
Expand All @@ -33,7 +33,7 @@ For more information:-
# What the code demonstrates #

The application's source code shows developers how to:-
* write a Server-side Web Application that interacts with the StatPro Revolution OAuth2 Server (using the OAuth 2.0 'Authorization Code' flow) to get access tokens and refresh tokens
* write a Server-side Web Application that interacts with the Revolution OAuth2 Server (using the OAuth 2.0 'Authorization Code' flow) to get access tokens and refresh tokens
* get data from the Web API using an access token
* follow the approved [workflow](http://developer.statpro.com/Revolution/WebApi/Intro#started) for accessing resources that are exposed by the Web API
* get [portfolios](http://developer.statpro.com/Revolution/WebApi/Resource/Portfolios), [analysis](http://developer.statpro.com/Revolution/WebApi/Resource/PortfolioAnalysis) and results data from the Web API
Expand All @@ -49,7 +49,7 @@ The application's source code shows developers how to:-
On the server-side, the application is written using C# 5, .NET 4.5 and ASP.NET MVC 4. The website's views use Razor.

It is on the server that the code talks to the OAuth2 Server and the Web API; the client-side code (i.e. JavaScript) is not able to do either of these things because:-
* the StatPro Revolution OAuth2 Server does not support the OAuth 2.0 'Implicit Grant' flow
* the Revolution OAuth2 Server does not support the OAuth 2.0 'Implicit Grant' flow
* the browser's Same Origin policy only allows the JavaScript to talk to its own webserver via AJAX
* JSONP cannot be used to talk to the Web API due to the need to set to request headers (e.g. to specify the access token)
* the Web API does not support CORS.
Expand All @@ -62,7 +62,7 @@ The main logic of the application is in the client-side code, which essentially

# Caveats #

This repository may not reflect the latest version of the StatPro Revolution Web API Explorer website.
This repository may not reflect the latest version of the Revolution Web API Explorer website.

The Visual Studio solution in this repository is a cut-down version of the full solution. Various items of information relating to application security (including the OAuth 2.0 client secret) have been removed.

Expand All @@ -71,7 +71,7 @@ The Web API Explorer does not surface every single feature of the Revolution Web

# License #

(c) Copyright 2013-2022 StatPro Ltd. - a member of StatPro Group plc
(c) Copyright 2013-2026 Confluence

<p>Permission is hereby granted, free of charge, to any person obtaining a copy<br />
of this software and associated documentation files (the "Software"), to deal<br />
Expand Down