{"swagger":"2.0","host":false,"tags":[{"name":"Maintenance","description":"Maintenance APIs"},{"name":"Permissions","description":"Manage Profiles Permissions"},{"name":"Powerusers","description":"Manage Power Users"},{"name":"Profiles","description":"Manage Power Users Profiles"},{"name":"Resources","description":"Obtain information about platform resources"}],"info":{"title":"Poweruser","version":"1.0","description":""},"paths":{"/poweruser/v1/permissions":{"get":{"tags":["Permissions"],"operationId":"Permissions./poweruser/v1/permissions","parameters":[],"summary":"Retrieve the list of Permissions","last_modified_date":"","description":"Recovers the list of Permissions assignable to a Profile","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPermissionsListPermissionsResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers","parameters":[{"in":"query","name":"profile_id","type":"integer","required":false,"description":"Filter by the given profile id"},{"in":"query","name":"without_profiles","type":"boolean","required":false,"description":"Filter for PowerUsers without profile. Default false"},{"in":"query","name":"without_users","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned users. Default false"},{"in":"query","name":"without_groups","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned groups. Default false"},{"in":"query","name":"without_branches","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned branches. Default false"},{"in":"query","name":"without_courses","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned courses. Default false"},{"in":"query","name":"without_lps","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned learning plans. Default false"},{"in":"query","name":"without_categories","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned categories. Default false"},{"in":"query","name":"without_catalogs","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned catalogs. Default false"},{"in":"query","name":"without_communities","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned communities. Valid only when the Community app is enabled. Default false"},{"in":"query","name":"without_locations","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned locations. Default false"},{"in":"query","name":"without_channels","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned channels. Default false"},{"in":"query","name":"without_checklists","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned checklists. Valid only when the PU OTJ checklists toggle is enabled. Default false"},{"in":"query","name":"without_tmrepo_folders","type":"boolean","required":false,"description":"Filter for PowerUsers without assigned Training Material Repository folders. Default false"},{"in":"query","collectionFormat":"brackets","items":{"type":"string"},"name":"with_permissions","type":"array","required":false,"description":"Filter for PowerUsers permissions using the OR logic"},{"in":"query","collectionFormat":"brackets","items":{"type":"string"},"name":"with_all_permissions","type":"array","required":false,"description":"Filter for PowerUsers permissions using the AND logic; when this parameter is used, the with_permissions parameter is ignored"},{"in":"query","collectionFormat":"brackets","items":{"type":"integer"},"name":"group_ids","type":"array","required":false,"description":"Filter for PowerUsers that belong to these group ids"},{"in":"query","collectionFormat":"brackets","items":{"type":"integer"},"name":"branch_ids","type":"array","required":false,"description":"Filter for PowerUsers that belong to these branch ids"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["username","firstname","lastname","email"],"name":"sort_type","type":"string","required":false,"description":"Sort attribute. Default value: username"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search PowerUser based on username, firstname, lastname, email."}],"summary":"Retrieve the list of Power Users","last_modified_date":"","description":"Recovers a list of Power Users according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListPowerUsersResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type {sort_type} is not valid","1004":"The sort direction {sort_direction} is not valid","1005":"Search parameter must not longer than {max_char_limit} chars","1007":"The field {field_name} must be a boolean","1008":"The field {field_name} must be a number","1015":"The field {field_name} must be a valid enum value"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"post":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersCreatePowerUsersSchema"}}],"summary":"Create Power Users","last_modified_date":"","description":"Promote a list of normal users to Power Users","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersCreatePowerUsersResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Cannot promote users who are not assigned to you.","1010":"The field {field_name} must be an array of numbers","2001":"Only learner can be upgraded to Power User","9000":"A required role group is not present in your platform. Please contact an administrator"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignPowerUserSchema"}}],"summary":"Unassign Power Users","last_modified_date":"","description":"Unassign one or more Power Users","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignPowerUserResponse"}},"400":{"description":"General Error","error_codes":{"1007":"The field {field_name} must be a boolean","1008":"The field profile_id must be a number","1010":"The field user_ids must be an array of numbers","1011":"The field search must be less then 200 char long","2002":"User(s) must be specified","4002":"User(s) must be power users"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/batch":{"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchunassignPowerUserSchema"}}],"summary":"Batch unassign Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchunassignPowerUserResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"The power user id"}],"summary":"Retrieve the details of a Power User","last_modified_date":"2024.10.15","description":"Retrieve the details of a specific Power User according to the given user id","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersViewPowerUserResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUpdatePowerUserSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"The power user id to update"}],"summary":"Update Power User","last_modified_date":"","description":"Update an existent Power User, a Power User can not have more than 10 profiles","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUpdatePowerUserResponse"}},"400":{"description":"General Error","error_codes":{"1010":"The field profile_ids must be an array of numbers","4005":"Only valid Profile(s) can be assigned"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/profiles":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/profiles","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id to retrieve the assigned profiles"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","description","created_at"],"name":"sort_type","type":"string","required":false,"description":"Sort attribute. Default value: created_at"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: desc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Profiles based on name, description"},{"in":"query","name":"show_assignable_profiles","type":"boolean","required":false,"description":"If true retrive the assignable profiles instead of the assigned ones. Default false"}],"summary":"Retrieve the list of Profiles assigned to a Power User","last_modified_date":"","description":"Recover the list of Profiles assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable_profiles must be a boolean","1008":"The field user_id must be a number","4002":"User(s) must be power users"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/profiles":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/profiles","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignProfilesSchema"}}],"summary":"Assign profiles to Power Users","last_modified_date":"","description":"Assign profiles to Power Users, if there are more than 100 unique pair of power user - profile the operation will be executed as background job. A Power User can not have more than 10 profiles","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1007":"The field {field_name} must be a boolean","1008":"The field {field_name} must be a number","1010":"The field {field_name} must be an array of numbers","1011":"The field {field_name} must be less then {max_char_limit} char long","4001":"User(s) must be specified in order to assign profile(s)","4002":"User(s) must be power users","4003":"Profile(s) must be specified in order to assign them","4005":"Only valid Profile(s) can be assigned"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/profiles","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignProfilesSchema"}}],"summary":"Unassign Profiles","last_modified_date":"","description":"Unassign one or more Profiles from one or more Power Users, if there are more than 100 unique pair of power user - profile the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1007":"The field {field_name} must be a boolean","1008":"The field {field_name} must be a number","1010":"The field {field_name} must be an array of numbers","1011":"The field {field_name} must be less then {max_char_limit} char long","4001":"User(s) must be specified in order to unassign profile(s)","4002":"User(s) must be power users","4003":"Profile(s) must be specified in order to unassign them","4004":"Only valid Profile(s) can be unassigned"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/profiles/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/profiles/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignProfilesSchema"}}],"summary":"Batch assign Profiles","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignProfilesResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/profiles/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignProfilesSchema"}}],"summary":"Batch unassign Profiles","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/wildcards":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/wildcards","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignWildcardsSchema"}}],"summary":"Assign Wildcard to Power Users","last_modified_date":"","description":"Assign a Wildcard to Power Users, if there are more than 10 unique pair of power user - wildcard the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignWildcardsResponse"}},"400":{"description":"General Error","error_codes":{"1010":"The field user_ids must be an array of numbers","1005":"Search parameter must not longer than 200 chars","1006":"The reason code '{input string}' is not valid","1007":"The field user_all must be a boolean","4002":"User(s) must be power users","7001":"Users must be specified in order to assign wildcards"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/wildcards/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/wildcards/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignWildcardsSchema"}}],"summary":"Batch assign Wildcards","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignWildcardsResponse"}},"400":{"description":"General Error","error_codes":{"1006":"The reason code '{input string}' is not valid","1008":"The field user_id must be a number","1009":"The field items must be an array","4002":"User(s) must be power users"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/users":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/users","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned users"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["username","firstname","lastname","email","creation"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: username"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: desc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Users based on username, firstname, lastname, email"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only users assignable to this Power User. Default false"}],"summary":"Retrieve the list of Users assigned to a Power User","last_modified_date":"2023.06.22","description":"Recover the list of Users assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedUserResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/users","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignUserSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign users to Power User","last_modified_date":"","description":"Assign Users to Power User. If there are more than 1000 Users the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignUserResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6001":"Invalid user id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/users","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignUserSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Users from Power User","last_modified_date":"","description":"Unassign Users from Power User, if there are more than 1000 Users the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignUserResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6001":"Invalid user id provided","7000":"Power Users cannot perform mass unassign"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/groups":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/groups","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned groups"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","description","members"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Groups based on name and description"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only groups assignable to this Power User. Default false"}],"summary":"Retrieve the list of Groups assigned to a Power User","last_modified_date":"2024.10.24","description":"Recover the list of Groups assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedGroupResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/groups","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignGroupSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Groups to Power User","last_modified_date":"","description":"Assign Groups to Power User. If there are more than 1000 Groups the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignGroupResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6008":"Invalid location id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/groups","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignGroupSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Groups from Power User","last_modified_date":"","description":"Unassign Groups from Power User. If there are more than 1000 Groups the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignGroupResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6001":"Invalid user id provided","7000":"Power Users cannot perform mass unassign"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/branches":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/branches","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned branches"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","route","descendant"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Branches based on its name"},{"in":"query","name":"filter_by_superpu","type":"boolean","required":false,"description":"When the caller is a Super Power User, if true the api will return only the branches assigned to him. Default false."}],"summary":"Retrieve the list of Branches assigned to a Power User","last_modified_date":"2024.10.24","description":"Recover the list of Branches assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedBranchResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/branches","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignBranchSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Branches to Power User","last_modified_date":"2024.11.21","description":"Assign Branches to Power User","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignBranchResponse"}},"400":{"description":"General Error","error_codes":{"1007":"The field with_descendants must be a boolean","1008":"The field id must be a number","1014":"The field node_list must be an array of nodes","6003":"Invalid branch id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/branches","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignBranchSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Branches from Power User","last_modified_date":"","description":"Unassign Branches from Power User. If there are more than 1000 Branches the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignBranchResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6001":"Invalid user id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/categories":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/categories","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned categories"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","route","descendant","courses"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Categories based on its name"},{"in":"query","name":"filter_by_superpu","type":"boolean","required":false,"description":"When the caller is a Super Power User, if true the api will return only the categories assigned to him of visible by him. Default false."}],"summary":"Retrieve the list of Categories assigned to a Power User","last_modified_date":"","description":"Recover the list of Categories assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCategoryResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/courses":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/courses","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned courses"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["code","name","type"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Courses based on code and name"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Courses assignable to this Power User. Default false"}],"summary":"Retrieve the list of Courses assigned to a Power User","last_modified_date":"2023.10.26","description":"Recover the list of Courses assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCourseResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/lps":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/lps","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned Learning Plans"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["code","name"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Learning Plans based on code and name"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Learning Plans assignable to this Power User. Default false"}],"summary":"Retrieve the list of Learning Plans assigned to a Power User","last_modified_date":"2023.10.26","description":"Recover the list of Learning Plans assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLpsResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/certifications":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/certifications","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned Certifications"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["code","name"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Certifications based on code and name"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Certifications assignable to this Power User. Default false"}],"summary":"Retrieve the list of Certifications assigned to a Power User","last_modified_date":"2026.04.28","description":"Recover the list of Certifications (learning_coursepath.type = 2) assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCertificationsResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/catalogs":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/catalogs","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned Catalogs"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["code","name"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Catalogs based on code and name"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Catalogs assignable to this Power User. Default false"}],"summary":"Retrieve the list of Catalogs assigned to a Power User","last_modified_date":"2023.06.22","description":"Recover the list of Catalogs assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCatalogResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/catalogs","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignCatalogSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Catalogs to Power User","last_modified_date":"","description":"Assign Catalogs to Power User. If there are more than 1000 Catalogs the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignCatalogResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6007":"Invalid catalog id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/catalogs","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignCatalogSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Catalogs from Power User","last_modified_date":"","description":"Unassign Catalogs from Power User. If there are more than 1000 Catalogs the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignCatalogResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6007":"Invalid catalog id provided","7000":"Power Users cannot perform mass unassign"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/locations":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/locations","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned Locations"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","address","country","classrooms"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Locations based on name and address"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Locations assignable to this Power User. Default false"}],"summary":"Retrieve the list of Locations assigned to a Power User","last_modified_date":"2023.06.22","description":"Recover the list of Locations assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLocationResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/locations","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignLocationSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Locations to Power User","last_modified_date":"","description":"Assign Locations to Power User, if there are more than 1000 Locations the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignLocationResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6008":"Invalid location id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/locations","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignLocationSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Locations from Power User","last_modified_date":"","description":"Unassign Locations from Power User, if there are more than 1000 Locations the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignLocationResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of numbers","6008":"Invalid location id provided","7000":"Power Users cannot perform mass unassign"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/channels":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/channels","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned channels"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","creation"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: desc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Channels based on names"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Channels assignable to this Power User. Default false"}],"summary":"Retrieve the list of Channels assigned to a Power User","last_modified_date":"","description":"Recover the list of Channels assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChannelResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/channels","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignChannelsSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Channels to Power User","last_modified_date":"","description":"Assign Channels to Power User, if there are more than 1000 Channels the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignChannelsResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1008":"The field user_id must be a number","1010":"The field id_list must be an array of numbers","6008":"Invalid channel id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/channels","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignChannelsSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Remove a list of Channels assigned to a Power User","last_modified_date":"","description":"Remove a list of Channels assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignChannelsResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Fields 'all' and 'id_list' cannot be used together","1002":"Invalid parameter: id_list","1003":"Invalid parameter: all","1004":"Invalid parameter: filter.search","1005":"Invalid parameter: Field 'all' must be true to use 'filter'"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/learning-content":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/learning-content","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["code","name","type"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Learning Contents based on code and name"},{"in":"query","collectionFormat":"brackets","items":{"type":"string"},"name":"types","type":"array","required":false,"description":"The types of learning content to return. Can be &#039;course&#039;, &#039;coursepath&#039;, &#039;category&#039;, &#039;category_desc&#039;. If toggle release/weekly/power-user-v1.5 is active it accepts &#039;elearning&#039;, &#039;classroom&#039; instead of &#039;course&#039;."}],"summary":"Retrieve Courses, Learning Plans, Categories assigned to Power User","last_modified_date":"","description":"Retrieve Courses, Learning Plans and/or categories assigned to Power User","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLearningContentResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/learning-content","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Courses, Learning Plans, Categories to Power User","last_modified_date":"2024.11.13","description":"Assign Courses, Learning Plans and/or categories to Power User. The assignment of a wildcard takes priority over the assignment of specific Learning Contents. If there are more than 1000 Courses and Learning Plans their assignment will be executed as background job, Categories will be always assign immediately.","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/learning-content","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignLearningContentSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Courses, Learning Plans, Categories from Power User Assignments","last_modified_date":"","description":"Unassign Courses, Learning Plans and/or Categories from Power User assignments. If there are more than 1000 Learning Content the operation will be executed as background job","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignLearningContentResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/communities":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/communities","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned communities"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","published"],"name":"sort_type","type":"string","required":false,"description":"Sort type. Default: name"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search communities based on name and domain"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only communities assignable to this Power User. Default false"},{"in":"query","name":"cursor","type":"string","description":"Data set navigational cursor previously obtained by passing get_cursor=1. This parameter is to be considered as deprecated and it will be removed in a future release.","default":""},{"in":"query","name":"get_cursor","type":"integer","description":"Generate and return \"cursor\" and prebuilt navigational \"_links\". Default=0. This parameter is to be considered as deprecated and it will be removed in a future release.","default":""},{"in":"query","name":"page_size","type":"integer","description":"Maximum number of results per page. Maximum value 200","default":"20"},{"in":"query","name":"page","type":"integer","description":"Page to return, default 1.","default":"1"}],"summary":"Retrieve the list of Communities assigned to a Power User","last_modified_date":"2023.12.05","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Community App is not active","1002":"The page parameter must be a number greater than 0","1003":"The page size parameter must be a number greater than 0","1004":"The sort type \"%s\" is not valid","1005":"The sort direction \"%s\" is not valid","1006":"Search parameter must not longer than %d chars","1007":"The field show_assignable must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/communities","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignCommunitiesSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Communities to Power User","last_modified_date":"2023.11.30","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignCommunitiesResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Community App is not active","1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of strings","6008":"Invalid community id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/communities","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersRemoveCommunitiesSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Unassign Communities from Power User","last_modified_date":"2023.12.11","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersRemoveCommunitiesResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Community App is not active","1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1010":"The field id_list must be an array of strings","6008":"Invalid community id provided","7000":"Power Users cannot perform mass remove"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/checklists":{"get":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/checklists","parameters":[{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id used for retrieving the assigned checklists"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["title","code","created_at","created_by"],"name":"sort_type","type":"string","required":false,"description":"Sort type. For created_by, order is by creator last name, first name, then username (not raw user id); rows with no creator sort last. Default: title"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Checklists based on title and code"},{"in":"query","name":"show_assignable","type":"boolean","required":false,"description":"If true it shows only Checklists assignable to this Power User. Default false"}],"summary":"Retrieve the list of OTJ Checklists assigned to a Power User","last_modified_date":"","description":"Recover the list of OTJ Checklists assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChecklistsResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/checklists","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersAssignChecklistsSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Assign Checklists to Power User","last_modified_date":"","description":"Assign Checklists to Power User","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersAssignChecklistsResponse"}},"400":{"description":"General Error","error_codes":{"1005":"Search parameter must not longer than %d chars","1007":"The field all must be a boolean","1008":"The field user_id must be a number","1010":"The field id_list must be an array of numbers","6008":"Invalid checklist id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/checklists","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignChecklistsSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Remove a list of Checklists assigned to a Power User","last_modified_date":"","description":"Remove a list of OTJ Checklists assigned to a specific Power User according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersUnassignChecklistsResponse"}},"400":{"description":"General Error","error_codes":{"1001":"Fields 'all' and 'id_list' cannot be used together","1002":"Invalid parameter: id_list","1003":"Invalid parameter: all","1004":"Invalid parameter: filter.search","1005":"Invalid parameter: Field 'all' must be true to use 'filter'","6008":"Invalid checklist id provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/users/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/users/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignUserSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch assign Users to Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignUserResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/users/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignUserSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Users from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignUserResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/groups/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/groups/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignGroupSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch assign Groups to Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignGroupResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/groups/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignGroupSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Groups from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignGroupResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/catalogs/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/catalogs/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignCatalogSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch assign Catalogs to Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignCatalogResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/catalogs/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignCatalogSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Catalogs from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignCatalogResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/locations/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/locations/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLocationSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch assign Locations to Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLocationResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/locations/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLocationSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Locations from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLocationResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/learning-content/batch":{"put":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/learning-content/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLearningContentSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch assign Courses, Learning Plans to Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLearningContentResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/learning-content/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLearningContentSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Courses, Learning Plans, Categories from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLearningContentResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/powerusers/{user_id}/branches/batch":{"delete":{"tags":["Powerusers"],"operationId":"Powerusers./poweruser/v1/powerusers/{user_id}/branches/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignBranchSchema"}},{"in":"path","name":"user_id","type":"integer","required":true,"description":"Power user id"}],"summary":"Batch unassign Branches from Power Users","last_modified_date":"","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignBranchResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/profiles":{"get":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles","parameters":[{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["name","description","created_at"],"name":"sort_type","type":"string","required":false,"description":"Sort attribute. Default value: created_at"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: desc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search Profiles based on name, description"},{"in":"query","name":"with_permissions","type":"boolean","required":false,"description":"Filter for Profiles with at least one assigned permission. Default false"},{"in":"query","name":"without_permissions","type":"boolean","required":false,"description":"Filter for Profiles without assigned permissions. Default false"},{"in":"query","name":"with_power_users","type":"boolean","required":false,"description":"Filter for Profiles with at least one power user. Default false"},{"in":"query","name":"without_power_users","type":"boolean","required":false,"description":"Filter for Profiles without power users. Default false"},{"in":"query","name":"filter_by_superpu","type":"boolean","required":false,"description":"True if we want to filer by super pu. Default false"}],"summary":"Retrieve the list of Power Users Profiles","last_modified_date":"","description":"Recovers a list of Power Users Profiles according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesListProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field %s must be a boolean"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"post":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserProfilesCreateProfilesSchema"}}],"summary":"Create Profiles","last_modified_date":"","description":"Create a new Profiles","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesCreateProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1011":"The field name must be a valid string","1012":"The field {field_name} must be less then {max_char_limit} char long","1013":"Special characters including {excluded} are not allowed","3001":"A profile with that name already exists"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"delete":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserProfilesDeleteProfilesSchema"}}],"summary":"Delete Profiles","last_modified_date":"","description":"Delete one or more Profiles","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesDeleteProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1007":"The field {field_name} must be a boolean","1010":"The field profiles_ids must be an array of numbers","1011":"The field search must be less then 200 char long","3005":"Only valid Profile(s) can be deleted","3006":"Profile(s) must be specified in order to delete them"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/profiles/{profile_id}":{"post":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles/{profile_id}","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserProfilesDuplicateProfilesSchema"}},{"in":"path","name":"profile_id","type":"integer","required":true,"description":"The profile id to duplicate"}],"summary":"Duplicate Profiles","last_modified_date":"","description":"Duplicate a Profiles","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesDuplicateProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1011":"The field name must be a valid string","1012":"The field {field_name} must be less then {max_char_limit} char long","1013":"Special characters including {excluded} are not allowed","3001":"A profile with that name already exists"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"get":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles/{profile_id}","parameters":[{"in":"path","name":"profile_id","type":"integer","required":true,"description":"The profile id"}],"summary":"Retrieve the details of a Profile","last_modified_date":"","description":"Retrieve the details of a specific Profile according to the given profile id","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesViewProfileResponse"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}},"put":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles/{profile_id}","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserProfilesUpdateProfileSchema"}},{"in":"path","name":"profile_id","type":"integer","required":true,"description":"The profile id to update"}],"summary":"Update Profile","last_modified_date":"","description":"Update an existent Profile","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesUpdateProfileResponse"}},"400":{"description":"General Error","error_codes":{"1010":"The field additional_fields must be an array of numbers","1011":"The field name must be a valid string","1012":"The field {field_name} must be less then {max_char_limit} char long","1013":"Special characters including {excluded} are not allowed","3001":"A profile with that name already exists","4007":"Invalid additional fields provided","5001":"Invalid permissions provided"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/profiles/batch":{"delete":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles/batch","parameters":[{"in":"body","name":"body","description":"Raw Body","required":false,"schema":{"$ref":"#/definitions/PoweruserProfilesBatchDeleteProfilesSchema"}}],"summary":"Batch delete Profiles","last_modified_date":"2024.02.16","description":"","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesBatchDeleteProfilesResponse"}},"400":{"description":"General Error","error_codes":{"1009":"The field items must be an array"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}},"/poweruser/v1/profiles/{profile_id}/powerusers":{"get":{"tags":["Profiles"],"operationId":"Profiles./poweruser/v1/profiles/{profile_id}/powerusers","parameters":[{"in":"path","name":"profile_id","type":"integer","required":true,"description":"Profile id to retrieve the assigned power users"},{"in":"query","name":"page","type":"integer","required":false,"description":"Number of the page to read. Default value: 1"},{"in":"query","name":"page_size","type":"integer","required":false,"description":"Number of items to read. Default value: 10"},{"in":"query","enum":["username","firstname","lastname","email","assigned_at"],"name":"sort_type","type":"string","required":false,"description":"Sort attribute. Default value: username"},{"in":"query","enum":["asc","desc"],"name":"sort_dir","type":"string","required":false,"description":"Sorting direction. Default value: asc"},{"in":"query","name":"search","type":"string","required":false,"description":"Search PowerUser based on username, firstname, lastname, email."},{"in":"query","name":"show_assignable_powerusers","type":"boolean","required":false,"description":"If true retrive the assignable power users instead of the assigned ones. Default false"}],"summary":"Retrieve the list of Power Users assigned to a Profile","last_modified_date":"2024.05.10","description":"Recover the list of Power Users assigned to a specific Profile according to the given filters","responses":{"200":{"description":"Operation Successful","schema":{"$ref":"#/definitions/PoweruserProfilesListAssignedPowerUsersResponse"}},"400":{"description":"General Error","error_codes":{"1001":"The page parameter must be a number greater than 0","1002":"The page size parameter must be a number greater than 0","1003":"The sort type \"%s\" is not valid","1004":"The sort direction \"%s\" is not valid","1005":"Search parameter must not longer than %d chars","1007":"The field show_assignable_powerusers must be a boolean","1008":"The field profile_id must be a number"}},"500":{"description":"Internal server error"},"401":{"description":"Your request was made with invalid credentials."},"403":{"description":"Permission denied"}}}}},"securityDefinitions":{"docebo_oauth":{"type":"oauth2","flow":"implicit","tokenUrl":"/oauth2/token","authorizationUrl":"/oauth2/authorize","scopes":{"api":"Common scope, used by the whole API"}}},"security":[{"docebo_oauth":["api"]}],"definitions":{"localizable":{"type":"object","required":["type"],"properties":{"type":{"type":"string","description":"The type of the localizable object. This controls whether or not the value or values property below will be populated.","collectionFormat":"brackets","enum":["single_value","multi_lang"]},"value":{"type":"string","description":"The scalar value of this localizable object, used for all languages. Only populated when \"type=single_value\"."},"values":{"type":"object","description":"A lang_code=>value structured object with the different localized names of the item, in each language, available within the platform."}}},"PoweruserPermissionsListPermissionsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPermissionsListPermissionsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPermissionsListPermissionsData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Permissions","items":{"$ref":"#/definitions/PoweruserPermissionsListPermissionsItems"}},"total_count":{"type":"integer","description":"Total Count of Permissions"}}},"PoweruserPermissionsListPermissionsItems":{"required":["code","name","description","area","dependencies"],"properties":{"code":{"type":"string","description":"Permission unique code"},"name":{"type":"string","description":"Permission name"},"description":{"type":"string","description":"Permission description"},"area":{"type":"string","description":"Permission area of action"},"dependencies":{"type":"array","description":"List of Permissions required to use the current Permission","items":{"type":"string"}}}},"PoweruserPowerusersListPowerUsersResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListPowerUsersData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListPowerUsersLinks","description":"References for pagination"}}},"PoweruserPowerusersListPowerUsersData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of PowerUsers","items":{"$ref":"#/definitions/PoweruserPowerusersListPowerUsersItems"}},"total_count":{"type":"integer","description":"Total Count of PowerUsers"}}},"PoweruserPowerusersListPowerUsersItems":{"required":["id","username","firstname","lastname","email","profiles","avatar","total_assigned_users","total_assigned_groups","total_assigned_branches","total_assigned_courses","total_assigned_lps","total_assigned_categories","total_assigned_catalogs","total_assigned_locations","total_assigned_channels","total_assigned_resource_profiles","promoter"],"properties":{"id":{"type":"integer","description":"PowerUser id"},"username":{"type":"string","description":"PowerUser username"},"firstname":{"type":"string","description":"PowerUser firstname"},"lastname":{"type":"string","description":"PowerUser lastname"},"email":{"type":"string","description":"PowerUser email"},"profiles":{"type":"array","description":"List of PowerUser Profiles","items":{"$ref":"#/definitions/PoweruserPowerusersListPowerUsersProfiles"}},"avatar":{"type":"string","description":"PowerUser avatar url - can be empty"},"total_assigned_users":{"type":"integer","description":"Number of user assigned to PowerUser"},"total_assigned_groups":{"type":"integer","description":"Number of groups assigned to PowerUser"},"total_assigned_branches":{"type":"integer","description":"Number of branches assigned to PowerUser"},"total_assigned_courses":{"type":"integer","description":"Number of courses assigned to PowerUser. It will be ALL in case of wildcard ALL_COURSE, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_LP, ALL_COURSE_LP_IN_CATALOG"},"total_assigned_lps":{"type":"integer","description":"Number of learning plans assigned to PowerUser. It will be ALL in case of wildcard ALL_LP, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_COURSE, ALL_COURSE_LP_IN_CATALOG"},"total_assigned_categories":{"type":"integer","description":"Number of categories assigned to PowerUser. It will be ALL in case of wildcard ALL_COURSE, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_LP, ALL_COURSE_LP_IN_CATALOG"},"total_assigned_catalogs":{"type":"integer","description":"Number of catalogs assigned to PowerUser"},"total_assigned_locations":{"type":"integer","description":"Number of locations assigned to PowerUser"},"total_assigned_channels":{"type":"integer","description":"Number of channels assigned to PowerUser"},"total_assigned_checklists":{"type":"integer","description":"Number of checklists assigned to PowerUser. Present when the PU OTJ checklists toggle is enabled"},"total_assigned_communities":{"type":"integer","description":"Number of communities assigned to PowerUser"},"total_assigned_tmrepo_folders":{"type":"integer","description":"The count of Training Material Repository folders assigned to the PowerUser."},"total_assigned_resource_profiles":{"type":"string","description":"Number of profiles assigned as resources to PowerUser. It will be ALL in case of wildcard ALL_PROFILES"},"superpu_can_edit":{"type":"boolean","description":"true if the Super Pu can edit the given PU, false otherwise. It will be null for SA"},"promoter":{"type":"string","description":"Promoter of the given PU, fullname for Super Pu, &quot;Superadmin&quot; for SA"}}},"PoweruserPowerusersListPowerUsersProfiles":{"required":["id","name","description","created_at","updated_at"],"properties":{"id":{"type":"integer","description":"Profile id"},"name":{"type":"string","description":"Profile name"},"description":{"type":"string","description":"Profile description"},"created_at":{"type":"string","description":"Profile creation date"},"updated_at":{"type":"string","description":"Profile last update date"}}},"PoweruserPowerusersListPowerUsersLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersCreatePowerUsersSchema":{"type":"object","required":["user_ids"],"properties":{"user_ids":{"type":"array","description":"Array of normal user ids that will be promoted to PowerUsers","items":{"type":"integer"}}}},"PoweruserPowerusersCreatePowerUsersResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersCreatePowerUsersData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersCreatePowerUsersData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersUnassignPowerUserSchema":{"type":"object","required":["user_ids","user_all"],"properties":{"user_ids":{"type":"array","description":"Array of power user ids to unassign, leave an empty array in order to use the all option","items":{"type":"integer"}},"user_all":{"type":"boolean","description":"True to take count of all power users, false otherwise"},"user_filters":{"$ref":"#/definitions/PoweruserPowerusersUnassignPowerUserUserFilters","description":"Filter the full power user list based on the options specified"}}},"PoweruserPowerusersUnassignPowerUserUserFilters":{"properties":{"search":{"type":"string","description":"Search PowerUser based on username, firstname, lastname, email."},"profile_id":{"type":"integer","description":"Filter by the given profile id"},"without_profiles":{"type":"boolean","description":"Filter for PowerUsers without profile. Default false"},"without_users":{"type":"boolean","description":"Filter for PowerUsers without assigned users. Default false"},"without_groups":{"type":"boolean","description":"Filter for PowerUsers without assigned groups. Default false"},"without_branches":{"type":"boolean","description":"Filter for PowerUsers without assigned branches. Default false"},"without_courses":{"type":"boolean","description":"Filter for PowerUsers without assigned courses. Default false"},"without_lps":{"type":"boolean","description":"Filter for PowerUsers without assigned learning plans. Default false"},"without_categories":{"type":"boolean","description":"Filter for PowerUsers without assigned categories. Default false"},"without_catalogs":{"type":"boolean","description":"Filter for PowerUsers without assigned catalogs. Default false"},"without_locations":{"type":"boolean","description":"Filter for PowerUsers without assigned locations. Default false"},"without_tmrepo_folders":{"type":"boolean","description":"Filter for PowerUsers without assigned Training Material Repository folders. Default false"},"without_communities":{"type":"boolean","description":"Filter for PowerUsers without assigned communities. Valid only when the Community app is enabled. Default false"},"without_channels":{"type":"boolean","description":"Filter for PowerUsers without assigned channels. Default false"}}},"PoweruserPowerusersUnassignPowerUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignPowerUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignPowerUserData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersBatchunassignPowerUserSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the power users id to unassign","items":{"$ref":"#/definitions/PoweruserPowerusersBatchunassignPowerUserItems"}}}},"PoweruserPowerusersBatchunassignPowerUserItems":{"required":["user_id"],"properties":{"user_id":{"type":"integer","description":"Power user id"}}},"PoweruserPowerusersBatchunassignPowerUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchunassignPowerUserData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchunassignPowerUserData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the power user processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersViewPowerUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersViewPowerUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersViewPowerUserData":{"required":["id","username","firstname","lastname","email","avatar","total_assigned_users","total_assigned_groups","total_assigned_branches","total_assigned_courses","total_assigned_courses","total_assigned_lps","total_assigned_lps","total_assigned_categories","total_assigned_catalogs","total_assigned_locations","profiles_ids","permissions","additional_fields"],"properties":{"id":{"type":"integer","description":"The Power User id"},"username":{"type":"string","description":"The Power User username"},"firstname":{"type":"string","description":"The Power User firstname"},"lastname":{"type":"string","description":"The Power User lastname"},"email":{"type":"string","description":"The Power User email"},"avatar":{"type":"string","description":"The Power User avatar url - can be empty"},"total_assigned_users":{"type":"integer","description":"Number of user assigned to PowerUser"},"total_assigned_groups":{"type":"integer","description":"Number of groups assigned to PowerUser"},"total_assigned_branches":{"type":"integer","description":"Number of branches assigned to PowerUser"},"total_assigned_courses":{"type":"integer","description":"Number of courses assigned to PowerUser. It will be ALL in case of wildcard ALL_COURSE, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_LP, ALL_COURSE_LP_IN_CATALOG"},"total_assigned_lps":{"type":"integer","description":"Number of learning plans assigned to PowerUser. It will be ALL in case of wildcard ALL_LP, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_COURSE, ALL_COURSE_LP_IN_CATALOG"},"total_assigned_categories":{"type":"integer","description":"Number of categories assigned to PowerUser. It will be ALL in case of wildcard ALL_COURSE, ALL_COURSE_LP. It will be AUTO in case of wildcard ALL_LP, ALL_COURSE_LP_IN_CATALOG. It will be AUTO_CHANNELS in case of wildcard ALL_COURSES_LP_IN_CHANNELS"},"total_assigned_catalogs":{"type":"integer","description":"Number of catalogs assigned to PowerUser"},"total_assigned_locations":{"type":"integer","description":"Number of locations assigned to PowerUser"},"total_assigned_tmrepo_folders":{"type":"integer","description":"Number of Training Material Repository folders assigned to the PowerUser."},"total_assigned_communities":{"type":"integer","description":"Number of communities assigned to PowerUser"},"profiles_ids":{"type":"array","description":"List of Profiles ids associated with this Power User","items":{"type":"integer"}},"permissions":{"type":"array","description":"List of the Power User permissions.","items":{"$ref":"#/definitions/PoweruserPowerusersViewPowerUserPermissions"}},"additional_fields":{"type":"array","description":"List of all additional fields associated with this Power User Profiles","items":{"type":"integer"}}}},"PoweruserPowerusersViewPowerUserPermissions":{"required":["code","area"],"properties":{"code":{"type":"string","description":"The permission code"},"area":{"type":"string","description":"The permission area"}}},"PoweruserPowerusersUpdatePowerUserSchema":{"type":"object","required":["profile_ids"],"properties":{"profile_ids":{"type":"array","description":"The list of profile ids to associate. Leave an empty array to remove all profiles associated","items":{"type":"integer"}}}},"PoweruserPowerusersUpdatePowerUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUpdatePowerUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUpdatePowerUserData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersListAssignedProfilesResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedProfilesLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedProfilesData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Profiles","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedProfilesItems"}},"total_count":{"type":"integer","description":"Total Count of Profiles"}}},"PoweruserPowerusersListAssignedProfilesItems":{"required":["id","name","description","created_at","updated_at","has_permissions","assigned_power_users"],"properties":{"id":{"type":"integer","description":"Profile id"},"name":{"type":"string","description":"Profile name"},"description":{"type":"string","description":"Profile description"},"created_at":{"type":"string","description":"Profile creation date"},"updated_at":{"type":"string","description":"Profile last update date"},"has_permissions":{"type":"boolean","description":"True if the Profile has at least one assigned permission"},"assigned_power_users":{"type":"integer","description":"Number of power users assigned to this Profile"}}},"PoweruserPowerusersListAssignedProfilesLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersAssignProfilesSchema":{"type":"object","required":["user_ids","user_all","profile_ids","profile_all"],"properties":{"user_ids":{"type":"array","description":"Array of power user ids from which assign profiles, leave an empty array in order to use the all option","items":{"type":"integer"}},"user_all":{"type":"boolean","description":"True to take count of all power users, false otherwise"},"user_filters":{"$ref":"#/definitions/PoweruserPowerusersAssignProfilesUserFilters","description":"Filter the full power user list based on the options specified"},"profile_ids":{"type":"array","description":"Array of profile ids to assign, leave an empty array in order to use the all option","items":{"type":"integer"}},"profile_all":{"type":"boolean","description":"True to take count of all profiles, false otherwise"},"profile_filters":{"$ref":"#/definitions/PoweruserPowerusersAssignProfilesProfileFilters","description":"Filter the full profile list based on the options specified"},"force_backgroundjob":{"type":"boolean","description":"True to execute the operation in a background job even with less than 100 unique pair of power user - profile. Default false"}}},"PoweruserPowerusersAssignProfilesUserFilters":{"properties":{"search":{"type":"string","description":"Search PowerUser based on username, firstname, lastname, email."},"profile_id":{"type":"integer","description":"Filter by the given profile id"},"without_profiles":{"type":"boolean","description":"Filter for PowerUsers without profile. Default false"},"without_users":{"type":"boolean","description":"Filter for PowerUsers without assigned users. Default false"},"without_groups":{"type":"boolean","description":"Filter for PowerUsers without assigned groups. Default false"},"without_branches":{"type":"boolean","description":"Filter for PowerUsers without assigned branches. Default false"},"without_courses":{"type":"boolean","description":"Filter for PowerUsers without assigned courses. Default false"},"without_lps":{"type":"boolean","description":"Filter for PowerUsers without assigned learning plans. Default false"},"without_categories":{"type":"boolean","description":"Filter for PowerUsers without assigned categories. Default false"},"without_catalogs":{"type":"boolean","description":"Filter for PowerUsers without assigned catalogs. Default false"},"without_locations":{"type":"boolean","description":"Filter for PowerUsers without assigned locations. Default false"},"without_tmrepo_folders":{"type":"boolean","description":"Filter for PowerUsers without assigned TM Repo folders. Default false"},"without_communities":{"type":"boolean","description":"Filter for PowerUsers without assigned communities. Valid only when the Community app is enabled. Default false"},"without_channels":{"type":"boolean","description":"Filter for PowerUsers without assigned channels. Default false"}}},"PoweruserPowerusersAssignProfilesProfileFilters":{"properties":{"search":{"type":"string","description":"Search Profiles based on name, description"},"with_permissions":{"type":"boolean","description":"Filter for Profiles with at least one assigned permission. Default false"},"without_permissions":{"type":"boolean","description":"Filter for Profiles without assigned permissions. Default false"},"with_power_users":{"type":"boolean","description":"Filter for Profiles with at least one power user. Default false"},"without_power_users":{"type":"boolean","description":"Filter for Profiles without power users. Default false"}}},"PoweruserPowerusersAssignProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignProfilesData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersBatchAssignProfilesSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing key/value pairs of profiles and power users to assign","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignProfilesItems"}}}},"PoweruserPowerusersBatchAssignProfilesItems":{"required":["user_id","profile_id"],"properties":{"user_id":{"type":"integer","description":"Power user id"},"profile_id":{"type":"integer","description":"Profile id"}}},"PoweruserPowerusersBatchAssignProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignProfilesData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignProfilesData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the power user processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersUnassignProfilesSchema":{"type":"object","required":["user_ids","user_all","profile_ids","profile_all"],"properties":{"user_ids":{"type":"array","description":"Array of power user ids from which unassign profiles, leave an empty array in order to use the all option","items":{"type":"integer"}},"user_all":{"type":"boolean","description":"True to take count of all power users, false otherwise"},"user_filters":{"$ref":"#/definitions/PoweruserPowerusersUnassignProfilesUserFilters","description":"Filter the full power user list based on the options specified"},"profile_ids":{"type":"array","description":"Array of profile ids to unassign, leave an empty array in order to use the all option","items":{"type":"integer"}},"profile_all":{"type":"boolean","description":"True to take count of all profiles, false otherwise"},"profile_filters":{"$ref":"#/definitions/PoweruserPowerusersUnassignProfilesProfileFilters","description":"Filter the full profile list based on the options specified"}}},"PoweruserPowerusersUnassignProfilesUserFilters":{"properties":{"search":{"type":"string","description":"Search PowerUser based on username, firstname, lastname, email."},"profile_id":{"type":"integer","description":"Filter by the given profile id"},"without_profiles":{"type":"boolean","description":"Filter for PowerUsers without profile. Default false"},"without_users":{"type":"boolean","description":"Filter for PowerUsers without assigned users. Default false"},"without_groups":{"type":"boolean","description":"Filter for PowerUsers without assigned groups. Default false"},"without_branches":{"type":"boolean","description":"Filter for PowerUsers without assigned branches. Default false"},"without_courses":{"type":"boolean","description":"Filter for PowerUsers without assigned courses. Default false"},"without_lps":{"type":"boolean","description":"Filter for PowerUsers without assigned learning plans. Default false"},"without_catalogs":{"type":"boolean","description":"Filter for PowerUsers without assigned catalogs. Default false"},"without_locations":{"type":"boolean","description":"Filter for PowerUsers without assigned locations. Default false"},"without_tmrepo_folders":{"type":"boolean","description":"Filter for PowerUsers without assigned TM Repo folders. Default false"},"without_communities":{"type":"boolean","description":"Filter for PowerUsers without assigned communities. Valid only when the Community app is enabled. Default false"},"without_channels":{"type":"boolean","description":"Filter for PowerUsers without assigned channels. Default false"}}},"PoweruserPowerusersUnassignProfilesProfileFilters":{"properties":{"search":{"type":"string","description":"Search Profiles based on name, description"},"with_permissions":{"type":"boolean","description":"Filter for Profiles with at least one assigned permission. Default false"},"without_permissions":{"type":"boolean","description":"Filter for Profiles without assigned permissions. Default false"},"with_power_users":{"type":"boolean","description":"Filter for Profiles with at least one power user. Default false"},"without_power_users":{"type":"boolean","description":"Filter for Profiles without power users. Default false"}}},"PoweruserPowerusersUnassignProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignProfilesData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersBatchUnassignProfilesSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing key/value pairs to remove profiles from power users","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignProfilesItems"}}}},"PoweruserPowerusersBatchUnassignProfilesItems":{"required":["user_id","profile_id"],"properties":{"user_id":{"type":"integer","description":"Power user id"},"profile_id":{"type":"integer","description":"Profile id"}}},"PoweruserPowerusersBatchUnassignProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignProfilesData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignProfilesData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the power user processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersAssignWildcardsSchema":{"type":"object","required":["user_ids","user_all","reason_code"],"properties":{"user_ids":{"type":"array","description":"Array of Power User ids from which assign Wildcards, leave an empty array in order to use the all option","items":{"type":"integer"}},"user_all":{"type":"boolean","description":"True to take count of all power users, false otherwise"},"user_filters":{"$ref":"#/definitions/PoweruserPowerusersAssignWildcardsUserFilters","description":"Filter the full power user list based on the options specified"},"reason_code":{"description":"The Wildcard code to be assigned to the Power Users","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"}}},"PoweruserPowerusersAssignWildcardsUserFilters":{"properties":{"search":{"type":"string","description":"Search PowerUser based on username, firstname, lastname, email."},"profile_id":{"type":"integer","description":"Filter by the given profile id"},"without_profiles":{"type":"boolean","description":"Filter for PowerUsers without profile. Default false"},"without_users":{"type":"boolean","description":"Filter for PowerUsers without assigned users. Default false"},"without_groups":{"type":"boolean","description":"Filter for PowerUsers without assigned groups. Default false"},"without_branches":{"type":"boolean","description":"Filter for PowerUsers without assigned branches. Default false"},"without_courses":{"type":"boolean","description":"Filter for PowerUsers without assigned courses. Default false"},"without_lps":{"type":"boolean","description":"Filter for PowerUsers without assigned learning plans. Default false"},"without_categories":{"type":"boolean","description":"Filter for PowerUsers without assigned categories. Default false"},"without_catalogs":{"type":"boolean","description":"Filter for PowerUsers without assigned catalogs. Default false"},"without_locations":{"type":"boolean","description":"Filter for PowerUsers without assigned locations. Default false"},"without_tmrepo_folders":{"type":"boolean","description":"Filter for PowerUsers without assigned Training Material Repository folders. Default false"},"without_communities":{"type":"boolean","description":"Filter for PowerUsers without assigned communities. Valid only when the Community app is enabled. Default false"},"without_channels":{"type":"boolean","description":"Filter for PowerUsers without assigned channels. Default false"}}},"PoweruserPowerusersAssignWildcardsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignWildcardsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignWildcardsData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersBatchAssignWildcardsSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing key/value pairs of Wildcard and Power Users to assign","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignWildcardsItems"}}}},"PoweruserPowerusersBatchAssignWildcardsItems":{"required":["user_id","reason_code"],"properties":{"user_id":{"type":"integer","description":"Power user id"},"reason_code":{"description":"Wildcard code","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"}}},"PoweruserPowerusersBatchAssignWildcardsResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignWildcardsData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignWildcardsData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the power user processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersListAssignedUserResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedUserLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedUserData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Users","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedUserItems"}},"total_count":{"type":"integer","description":"Total Count of Users"},"already_assigned":{"type":"integer","description":"Number of users already assigned to the PU"}}},"PoweruserPowerusersListAssignedUserItems":{"required":["id","username","firstname","lastname","email","avatar","created_at","can_manage"],"properties":{"id":{"type":"integer","description":"User Id"},"username":{"type":"string","description":"Username"},"firstname":{"type":"string","description":"User firstname"},"lastname":{"type":"string","description":"User lastname"},"email":{"type":"string","description":"User email"},"avatar":{"type":"string","description":"User avatar url"},"created_at":{"type":"string","description":"User creation date in the format YYYY-MM-DD HH:mm:ss"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the user. Always true for SA"}}},"PoweruserPowerusersListAssignedUserLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedGroupResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedGroupData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedGroupLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedGroupData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Groups","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedGroupItems"}},"total_count":{"type":"integer","description":"Total Count of Groups"},"already_assigned":{"type":"integer","description":"Number of catalogs already assigned to the PU"}}},"PoweruserPowerusersListAssignedGroupItems":{"required":["id","name","description","total_members","can_manage"],"properties":{"id":{"type":"integer","description":"Group Id"},"name":{"type":"string","description":"Group name"},"description":{"type":"string","description":"Group description"},"total_members":{"type":"integer","description":"Count of all the Group members"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the group. Always true for SA"},"active":{"type":"boolean","description":"The active status of the group."}}},"PoweruserPowerusersListAssignedGroupLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedBranchResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedBranchData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedBranchLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedBranchData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Branches","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedBranchItems"}},"total_count":{"type":"integer","description":"Total Count of Branches"}}},"PoweruserPowerusersListAssignedBranchItems":{"required":["id","name","route","with_descendants","can_manage"],"properties":{"id":{"type":"integer","description":"Branch Id"},"name":{"type":"string","description":"Branch Name"},"route":{"type":"string","description":"Branch path from root"},"with_descendants":{"type":"boolean","description":"If true the Branch descendants are included in the association. False otherwise"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the branch. Always true for SA"}}},"PoweruserPowerusersListAssignedBranchLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedCategoryResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCategoryData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCategoryLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedCategoryData":{"required":["items","total_count","all","reason_code"],"properties":{"items":{"type":"array","description":"The list of Categories","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCategoryItems"}},"total_count":{"type":"integer","description":"Total Count of Category"},"all":{"type":"boolean","description":"True if a wildcard is associated, false otherwise"},"reason_code":{"description":"The wildcard code, empty if no wildcard is set","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"}}},"PoweruserPowerusersListAssignedCategoryItems":{"required":["id","name","route","with_descendants","total_courses"],"properties":{"id":{"type":"integer","description":"Category Id"},"name":{"type":"string","description":"Category Name"},"route":{"type":"string","description":"Category path from root"},"with_descendants":{"type":"boolean","description":"If true the Category descendants are included in the association. False otherwise"},"total_courses":{"type":"integer","description":"Number of courses associated to the category"}}},"PoweruserPowerusersListAssignedCategoryLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedCourseResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCourseData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCourseLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedCourseData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Courses","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCourseItems"}},"total_count":{"type":"integer","description":"Total Count of Courses"},"all":{"type":"boolean","description":"True if a wildcard is associated, false otherwise."},"reason_code":{"description":"The wildcard code, empty if no wildcard is set.","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"},"already_assigned":{"type":"integer","description":"Number of courses already assigned to the PU"}}},"PoweruserPowerusersListAssignedCourseItems":{"required":["id","code","name","thumbnail","course_type"],"properties":{"id":{"type":"integer","description":"Course Id"},"code":{"type":"string","description":"Course Code"},"name":{"type":"string","description":"Course Name"},"thumbnail":{"type":"string","description":"Course thumbnail url"},"course_type":{"description":"Course Type","enum":["elearning","classroom"],"type":"string"}}},"PoweruserPowerusersListAssignedCourseLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedLpsResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLpsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLpsLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedLpsData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Learning Plans","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLpsItems"}},"total_count":{"type":"integer","description":"Total Count of Learning Plans"},"all":{"type":"boolean","description":"True if a wildcard is associated, false otherwise."},"reason_code":{"description":"The wildcard code, empty if no wildcard is set.","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"},"already_assigned":{"type":"integer","description":"Number of learning plans already assigned to the PU"}}},"PoweruserPowerusersListAssignedLpsItems":{"required":["id","code","thumbnail","name","type"],"properties":{"id":{"type":"integer","description":"Learning Plan Id"},"code":{"type":"string","description":"Learning Plan Code"},"thumbnail":{"type":"string","description":"Learning Plan thumbnail url"},"name":{"type":"string","description":"Learning Plan Name"},"type":{"type":"integer","description":"Type of record: 1 = Learning Plan, 2 = Certification"}}},"PoweruserPowerusersListAssignedLpsLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedCertificationsResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCertificationsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCertificationsLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedCertificationsData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Certifications","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCertificationsItems"}},"total_count":{"type":"integer","description":"Total Count of Certifications"}}},"PoweruserPowerusersListAssignedCertificationsItems":{"required":["id","code","thumbnail","name","type"],"properties":{"id":{"type":"integer","description":"Certification Id"},"code":{"type":"string","description":"Certification Code"},"thumbnail":{"type":"string","description":"Certification thumbnail url"},"name":{"type":"string","description":"Certification Name"},"type":{"type":"integer","description":"Type of record (always 2 = Certification)"}}},"PoweruserPowerusersListAssignedCertificationsLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersAssignCertificationsSchema":{"type":"object","required":["id_list"],"properties":{"id_list":{"type":"array","description":"The list of Certification IDs to persist for the Power User. An empty array clears all previously saved certifications.","items":{"type":"integer"}}}},"PoweruserPowerusersAssignCertificationsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignCertificationsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignCertificationsData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation succeeds"}}},"PoweruserPowerusersListAssignedCatalogResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCatalogData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCatalogLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedCatalogData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Catalogs","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCatalogItems"}},"total_count":{"type":"integer","description":"Total Count of Catalogs"},"already_assigned":{"type":"integer","description":"Number of catalogs already assigned to the PU"}}},"PoweruserPowerusersListAssignedCatalogItems":{"required":["id","code","name","can_manage"],"properties":{"id":{"type":"integer","description":"Catalogs Id"},"code":{"type":"string","description":"Catalogs code"},"name":{"type":"string","description":"Catalogs name"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the catalog. Always true for SA"}}},"PoweruserPowerusersListAssignedCatalogLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedLocationResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLocationData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLocationLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedLocationData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Locations","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLocationItems"}},"total_count":{"type":"integer","description":"Total Count of Locations"},"already_assigned":{"type":"integer","description":"Number of locations already assigned to the PU"}}},"PoweruserPowerusersListAssignedLocationItems":{"required":["id","name","address","country","total_classrooms","can_manage"],"properties":{"id":{"type":"integer","description":"Locations id"},"name":{"type":"string","description":"Locations name"},"address":{"type":"string","description":"Locations address"},"country":{"type":"string","description":"Locations country"},"total_classrooms":{"type":"integer","description":"Locations classrooms total count"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the location. Always true for SA"}}},"PoweruserPowerusersListAssignedLocationLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedChannelResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChannelData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChannelLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedChannelData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Users","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChannelItems"}},"total_count":{"type":"integer","description":"Total Count of Users"}}},"PoweruserPowerusersListAssignedChannelItems":{"required":["id","name","description","type","type_id","created","is_enabled","predefined_uid","icon"],"properties":{"id":{"type":"integer","description":"ID of the channel"},"name":{"type":"string","description":"The name of the channel"},"description":{"type":"string","description":"The description of the channel"},"type":{"description":"The type of the channel","enum":["built-in","custom","AI based"],"type":"string"},"type_id":{"type":"integer","description":"The type id of the channel. 1 = built-in, 2 = custom, 3 = AI-based"},"created":{"type":"string","description":"Date the channel was created"},"is_enabled":{"type":"boolean","description":"Retrieves if channel is enabled or not"},"predefined_uid":{"type":"string","description":"The uid of the channel"},"icon":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChannelIcon","description":"Icon item of the channel."}}},"PoweruserPowerusersListAssignedChannelIcon":{"required":["font","color","background"],"properties":{"font":{"type":"string","description":"Font of the icon"},"color":{"type":"string","description":"Color of the Icon"},"background":{"type":"string","description":"Background of the Icon"}}},"PoweruserPowerusersListAssignedChannelLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedLearningContentResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLearningContentData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLearningContentLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedLearningContentData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Learning Contents","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedLearningContentItems"}},"total_count":{"type":"integer","description":"Total Count of Learning Contents"},"all":{"type":"boolean","description":"True if a wildcard is associated, false otherwise. Not returned when asking for assignable learning plans"},"reason_code":{"description":"The wildcard code, empty if no wildcard is set.","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"}}},"PoweruserPowerusersListAssignedLearningContentItems":{"required":["id","code","name","type","can_manage"],"properties":{"id":{"type":"integer","description":"Learning Content Id"},"code":{"type":"string","description":"Learning Content Code"},"name":{"type":"string","description":"Learning Content Name"},"type":{"description":"Learning Content Type","enum":["elearning","classroom","coursepath","category","category_desc"],"type":"string"},"can_manage":{"type":"boolean","description":"If the super pu can_manage the learning content. Always true for SA"}}},"PoweruserPowerusersListAssignedLearningContentLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersListAssignedCommunityResponse":{"required":["data","version","_links","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"_links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityLinks","description":"Links to related resources. See https://en.wikipedia.org/wiki/HATEOAS"}}},"PoweruserPowerusersListAssignedCommunityData":{"properties":{"count":{"type":"integer","required":"required","description":"Total number of items returned"},"cursor":{"type":"string","required":"optional","description":"Unique ID used to temporarily store search parameters. This field is to be considered as deprecated and it will be removed in a future release."},"has_more_data":{"type":"boolean","required":"required","description":"True if the current page is not the last page"},"current_page":{"type":"integer","required":"required","description":"Page number of the current page"},"current_page_size":{"type":"integer","required":"required","description":"Number of items per page"},"total_page_count":{"type":"integer","required":"optional","description":"Total number of pages returned"},"total_count":{"type":"integer","description":"Total Count of communities"},"items":{"type":"array","description":"The list of communities","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityItems"}}},"required":["count","has_more_data","current_page","current_page_size","items","total_count"]},"PoweruserPowerusersListAssignedCommunityLinks":{"properties":{"self":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunitySelf","description":"Link to the current page"},"goto":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityGoto","description":"Go to a specified page number"},"first":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityFirst","description":"Link to the first page"},"last":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityLast","description":"Link to the last page"},"next":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityNext","description":"Go to next page number"},"prev":{"$ref":"#/definitions/PoweruserPowerusersListAssignedCommunityPrev","description":"Go to previous page number"}},"required":["self","goto","first","last"]},"PoweruserPowerusersListAssignedCommunitySelf":{"properties":{"href":{"type":"string","required":"required","description":"Url of the current page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityGoto":{"properties":{"href":{"type":"string","required":"required","description":"Url of the specific page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityFirst":{"properties":{"href":{"type":"string","required":"required","description":"Url of the first page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityLast":{"properties":{"href":{"type":"string","required":"required","description":"Url of the last page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityNext":{"properties":{"href":{"type":"string","required":"required","description":"Url of the next page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityPrev":{"properties":{"href":{"type":"string","required":"required","description":"Url of the previous page"}},"required":["href"]},"PoweruserPowerusersListAssignedCommunityItems":{"required":["id","name","is_published","is_visible","domains"],"properties":{"id":{"type":"string","description":"community id"},"name":{"type":"string","description":"community name"},"is_published":{"type":"boolean","description":"Is community accessible by users other than SA and PU with the admin permission."},"is_visible":{"type":"boolean","description":"Is community content accessible by non-authorized users and search engines."},"domains":{"type":"array","description":"community domains","items":{"type":"string"}}}},"PoweruserPowerusersListAssignedChecklistsResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChecklistsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChecklistsLinks","description":"References for pagination"}}},"PoweruserPowerusersListAssignedChecklistsData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Checklists","items":{"$ref":"#/definitions/PoweruserPowerusersListAssignedChecklistsItems"}},"total_count":{"type":"integer","description":"Total Count of Checklists"}}},"PoweruserPowerusersListAssignedChecklistsItems":{"required":["id","title","code"],"properties":{"id":{"type":"integer","description":"Checklist Id"},"title":{"type":"string","description":"Checklist Title"},"code":{"type":"string","description":"Checklist Code"}}},"PoweruserPowerusersListAssignedChecklistsLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserPowerusersAssignUserSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of User id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Users will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignUserFilter","description":"Filter object"}}},"PoweruserPowerusersAssignUserFilter":{"properties":{"search":{"type":"string","description":"Search Users based on username, firstname, lastname, email"}}},"PoweruserPowerusersAssignUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignUserData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignGroupSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Group id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Groups will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignGroupFilter","description":"Filter object"}}},"PoweruserPowerusersAssignGroupFilter":{"properties":{"search":{"type":"string","description":"Search Groups based on name and description"}}},"PoweruserPowerusersAssignGroupResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignGroupData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignGroupData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignBranchSchema":{"type":"object","properties":{"node_list":{"type":"array","description":"The list of Branches that will be assigned to the Power User","items":{"$ref":"#/definitions/PoweruserPowerusersAssignBranchNodeList"}},"preserve_already_assigned":{"type":"boolean","description":"If true, the api will preserve the branches already assigned to the PU by SuperAdmin or other Super Pu. Default false."}}},"PoweruserPowerusersAssignBranchNodeList":{"required":["id","with_descendants"],"properties":{"id":{"type":"integer","description":"The Branch id"},"with_descendants":{"type":"boolean","description":"If true the Branch descendants are included in the association. False otherwise"}}},"PoweruserPowerusersAssignBranchResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignBranchData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignBranchData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersAssignCatalogSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Catalogs id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Catalogs will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignCatalogFilter","description":"Filter object"}}},"PoweruserPowerusersAssignCatalogFilter":{"properties":{"search":{"type":"string","description":"Search Catalogs based on code and name"}}},"PoweruserPowerusersAssignCatalogResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignCatalogData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignCatalogData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignLocationSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Locations id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Locations will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignLocationFilter","description":"Filter object"}}},"PoweruserPowerusersAssignLocationFilter":{"properties":{"search":{"type":"string","description":"Search Locations based on name and address"}}},"PoweruserPowerusersAssignLocationResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignLocationData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignLocationData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignLearningContentSchema":{"type":"object","properties":{"course":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentCourse","description":"Course parameter object used in order to assign Courses to Power User"},"lp":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentLp","description":"Learning Plan parameter object used in order to assign Learning Plans to Power User"},"category_list":{"type":"array","description":"Array of Category id and with descendants key-pair","items":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentCategoryList"}},"reason_code":{"description":"The wildcard code to assign. ALL_COURSE assign all existing and future courses, ALL_LP assign all existing and future learning plans, ALL_COURSE_LP assign all existing and future courses and learning plans, ALL_COURSE_LP_IN_CATALOG assign all existing and future courses and learning plans assigned to catalogs visible to Power User.","enum":["ALL_COURSE","ALL_LP","ALL_COURSE_LP","ALL_COURSE_LP_IN_CATALOG"],"type":"string"},"preserve_categories_already_assigned":{"type":"boolean","description":"When the caller is a Super PU or a Super Admin, if true the api will preserve the categories already assigned to the PU by Super Admin or other Super PU. Default false."}}},"PoweruserPowerusersAssignLearningContentCourse":{"properties":{"id_list":{"type":"array","description":"The list of Courses id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Courses will be assigned to the Power User according to filter or wildcard. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentFilter","description":"Filter object"}}},"PoweruserPowerusersAssignLearningContentFilter":{"properties":{"search":{"type":"string","description":"Search Courses based on code and name"}}},"PoweruserPowerusersAssignLearningContentLp":{"properties":{"id_list":{"type":"array","description":"The list of Learning Plans id that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Learning Plans will be assigned to the Power User according to filter or wildcard. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentFilterL2","description":"Filter object"}}},"PoweruserPowerusersAssignLearningContentFilterL2":{"properties":{"search":{"type":"string","description":"Search Learning Plans based on code and name"}}},"PoweruserPowerusersAssignLearningContentCategoryList":{"required":["id","with_descendants"],"properties":{"id":{"type":"integer","description":"The Category id"},"with_descendants":{"type":"boolean","description":"If true the Category descendants are included in the association. False otherwise"}}},"PoweruserPowerusersAssignLearningContentResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignLearningContentData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignLearningContentData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if courses and learning plans will be assign in a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignCommunitiesSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of community ids that will be assigned to the Power User","items":{"type":"string"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable communities will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignCommunitiesFilter","description":"Filter object"}}},"PoweruserPowerusersAssignCommunitiesFilter":{"properties":{"search":{"type":"string","description":"Search communities based on name and domain"}}},"PoweruserPowerusersAssignCommunitiesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignCommunitiesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignCommunitiesData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersAssignChannelsSchema":{"type":"object","required":["id_list"],"properties":{"id_list":{"type":"array","description":"The list of Channel IDs that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Channels will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignChannelsFilter","description":"Filter object"}}},"PoweruserPowerusersAssignChannelsFilter":{"properties":{"search":{"type":"string","description":"Search Channels based on name"}}},"PoweruserPowerusersAssignChannelsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignChannelsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignChannelsData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersAssignChecklistsSchema":{"type":"object","required":["id_list"],"properties":{"id_list":{"type":"array","description":"The list of Checklist IDs that will be assigned to the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the assignable Checklists will be assigned to the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersAssignChecklistsFilter","description":"Filter object"}}},"PoweruserPowerusersAssignChecklistsFilter":{"properties":{"search":{"type":"string","description":"Search Checklists based on title or code"}}},"PoweruserPowerusersAssignChecklistsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersAssignChecklistsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersAssignChecklistsData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersBatchAssignUserSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Users id to assign to the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignUserItems"}}}},"PoweruserPowerusersBatchAssignUserItems":{"required":["user_id"],"properties":{"user_id":{"type":"integer","description":"User id"}}},"PoweruserPowerusersBatchAssignUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignUserData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignUserData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the User processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchAssignGroupSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Groups id to assign to the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignGroupItems"}}}},"PoweruserPowerusersBatchAssignGroupItems":{"required":["group_id"],"properties":{"group_id":{"type":"integer","description":"Group id"}}},"PoweruserPowerusersBatchAssignGroupResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignGroupData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignGroupData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Group processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchAssignCatalogSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Catalogs id to assign to the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignCatalogItems"}}}},"PoweruserPowerusersBatchAssignCatalogItems":{"required":["catalog_id"],"properties":{"catalog_id":{"type":"integer","description":"Catalog id"}}},"PoweruserPowerusersBatchAssignCatalogResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignCatalogData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignCatalogData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Catalog processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchAssignLocationSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Locations id to assign to the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLocationItems"}}}},"PoweruserPowerusersBatchAssignLocationItems":{"required":["location_id"],"properties":{"location_id":{"type":"integer","description":"Location id"}}},"PoweruserPowerusersBatchAssignLocationResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLocationData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignLocationData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Location processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchAssignLearningContentSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Array of id and type learning content key-pairs to assign to the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLearningContentItems"}}}},"PoweruserPowerusersBatchAssignLearningContentItems":{"required":["id","type"],"properties":{"id":{"type":"integer","description":"Course or Learning Plan id"},"type":{"description":"The type of learning content.","enum":["course","coursepath"],"type":"string"}}},"PoweruserPowerusersBatchAssignLearningContentResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchAssignLearningContentData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchAssignLearningContentData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Learning content processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersUnassignUserSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Users id that will be unassigned from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the unassignable Users will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignUserFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignUserFilter":{"properties":{"search":{"type":"string","description":"Search Users based on username, firstname, lastname, email"}}},"PoweruserPowerusersUnassignUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignUserData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignUserData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersUnassignGroupSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Groups id that will be unassigned from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the unassignable Groups will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignGroupFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignGroupFilter":{"properties":{"search":{"type":"string","description":"Search Groups based on name and description"}}},"PoweruserPowerusersUnassignGroupResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignGroupData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignGroupData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersUnassignBranchSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Branches id that will be unassigned from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the unassignable Branches will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignBranchFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignBranchFilter":{"properties":{"search":{"type":"string","description":"Search Branches based on name"}}},"PoweruserPowerusersUnassignBranchResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignBranchData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignBranchData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersUnassignCatalogSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Catalogs id that will be unassigned from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the unassignable Catalogs will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignCatalogFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignCatalogFilter":{"properties":{"search":{"type":"string","description":"Search Catalogs based on code and name"}}},"PoweruserPowerusersUnassignCatalogResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignCatalogData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignCatalogData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersUnassignLocationSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of Locations id that will be unassigned from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the unassignable Locations will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignLocationFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignLocationFilter":{"properties":{"search":{"type":"string","description":"Search Locations based on name and address"}}},"PoweruserPowerusersUnassignLocationResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignLocationData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignLocationData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserPowerusersUnassignLearningContentSchema":{"type":"object","properties":{"content_list":{"type":"array","description":"Array of id and type learning content key-pairs","items":{"$ref":"#/definitions/PoweruserPowerusersUnassignLearningContentContentList"}},"all":{"type":"boolean","description":"If true and content_list is empty all the assignable Learning Content will be unassigned from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignLearningContentFilter","description":"Filter object"}}},"PoweruserPowerusersUnassignLearningContentContentList":{"required":["id","type"],"properties":{"id":{"type":"integer","description":"Course, Learning Plan or Category id"},"type":{"description":"The type of learning content.","enum":["course","coursepath","category","category_desc"],"type":"string"}}},"PoweruserPowerusersUnassignLearningContentFilter":{"properties":{"search":{"type":"string","description":"Search Courses, Learning Plans and Categories based on code and name"},"types":{"type":"array","description":"The types of Learning Content to delete. Can be &#039;course&#039;, &#039;coursepath&#039;, &#039;category&#039;, &#039;category_desc&#039;. If toggle release/weekly/power-user-v1.5 is active it accepts &#039;elearning&#039;, &#039;classroom&#039;, instead of &#039;course&#039;","items":{"type":"string"}}}},"PoweruserPowerusersUnassignLearningContentResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignLearningContentData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignLearningContentData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise or if there is a wildcard assigned"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"},"reason_code":{"type":"string","description":"The wildcard assigned if there&#039;s one, null otherwise"}}},"PoweruserPowerusersRemoveCommunitiesSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of community ids that will be removed from the Power User","items":{"type":"string"}},"all":{"type":"boolean","description":"If true and id_list is empty all the removable communities will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersRemoveCommunitiesFilter","description":"Filter object"}}},"PoweruserPowerusersRemoveCommunitiesFilter":{"properties":{"search":{"type":"string","description":"Search communities based on name and domain"}}},"PoweruserPowerusersRemoveCommunitiesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersRemoveCommunitiesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersRemoveCommunitiesData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersBatchUnassignUserSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Users id to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignUserItems"}}}},"PoweruserPowerusersBatchUnassignUserItems":{"required":["user_id"],"properties":{"user_id":{"type":"integer","description":"User id"}}},"PoweruserPowerusersBatchUnassignUserResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignUserData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignUserData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the User processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchUnassignGroupSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Groups id to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignGroupItems"}}}},"PoweruserPowerusersBatchUnassignGroupItems":{"required":["group_id"],"properties":{"group_id":{"type":"integer","description":"Group id"}}},"PoweruserPowerusersBatchUnassignGroupResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignGroupData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignGroupData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Group processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchUnassignBranchSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Branches id to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignBranchItems"}}}},"PoweruserPowerusersBatchUnassignBranchItems":{"required":["branch_id"],"properties":{"branch_id":{"type":"integer","description":"Branch id"}}},"PoweruserPowerusersBatchUnassignBranchResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignBranchData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignBranchData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Branch processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchUnassignCatalogSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Catalogs id to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignCatalogItems"}}}},"PoweruserPowerusersBatchUnassignCatalogItems":{"required":["catalog_id"],"properties":{"catalog_id":{"type":"integer","description":"Catalog id"}}},"PoweruserPowerusersBatchUnassignCatalogResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignCatalogData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignCatalogData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Catalog processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchUnassignLocationSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the Locations id to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLocationItems"}}}},"PoweruserPowerusersBatchUnassignLocationItems":{"required":["location_id"],"properties":{"location_id":{"type":"integer","description":"Location id"}}},"PoweruserPowerusersBatchUnassignLocationResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLocationData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignLocationData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Location processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersBatchUnassignLearningContentSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Array of id and type learning content key-pairs to unassign from the PowerUser","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLearningContentItems"}}}},"PoweruserPowerusersBatchUnassignLearningContentItems":{"required":["id","type"],"properties":{"id":{"type":"integer","description":"Course, Learning Plan or Category id"},"type":{"description":"The type of learning content.","enum":["course","coursepath","category","category_desc"],"type":"string"}}},"PoweruserPowerusersBatchUnassignLearningContentResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserPowerusersBatchUnassignLearningContentData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersBatchUnassignLearningContentData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the Learning content processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserPowerusersUnassignChannelsSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of channel ids that will be removed from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the removable channels will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignChannelsFilter","description":"Filter object. Only usable when &#039;all&#039; is true"}}},"PoweruserPowerusersUnassignChannelsFilter":{"properties":{"search":{"type":"string","description":"Search channels based on name and domain"}}},"PoweruserPowerusersUnassignChannelsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignChannelsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignChannelsData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserPowerusersUnassignChecklistsSchema":{"type":"object","properties":{"id_list":{"type":"array","description":"The list of checklist IDs that will be removed from the Power User","items":{"type":"integer"}},"all":{"type":"boolean","description":"If true and id_list is empty all the removable checklists will be removed from the Power User according to filter. Default false"},"filter":{"$ref":"#/definitions/PoweruserPowerusersUnassignChecklistsFilter","description":"Filter object. Only usable when &#039;all&#039; is true"}}},"PoweruserPowerusersUnassignChecklistsFilter":{"properties":{"search":{"type":"string","description":"Search checklists based on title and code"}}},"PoweruserPowerusersUnassignChecklistsResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserPowerusersUnassignChecklistsData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserPowerusersUnassignChecklistsData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserProfilesListProfilesResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesListProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserProfilesListProfilesLinks","description":"References for pagination"}}},"PoweruserProfilesListProfilesData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of Profiles","items":{"$ref":"#/definitions/PoweruserProfilesListProfilesItems"}},"total_count":{"type":"integer","description":"Total Count of Profiles"}}},"PoweruserProfilesListProfilesItems":{"required":["id","name","description","created_at","updated_at","has_permissions","assigned_power_users","is_assignable"],"properties":{"id":{"type":"integer","description":"Profile id"},"name":{"type":"string","description":"Profile name"},"description":{"type":"string","description":"Profile description"},"created_at":{"type":"string","description":"Profile creation date"},"updated_at":{"type":"string","description":"Profile last update date"},"has_permissions":{"type":"boolean","description":"True if the Profile has at least one assigned permission"},"assigned_power_users":{"type":"integer","description":"Number of power users assigned to this Profile"},"is_assignable":{"type":"boolean","description":"True if Super Pu can assign the profile as entity. Always true for SA"}}},"PoweruserProfilesListProfilesLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}},"PoweruserProfilesCreateProfilesSchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the profile, max length 200"},"description":{"type":"string","description":"The description of the profile, max length 255"}}},"PoweruserProfilesCreateProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesCreateProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesCreateProfilesData":{"required":["success","id"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"id":{"type":"integer","description":"The newly created profile id"}}},"PoweruserProfilesDuplicateProfilesSchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the new duplicated profile, max length 200"},"description":{"type":"string","description":"The description of the new duplicated profile, max length 255"}}},"PoweruserProfilesDuplicateProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesDuplicateProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesDuplicateProfilesData":{"required":["success","id"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"id":{"type":"integer","description":"The newly duplicated profile id, created from the original given one"}}},"PoweruserProfilesDeleteProfilesSchema":{"type":"object","required":["profile_ids","profile_all"],"properties":{"profile_ids":{"type":"array","description":"Array of profile ids to delete, leave an empty array in order to use the all option","items":{"type":"integer"}},"profile_all":{"type":"boolean","description":"True to take count of all profiles, false otherwise"},"profile_filters":{"$ref":"#/definitions/PoweruserProfilesDeleteProfilesProfileFilters","description":"Filter the full profile list based on the options specified"}}},"PoweruserProfilesDeleteProfilesProfileFilters":{"properties":{"search":{"type":"string","description":"Search Profiles based on name, description"},"with_permissions":{"type":"boolean","description":"Filter for Profiles with at least one assigned permission. Default false"},"without_permissions":{"type":"boolean","description":"Filter for Profiles without assigned permissions. Default false"},"with_power_users":{"type":"boolean","description":"Filter for Profiles with at least one power user. Default false"},"without_power_users":{"type":"boolean","description":"Filter for Profiles without power users. Default false"}}},"PoweruserProfilesDeleteProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesDeleteProfilesData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesDeleteProfilesData":{"required":["success","background_job"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"background_job":{"type":"boolean","description":"Will be true if the operation run as a background job, false if it&#039;s run immediately"}}},"PoweruserProfilesViewProfileResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesViewProfileData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesViewProfileData":{"required":["id","name","description","created_at","updated_at","created_by","updated_by","assigned_power_users","permissions","additional_fields"],"properties":{"id":{"type":"integer","description":"The profile id"},"name":{"type":"string","description":"The profile name"},"description":{"type":"string","description":"The profile description"},"created_at":{"type":"string","description":"The profile creation date"},"updated_at":{"type":"string","description":"The profile last update date"},"created_by":{"$ref":"#/definitions/PoweruserProfilesViewProfileCreatedBy","description":"The user who created the profile. Can be null for old profiles"},"updated_by":{"$ref":"#/definitions/PoweruserProfilesViewProfileUpdatedBy","description":"The user who updated the profile. Can be null for old profiles"},"assigned_power_users":{"type":"integer","description":"Number of power users assigned to this Profile"},"permissions":{"type":"array","description":"List of permission associated with this Profile","items":{"type":"string"}},"additional_fields":{"type":"array","description":"List of additional fields associated with this Profile","items":{"type":"integer"}}}},"PoweruserProfilesViewProfileCreatedBy":{"required":["id","username","firstname","lastname","email","avatar"],"properties":{"id":{"type":"integer","description":"The user ID"},"username":{"type":"string","description":"The username of the user"},"firstname":{"type":"string","description":"The firstname of the user"},"lastname":{"type":"string","description":"The lastname of the user"},"email":{"type":"string","description":"The email of the user"},"avatar":{"type":"string","description":"The avatar url of the user"}}},"PoweruserProfilesViewProfileUpdatedBy":{"required":["id","username","firstname","lastname","email","avatar"],"properties":{"id":{"type":"integer","description":"The user ID"},"username":{"type":"string","description":"The username of the user"},"firstname":{"type":"string","description":"The firstname of the user"},"lastname":{"type":"string","description":"The lastname of the user"},"email":{"type":"string","description":"The email of the user"},"avatar":{"type":"string","description":"The avatar url of the user"}}},"PoweruserProfilesUpdateProfileSchema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"The name of the profile, max length 200"},"description":{"type":"string","description":"The description of the profile, max length 255"},"permissions":{"type":"array","description":"The list of profile permissions. Default []","items":{"type":"string"}},"additional_fields":{"type":"array","description":"the list of profile additional fields. Default []","items":{"type":"integer"}}}},"PoweruserProfilesUpdateProfileResponse":{"required":["data","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesUpdateProfileData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesUpdateProfileData":{"required":["success"],"properties":{"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"}}},"PoweruserProfilesBatchDeleteProfilesSchema":{"type":"object","required":["items"],"properties":{"items":{"type":"array","description":"Associative array containing the profiles id to delete","items":{"$ref":"#/definitions/PoweruserProfilesBatchDeleteProfilesItems"}}}},"PoweruserProfilesBatchDeleteProfilesItems":{"required":["profile_id"],"properties":{"profile_id":{"type":"integer","description":"Profile id"}}},"PoweruserProfilesBatchDeleteProfilesResponse":{"required":["data","version","version","version"],"properties":{"data":{"type":"array","description":"Response data","items":{"$ref":"#/definitions/PoweruserProfilesBatchDeleteProfilesData"}},"version":{"type":"string","required":"required","description":"Current API version"}}},"PoweruserProfilesBatchDeleteProfilesData":{"required":["row_index","success"],"properties":{"row_index":{"type":"integer","description":"Index of the power user processed"},"success":{"type":"boolean","description":"Will be true if the operation goes successfully, false otherwise"},"message":{"type":"string","description":"Error message if the operation fail"}}},"PoweruserProfilesListAssignedPowerUsersResponse":{"required":["data","version","links","version","version","version"],"properties":{"data":{"$ref":"#/definitions/PoweruserProfilesListAssignedPowerUsersData","description":"Response data"},"version":{"type":"string","required":"required","description":"Current API version"},"links":{"$ref":"#/definitions/PoweruserProfilesListAssignedPowerUsersLinks","description":"References for pagination"}}},"PoweruserProfilesListAssignedPowerUsersData":{"required":["items","total_count"],"properties":{"items":{"type":"array","description":"The list of PowerUsers","items":{"$ref":"#/definitions/PoweruserProfilesListAssignedPowerUsersItems"}},"total_count":{"type":"integer","description":"Total Count of PowerUsers"}}},"PoweruserProfilesListAssignedPowerUsersItems":{"required":["id","username","firstname","lastname","email","avatar"],"properties":{"id":{"type":"integer","description":"PowerUser id"},"username":{"type":"string","description":"PowerUser username"},"firstname":{"type":"string","description":"PowerUser firstname"},"lastname":{"type":"string","description":"PowerUser lastname"},"email":{"type":"string","description":"PowerUser email"},"avatar":{"type":"string","description":"PowerUser avatar url"},"assigned_at":{"type":"string","description":"PowerUser assigned date, only for assigned power users"},"superpu_can_edit":{"type":"boolean","description":"true if the Super Pu can edit the given PU, false otherwise. null for SA"}}},"PoweruserProfilesListAssignedPowerUsersLinks":{"required":["self"],"properties":{"self":{"type":"string","description":"The url of self page"},"next":{"type":"string","description":"The url of next page"},"prev":{"type":"string","description":"The url of prev page"},"last":{"type":"string","description":"The url of last page"},"first":{"type":"string","description":"The url of first page"}}}}}