Access API from backend server

  • 1
  • Question
  • Updated 2 years ago
  • Answered
I'm new to RiseVision and Google Cloud Endpoints, so this might be a stupid question.

Is it possible for us to use the RiseVision API from our backend server? We want to create our own system with information about all our displays, locations, customers, schedules (ahead of time and history) and so on. Then we would like to use RiseVision to make sure the content is actually shown on the correct display. So when we make changes to anything in our system, we want to push those changes to RiseVision using the API from our backend server.

So simply put, is it possible to use server to server communication with RiseVision API? Like an API-key or something like that? Only our backend needs to use RiseVision API directly.

I've looked at some other posts here, and found this: https://community.risevision.com/rise_vision_inc/topics/is-it-possible-to-have-developer-gserviceacc...
This kinda looks like what we want, but I'm not convinced it is.

Thanks
Photo of Fredrik Smaamo

Fredrik Smaamo

  • 90 Points 75 badge 2x thumb

Posted 2 years ago

  • 1
Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Fredrik,

Have you take a look at our Developer documentation here?: https://help.risevision.com/developer

I wanted to reiterate the message at the top of that page, that the APIs are provided as is and usage is supported by the Community. We will investigate and fix eventual API issues, but we don't support and will not investigate custom code. 

Let me know if you find the information you need in there. Thanks!
Photo of Fredrik Smaamo

Fredrik Smaamo

  • 90 Points 75 badge 2x thumb
We are trying to configure RiseVision app here - https://developer.risevision.com/apps/list, and we are trying to enter clientId that comes from the google service account (connection between our server and your API without user’s actions), and your form doesn’t accept clientId that we have from google.

example of the configuration from google, including clientId{
  "type": "service_account",
  "project_id": “...”,
  "private_key_id": “...”,
  "private_key": “...”,
  "client_email": "my-service-account@test2-server-side-...",
  "client_id": "106829247461868830032",
  "auth_uri": "https://accounts.google.com/o/oauth2/auth";,
  "token_uri": "https://accounts.google.com/o/oauth2/token";,
  "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs";,
  "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/my-service-account%40test2-server-side-key.iam.gse...;
}

Photo of Robb

Robb, Official Rep

  • 76,676 Points 50k badge 2x thumb
Hi there Frank,


It looks like your client Id may not be correct. Check out this page: https://help.risevision.com/developer/getting-started/registration/app-registration where is shows a client ID, which usually contains XXX.googleusercontent.com.

When you are on the App registration page, if you click on the information symbol next to the Client ID field, you will get a description of a valid client ID as well.

I hope that helps!