Follow

Discovery of Available Elements via API

Q1. Does your Platform have an API that allows for discovery of “Hey Cloud Elements, what integrations (Elements) do you have for me?"

A1: You can do a GET against /elements to discover a list of available Elements in our catalog:

Q2: Once we select an integration, is there a method to get the details for a given Element?

A2. There is "key" attribute for each Element, for example:

  {
    "id": 21,
    "name": "Google Drive",
    "key": "googledrive",
    "description": "Google Drive—a place where you can create, share, collaborate, and keep all of your files.  Users will be required to have a Google Drive account in order to use this element.",
    "image": "elements/provider_googledrive.png",
    "active": true,
    "deleted": false,
    "typeOauth": true,
    "trialAccount": false,
    "existingAccountDescription": "Give your application access to your existing 
Google Drive account Enter your credentials and details for your Google Drive Account", "configDescription": "If you do not have an Google Drive account, you can create one at Google Drive Signup", "signupURL": "https://drive.google.com", "elementProvisionType": "OAUTH_TEMPLATE" }

Once you've obtained the key, you can do GET /elements/{key}, and it will return full details for that Element:

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments