Class Index
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Deletes the user profile image.byte[]
get()
byte[]
get
(ReadScaledProfileImageParameters queryParams) Returns the scaled profile image of an extension.byte[]
list()
Returns a profile image of an extension.path()
post
(CreateUserProfileImageRequest createUserProfileImageRequest) Uploads the extension profile image.put
(UpdateUserProfileImageRequest updateUserProfileImageRequest) Updates the extension profile image.
-
Field Details
-
rc
-
parent
-
scaleSize
-
-
Constructor Details
-
Index
-
-
Method Details
-
path
-
path
-
list
Returns a profile image of an extension.HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/profile-image Rate Limit Group: Medium App Permission: ReadAccounts User Permission: ReadExtensions
- Throws:
RestException
IOException
-
post
public String post(CreateUserProfileImageRequest createUserProfileImageRequest) throws RestException, IOException Uploads the extension profile image.HTTP Method: post Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/profile-image Rate Limit Group: Heavy App Permission: EditExtensions User Permission: EditUserInfo
- Throws:
RestException
IOException
-
put
public String put(UpdateUserProfileImageRequest updateUserProfileImageRequest) throws RestException, IOException Updates the extension profile image.HTTP Method: put Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/profile-image Rate Limit Group: Heavy App Permission: EditExtensions User Permission: EditUserInfo
- Throws:
RestException
IOException
-
delete
Deletes the user profile image.HTTP Method: delete Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/profile-image Rate Limit Group: Medium App Permission: EditExtensions User Permission: EditUserInfo
- Throws:
RestException
IOException
-
get
Returns the scaled profile image of an extension.**This API must be called via media API entry point, e.g. https://media.ringcentral.com**
HTTP Method: get Endpoint: /restapi/{apiVersion}/account/{accountId}/extension/{extensionId}/profile-image/{scaleSize} Rate Limit Group: Medium App Permission: ReadAccounts
- Throws:
RestException
IOException
-
get
- Throws:
RestException
IOException
-