All URIs are relative to https://madisonreed.looker.com:19999/api/3.0
Method | HTTP request | Description |
---|---|---|
addGroupGroup | POST /groups/{group_id}/groups | Add a Group to Group |
addGroupUser | POST /groups/{group_id}/users | Add a User to Group |
allGroupGroups | GET /groups/{group_id}/groups | Get All Groups in Group |
allGroupUsers | GET /groups/{group_id}/users | Get All Users in Group |
allGroups | GET /groups | Get All Groups |
createGroup | POST /groups | Create Group |
deleteGroup | DELETE /groups/{group_id} | Delete Group |
deleteGroupFromGroup | DELETE /groups/{group_id}/groups/{deleting_group_id} | Deletes a Group from Group |
deleteGroupUser | DELETE /groups/{group_id}/users/{user_id} | Remove a User from Group |
deleteUserAttributeGroupValue | DELETE /groups/{group_id}/attribute_values/{user_attribute_id} | Delete User Attribute Group Value |
group | GET /groups/{group_id} | Get Group |
updateGroup | PATCH /groups/{group_id} | Update Group |
updateUserAttributeGroupValue | PATCH /groups/{group_id}/attribute_values/{user_attribute_id} | Set User Attribute Group Value |
Group addGroupGroup(groupId, opts)
Add a Group to Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var opts = {
'body': new LookerApi30Reference.GroupIdForGroupInclusion() // {GroupIdForGroupInclusion} Group id to add
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.addGroupGroup(groupId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
body | GroupIdForGroupInclusion | Group id to add | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
User addGroupUser(groupId, opts)
Add a User to Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var opts = {
'body': new LookerApi30Reference.GroupIdForGroupUserInclusion() // {GroupIdForGroupUserInclusion} User id to add
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.addGroupUser(groupId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
body | GroupIdForGroupUserInclusion | User id to add | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Group] allGroupGroups(groupId, opts)
Get All Groups in Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allGroupGroups(groupId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[User] allGroupUsers(groupId, opts)
Get All Users in Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var opts = {
'fields': "fields_example", // {String} Requested fields.
'page': 789, // {Integer} Requested page.
'perPage': 789, // {Integer} Results per page.
'sorts': "sorts_example" // {String} Fields to sort by.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allGroupUsers(groupId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
fields | String | Requested fields. | [optional] |
page | Integer | Requested page. | [optional] |
perPage | Integer | Results per page. | [optional] |
sorts | String | Fields to sort by. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Group] allGroups(opts)
Get All Groups
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var opts = {
'fields': "fields_example", // {String} Requested fields.
'page': 789, // {Integer} Requested page.
'perPage': 789, // {Integer} Results per page.
'sorts': "sorts_example", // {String} Fields to sort by.
'ids': [56], // {[Integer]} Optional of ids to get specific groups.
'contentMetadataId': 789, // {Integer} Id of content metadata to which groups must have access.
'canAddToContentMetadata': true // {Boolean} Select only groups that either can/cannot be given access to content.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.allGroups(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
fields | String | Requested fields. | [optional] |
page | Integer | Requested page. | [optional] |
perPage | Integer | Results per page. | [optional] |
sorts | String | Fields to sort by. | [optional] |
ids | [Integer] | Optional of ids to get specific groups. | [optional] |
contentMetadataId | Integer | Id of content metadata to which groups must have access. | [optional] |
canAddToContentMetadata | Boolean | Select only groups that either can/cannot be given access to content. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Group createGroup(opts)
Create Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var opts = {
'body': new LookerApi30Reference.Group(), // {Group} Group
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createGroup(opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
body | Group | Group | [optional] |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
'String' deleteGroup(groupId)
Delete Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.deleteGroup(groupId, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group |
'String'
No authorization required
- Content-Type: application/json
- Accept: application/json
deleteGroupFromGroup(groupId, deletingGroupId)
Deletes a Group from Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var deletingGroupId = 789; // {Integer} Id of group to delete
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.deleteGroupFromGroup(groupId, deletingGroupId, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
deletingGroupId | Integer | Id of group to delete |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
deleteGroupUser(groupId, userId)
Remove a User from Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var userId = 789; // {Integer} Id of user to remove from group
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.deleteGroupUser(groupId, userId, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
userId | Integer | Id of user to remove from group |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
deleteUserAttributeGroupValue(groupId, userAttributeId)
Delete User Attribute Group Value
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var userAttributeId = 789; // {Integer} Id of user attribute
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.deleteUserAttributeGroupValue(groupId, userAttributeId, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
userAttributeId | Integer | Id of user attribute |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
Group group(groupId, opts)
Get Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.group(groupId, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Group updateGroup(groupId, body, opts)
Update Group
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var body = new LookerApi30Reference.Group(); // {Group} Group
var opts = {
'fields': "fields_example" // {String} Requested fields.
};
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateGroup(groupId, body, opts, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
body | Group | Group | |
fields | String | Requested fields. | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
UserAttributeGroupValue updateUserAttributeGroupValue(groupId, userAttributeId, body)
Set User Attribute Group Value
For information about how user attribute values are calculated, see Set User Attribute Group Values.
var LookerApi30Reference = require('looker-api-3');
var apiInstance = new LookerApi30Reference.GroupApi()
var groupId = 789; // {Integer} Id of group
var userAttributeId = 789; // {Integer} Id of user attribute
var body = new LookerApi30Reference.UserAttributeGroupValue(); // {UserAttributeGroupValue} New value for group.
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.updateUserAttributeGroupValue(groupId, userAttributeId, body, callback);
Name | Type | Description | Notes |
---|---|---|---|
groupId | Integer | Id of group | |
userAttributeId | Integer | Id of user attribute | |
body | UserAttributeGroupValue | New value for group. |
No authorization required
- Content-Type: application/json
- Accept: application/json