All URIs are relative to https://picomes.cloud.looker.com:443/api/3.1
Method | HTTP request | Description |
---|---|---|
AllModelSets | Get /model_sets | Get All Model Sets |
AllPermissionSets | Get /permission_sets | Get All Permission Sets |
AllPermissions | Get /permissions | Get All Permissions |
AllRoles | Get /roles | Get All Roles |
CreateModelSet | Post /model_sets | Create Model Set |
CreatePermissionSet | Post /permission_sets | Create Permission Set |
CreateRole | Post /roles | Create Role |
DeleteModelSet | Delete /model_sets/{model_set_id} | Delete Model Set |
DeletePermissionSet | Delete /permission_sets/{permission_set_id} | Delete Permission Set |
DeleteRole | Delete /roles/{role_id} | Delete Role |
ModelSet | Get /model_sets/{model_set_id} | Get Model Set |
PermissionSet | Get /permission_sets/{permission_set_id} | Get Permission Set |
Role | Get /roles/{role_id} | Get Role |
RoleGroups | Get /roles/{role_id}/groups | Get Role Groups |
RoleUsers | Get /roles/{role_id}/users | Get Role Users |
SearchModelSets | Get /model_sets/search | Search Model Sets |
SearchPermissionSets | Get /permission_sets/search | Search Permission Sets |
SearchRoles | Get /roles/search | Search Roles |
SetRoleGroups | Put /roles/{role_id}/groups | Update Role Groups |
SetRoleUsers | Put /roles/{role_id}/users | Update Role Users |
UpdateModelSet | Patch /model_sets/{model_set_id} | Update Model Set |
UpdatePermissionSet | Patch /permission_sets/{permission_set_id} | Update Permission Set |
UpdateRole | Patch /roles/{role_id} | Update Role |
[]ModelSet AllModelSets(ctx, optional)
Get All Model Sets
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AllModelSetsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AllModelSetsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PermissionSet AllPermissionSets(ctx, optional)
Get All Permission Sets
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AllPermissionSetsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AllPermissionSetsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Permission AllPermissions(ctx, )
Get All Permissions
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Role AllRoles(ctx, optional)
Get All Roles
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *AllRolesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a AllRolesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. | |
ids | optional.Interface of []int64 | Optional list of ids to get specific roles. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ModelSet CreateModelSet(ctx, body)
Create Model Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | ModelSet | ModelSet |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PermissionSet CreatePermissionSet(ctx, body)
Create Permission Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | PermissionSet | Permission Set |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role CreateRole(ctx, body)
Create Role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
body | Role | Role |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string DeleteModelSet(ctx, modelSetId)
Delete Model Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
modelSetId | int64 | id of model set |
string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string DeletePermissionSet(ctx, permissionSetId)
Delete Permission Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
permissionSetId | int64 | Id of permission set |
string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string DeleteRole(ctx, roleId)
Delete Role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of role |
string
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ModelSet ModelSet(ctx, modelSetId, optional)
Get Model Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
modelSetId | int64 | Id of model set | |
optional | *ModelSetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a ModelSetOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| Requested fields. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PermissionSet PermissionSet(ctx, permissionSetId, optional)
Get Permission Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
permissionSetId | int64 | Id of permission set | |
optional | *PermissionSetOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a PermissionSetOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| Requested fields. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role Role(ctx, roleId)
Get Role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of role |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Group RoleGroups(ctx, roleId, optional)
Get Role Groups
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of role | |
optional | *RoleGroupsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RoleGroupsOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| Requested fields. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]User RoleUsers(ctx, roleId, optional)
Get Role Users
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of user | |
optional | *RoleUsersOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a RoleUsersOpts struct
Name | Type | Description | Notes |
---|
fields | optional.String| Requested fields. | directAssociationOnly | optional.Bool| Get only users associated directly with the role: exclude those only associated through groups. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]ModelSet SearchModelSets(ctx, optional)
Search Model Sets
Search model sets Returns all model set records that match the given search criteria. If multiple search params are given and filter_or
is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match all search param criteria will be returned. If filter_or
is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match any of the search criteria. String search params use case-insensitive matching. String search params can contain %
and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump" Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values. Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null. Boolean search params accept only "true" and "false" as values.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *SearchModelSetsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SearchModelSetsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. | |
limit | optional.Int64 | Number of results to return (used with `offset`). | |
offset | optional.Int64 | Number of results to skip before returning any (used with `limit`). | |
sorts | optional.String | Fields to sort by. | |
id | optional.Int64 | Match model set id. | |
name | optional.String | Match model set name. | |
allAccess | optional.Bool | Match model sets by all_access status. | |
builtIn | optional.Bool | Match model sets by built_in status. | |
filterOr | optional.Bool | Combine given search criteria in a boolean OR expression. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]PermissionSet SearchPermissionSets(ctx, optional)
Search Permission Sets
Search permission sets Returns all permission set records that match the given search criteria. If multiple search params are given and filter_or
is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match all search param criteria will be returned. If filter_or
is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match any of the search criteria. String search params use case-insensitive matching. String search params can contain %
and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump" Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values. Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null. Boolean search params accept only "true" and "false" as values.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *SearchPermissionSetsOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SearchPermissionSetsOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. | |
limit | optional.Int64 | Number of results to return (used with `offset`). | |
offset | optional.Int64 | Number of results to skip before returning any (used with `limit`). | |
sorts | optional.String | Fields to sort by. | |
id | optional.Int64 | Match permission set id. | |
name | optional.String | Match permission set name. | |
allAccess | optional.Bool | Match permission sets by all_access status. | |
builtIn | optional.Bool | Match permission sets by built_in status. | |
filterOr | optional.Bool | Combine given search criteria in a boolean OR expression. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Role SearchRoles(ctx, optional)
Search Roles
Search roles Returns all role records that match the given search criteria. If multiple search params are given and filter_or
is FALSE or not specified, search params are combined in a logical AND operation. Only rows that match all search param criteria will be returned. If filter_or
is TRUE, multiple search params are combined in a logical OR operation. Results will include rows that match any of the search criteria. String search params use case-insensitive matching. String search params can contain %
and '_' as SQL LIKE pattern match wildcard expressions. example="dan%" will match "danger" and "Danzig" but not "David" example="D_m%" will match "Damage" and "dump" Integer search params can accept a single value or a comma separated list of values. The multiple values will be combined under a logical OR operation - results will match at least one of the given values. Most search params can accept "IS NULL" and "NOT NULL" as special expressions to match or exclude (respectively) rows where the column is null. Boolean search params accept only "true" and "false" as values.
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
optional | *SearchRolesOpts | optional parameters | nil if no parameters |
Optional parameters are passed through a pointer to a SearchRolesOpts struct
Name | Type | Description | Notes |
---|---|---|---|
fields | optional.String | Requested fields. | |
limit | optional.Int64 | Number of results to return (used with `offset`). | |
offset | optional.Int64 | Number of results to skip before returning any (used with `limit`). | |
sorts | optional.String | Fields to sort by. | |
id | optional.Int64 | Match role id. | |
name | optional.String | Match role name. | |
builtIn | optional.Bool | Match roles by built_in status. | |
filterOr | optional.Bool | Combine given search criteria in a boolean OR expression. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]Group SetRoleGroups(ctx, roleId, body)
Update Role Groups
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | Id of Role | |
body | []int64 | Array of Group Ids |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
[]User SetRoleUsers(ctx, roleId, body)
Update Role Users
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of role | |
body | []int64 | array of user ids for role |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
ModelSet UpdateModelSet(ctx, modelSetId, body)
Update Model Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
modelSetId | int64 | id of model set | |
body | ModelSet | ModelSet |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PermissionSet UpdatePermissionSet(ctx, permissionSetId, body)
Update Permission Set
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
permissionSetId | int64 | id of permission set | |
body | PermissionSet | Permission Set |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Role UpdateRole(ctx, roleId, body)
Update Role
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
roleId | int64 | id of role | |
body | Role | Role |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]