Connections

Follow

A connection holds information on the datasource used, the name and type of columns, the user groups involved and security rules that have to be applied.

This resource is read-only.

Get connections

  • GET /connections will return all connections.
[
  {
    "id": 6056632,
    "name": "Oracle prod 1",
    "updated_at": "2012-03-23T13:55:43-05:00",
    "created_at": "2012-03-23T13:55:43-05:00",
    "creator_full_name":"nicolas raspal",
    "technical_type":"RDBMS"
  },
  {
    "id": 6056631,
    "name": "Oracle prod 2",
    "updated_at": "2012-03-23T13:55:43-05:00",
    "created_at": "2012-03-23T13:55:43-05:00",
    "creator_full_name":"nicolas raspal",
    "technical_type":"RDBMS"
  }
]

Get connection

  • GET /connections/1 will return the specified connection.
{
   "id": 6056631,
   "name": "Oracle prod 2",
   "updated_at": "2012-03-23T13:55:43-05:00",
   "created_at": "2012-03-23T13:55:43-05:00",
   "creator_full_name":"nicolas raspal",
   "technical_type":"RDBMS",
   "schema":[
    {"datafield":"product_name", "display_name":"product name","is_measure":false},
    {"datafield":"customer_state", "display_name":"customer state","is_measure":false},
    {"datafield":"trn_over", "display_name":"turn over","is_measure":true}
   ],
   "data_security_rules":[
    {"id":434343,"datafield":"product_name","authorized_values":"'atari','xbox','ps3'" },
    {"id":434342,"datafield":"product_name","authorized_values":"'atari'" },
    {"id":434341,"datafield":"product_name","authorized_values":"'atari','ps3'" },
    {"id":434340,"datafield":"customer_state","authorized_values":"'herault'" }
   ]
}
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk