ownCloud
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

ocis.services.settings.v0

ocis/services/settings/v0/settings.proto

AddSettingToBundleRequest

Field Type Label Description
bundle_id string
setting ocis.messages.settings.v0.Setting

AddSettingToBundleResponse

Field Type Label Description
setting ocis.messages.settings.v0.Setting

AssignRoleToUserRequest

Field Type Label Description
account_uuid string
role_id string the role_id is a bundle_id internally

AssignRoleToUserResponse

Field Type Label Description
assignment ocis.messages.settings.v0.UserRoleAssignment

GetBundleRequest

Field Type Label Description
bundle_id string

GetBundleResponse

Field Type Label Description
bundle ocis.messages.settings.v0.Bundle

GetPermissionByIDRequest

Field Type Label Description
permission_id string

GetPermissionByIDResponse

Field Type Label Description
permission ocis.messages.settings.v0.Permission

GetValueByUniqueIdentifiersRequest

Field Type Label Description
account_uuid string
setting_id string

GetValueRequest

Field Type Label Description
id string

GetValueResponse

Field Type Label Description
value ocis.messages.settings.v0.ValueWithIdentifier

ListBundlesRequest

Field Type Label Description
bundle_ids string repeated

ListBundlesResponse

Field Type Label Description
bundles ocis.messages.settings.v0.Bundle repeated

ListPermissionsByResourceRequest

Field Type Label Description
resource ocis.messages.settings.v0.Resource

ListPermissionsByResourceResponse

Field Type Label Description
permissions ocis.messages.settings.v0.Permission repeated

ListPermissionsRequest

Field Type Label Description
account_uuid string

ListPermissionsResponse

Field Type Label Description
permissions string repeated

ListRoleAssignmentsRequest

Field Type Label Description
account_uuid string

ListRoleAssignmentsResponse

Field Type Label Description
assignments ocis.messages.settings.v0.UserRoleAssignment repeated

ListValuesRequest

Field Type Label Description
bundle_id string
account_uuid string

ListValuesResponse

Field Type Label Description
values ocis.messages.settings.v0.ValueWithIdentifier repeated

RemoveRoleFromUserRequest

Field Type Label Description
id string

RemoveSettingFromBundleRequest

Field Type Label Description
bundle_id string
setting_id string

SaveBundleRequest


requests and responses for settings bundles

Field Type Label Description
bundle ocis.messages.settings.v0.Bundle

SaveBundleResponse

Field Type Label Description
bundle ocis.messages.settings.v0.Bundle

SaveValueRequest

Field Type Label Description
value ocis.messages.settings.v0.Value

SaveValueResponse

Field Type Label Description
value ocis.messages.settings.v0.ValueWithIdentifier

BundleService

PermissionService

Method Name Request Type Response Type Description
ListPermissions ListPermissionsRequest ListPermissionsResponse
ListPermissionsByResource ListPermissionsByResourceRequest ListPermissionsByResourceResponse
GetPermissionByID GetPermissionByIDRequest GetPermissionByIDResponse

RoleService

Method Name Request Type Response Type Description
ListRoles ListBundlesRequest ListBundlesResponse
ListRoleAssignments ListRoleAssignmentsRequest ListRoleAssignmentsResponse
AssignRoleToUser AssignRoleToUserRequest AssignRoleToUserResponse
RemoveRoleFromUser RemoveRoleFromUserRequest .google.protobuf.Empty

ValueService

Method Name Request Type Response Type Description
SaveValue SaveValueRequest SaveValueResponse
GetValue GetValueRequest GetValueResponse
ListValues ListValuesRequest ListValuesResponse
GetValueByUniqueIdentifiers GetValueByUniqueIdentifiersRequest GetValueResponse

Scalar Value Types

.proto Type Notes C++ Java
double
double double
float
float float
int32
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. int32 int
int64
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. int64 long
uint32
Uses variable-length encoding. uint32 int
uint64
Uses variable-length encoding. uint64 long
sint32
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. int32 int
sint64
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. int64 long
fixed32
Always four bytes. More efficient than uint32 if values are often greater than 2^28. uint32 int
fixed64
Always eight bytes. More efficient than uint64 if values are often greater than 2^56. uint64 long
sfixed32
Always four bytes. int32 int
sfixed64
Always eight bytes. int64 long
bool
bool boolean
string
A string must always contain UTF-8 encoded or 7-bit ASCII text. string String
bytes
May contain any arbitrary sequence of bytes. string ByteString