All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| deleteProfileImage | DELETE /session/profile_image | Remove the profile image |
| existUserName | GET /session/username/{userName} | Confirm user name exist |
| findSession | GET /session | Get user information |
| findSessionBlocks | GET /session/blocks | Get block users list |
| findSessionChannels | GET /session/channels | Get channels list session user channelJoined |
| findSessionFeeds | GET /session/feeds | Find session feeds |
| findSessionFollowers | GET /session/followers | Get users list session user is followed by |
| findSessionFollows | GET /session/follows | Get users list session user followed |
| findSessionFriendRequests | GET /session/requests | Get friend requests list session user created or received |
| findSessionFriends | GET /session/friends | Get friends list |
| findSessionHiddenChannels | GET /session/hides | Get hidden channels list session user channelJoined |
| findSessionInvitations | GET /session/invitations | Get invitations list session user received |
| findSessionLikes | GET /session/likes | Get feeds list session user set a like |
| findSessionMutes | GET /session/mutes | Get users list session user muted |
| findUsers | GET /users | Find users |
| registerSession | POST /session | Register user |
| signOut | DELETE /session | Sign out |
| updatePassword | PUT /session/password | Update the password |
| updateProfile | PUT /session/profile | Update the profile |
| updateProfileImage | PUT /session/profile_image | Update the profile image |
| updateUserName | PUT /session/username | Update the user name |
deleteProfileImage()
Remove the profile image
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
try {
apiInstance.deleteProfileImage()
} catch (e: ClientException) {
println("4xx response calling SessionApi#deleteProfileImage")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#deleteProfileImage")
e.printStackTrace()
}This endpoint does not need any parameter.
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
UserNameNotExists existUserName(userName)
Confirm user name exist
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | User name.
try {
val result : UserNameNotExists = apiInstance.existUserName(userName)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#existUserName")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#existUserName")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | User name. |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
User findSession()
Get user information
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
try {
val result : User = apiInstance.findSession()
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSession")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSession")
e.printStackTrace()
}This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findSessionBlocks(userName, since, offset, count)
Get block users list
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters users whose user name start of.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters users which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of users. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findSessionBlocks(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionBlocks")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionBlocks")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters users whose user name start of. | [optional] |
| since | java.math.BigDecimal | Filters users which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of users. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<Channel> findSessionChannels(since, offset, count)
Get channels list session user channelJoined
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters channels which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of channels. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of channels returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<Channel> = apiInstance.findSessionChannels(since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionChannels")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionChannels")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| since | java.math.BigDecimal | Filters channels which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of channels. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of channels returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<Feed> findSessionFeeds(since, offset, feedPrivacyType, count)
Find session feeds
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters feeds which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of feeds. By default the value is 0.
val feedPrivacyType : kotlin.String = feedPrivacyType_example // kotlin.String | Feed privacy type. By default the value is everyone.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of feeds returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<Feed> = apiInstance.findSessionFeeds(since, offset, feedPrivacyType, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionFeeds")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionFeeds")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| since | java.math.BigDecimal | Filters feeds which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of feeds. By default the value is 0. | [optional] |
| feedPrivacyType | kotlin.String | Feed privacy type. By default the value is everyone. | [optional] [enum: everyone, followers, friends, self] |
| count | java.math.BigDecimal | Maximum number of feeds returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findSessionFollowers(userName, since, offset, count)
Get users list session user is followed by
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters users whose user name start of.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters followers which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of followers. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of followers returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findSessionFollowers(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionFollowers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionFollowers")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters users whose user name start of. | [optional] |
| since | java.math.BigDecimal | Filters followers which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of followers. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of followers returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findSessionFollows(userName, since, offset, count)
Get users list session user followed
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters users whose user name start of.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters follower which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of follower. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of follower returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findSessionFollows(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionFollows")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionFollows")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters users whose user name start of. | [optional] |
| since | java.math.BigDecimal | Filters follower which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of follower. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of follower returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<FriendRequest> findSessionFriendRequests(received, since, offset, count)
Get friend requests list session user created or received
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val received : kotlin.Boolean = true // kotlin.Boolean | Filters friend requests which you have received or sent.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters friend requests which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of friend request. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of friend request returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<FriendRequest> = apiInstance.findSessionFriendRequests(received, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionFriendRequests")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionFriendRequests")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| received | kotlin.Boolean | Filters friend requests which you have received or sent. | |
| since | java.math.BigDecimal | Filters friend requests which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of friend request. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of friend request returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findSessionFriends(userName, since, offset, count)
Get friends list
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters friends which started on
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters friends which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of friends. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of friends returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findSessionFriends(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionFriends")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionFriends")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters friends which started on | [optional] |
| since | java.math.BigDecimal | Filters friends which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of friends. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of friends returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
findSessionHiddenChannels
kotlin.Array<Channel> findSessionHiddenChannels(since, offset, count)
Get hidden channels list session user channelJoined
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters channels which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of channels. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of channels returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<Channel> = apiInstance.findSessionHiddenChannels(since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionHiddenChannels")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionHiddenChannels")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| since | java.math.BigDecimal | Filters channels which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of channels. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of channels returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<Invitation> findSessionInvitations(since, offset, count)
Get invitations list session user received
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters invitations which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of invitations. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of invitations returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<Invitation> = apiInstance.findSessionInvitations(since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionInvitations")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionInvitations")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| since | java.math.BigDecimal | Filters invitations which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of invitations. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of invitations returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<Feed> findSessionLikes(since, offset, count)
Get feeds list session user set a like
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters entries which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of feeds. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of feeds returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<Feed> = apiInstance.findSessionLikes(since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionLikes")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionLikes")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| since | java.math.BigDecimal | Filters entries which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of feeds. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of feeds returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findSessionMutes(userName, since, offset, count)
Get users list session user muted
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters users whose user name start of.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters users which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of users. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 entries. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findSessionMutes(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findSessionMutes")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findSessionMutes")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters users whose user name start of. | [optional] |
| since | java.math.BigDecimal | Filters users which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of users. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 entries. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
kotlin.Array<User> findUsers(userName, since, offset, count)
Find users
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val userName : kotlin.String = userName_example // kotlin.String | Filters users whose user name start of.
val since : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Filters users which started on since or later.
val offset : java.math.BigDecimal = 8.14 // java.math.BigDecimal | The offset of users. By default the value is 0.
val count : java.math.BigDecimal = 8.14 // java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 users. The page size can never be larger than 50.
try {
val result : kotlin.Array<User> = apiInstance.findUsers(userName, since, offset, count)
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#findUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#findUsers")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| userName | kotlin.String | Filters users whose user name start of. | [optional] |
| since | java.math.BigDecimal | Filters users which started on since or later. | [optional] |
| offset | java.math.BigDecimal | The offset of users. By default the value is 0. | [optional] |
| count | java.math.BigDecimal | Maximum number of users returned on one result page. By default the value is 20 users. The page size can never be larger than 50. | [optional] |
No authorization required
- Content-Type: Not defined
- Accept: Not defined
User registerSession()
Register user
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
try {
val result : User = apiInstance.registerSession()
println(result)
} catch (e: ClientException) {
println("4xx response calling SessionApi#registerSession")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#registerSession")
e.printStackTrace()
}This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: Not defined
signOut()
Sign out
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
try {
apiInstance.signOut()
} catch (e: ClientException) {
println("4xx response calling SessionApi#signOut")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#signOut")
e.printStackTrace()
}This endpoint does not need any parameter.
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updatePassword(body)
Update the password
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val body : PutPasswordBody = // PutPasswordBody |
try {
apiInstance.updatePassword(body)
} catch (e: ClientException) {
println("4xx response calling SessionApi#updatePassword")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#updatePassword")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PutPasswordBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updateProfile(body)
Update the profile
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val body : PutSessionProfileBody = // PutSessionProfileBody |
try {
apiInstance.updateProfile(body)
} catch (e: ClientException) {
println("4xx response calling SessionApi#updateProfile")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#updateProfile")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PutSessionProfileBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updateProfileImage(body)
Update the profile image
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val body : PutSessionProfileImageBody = // PutSessionProfileImageBody |
try {
apiInstance.updateProfileImage(body)
} catch (e: ClientException) {
println("4xx response calling SessionApi#updateProfileImage")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#updateProfileImage")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PutSessionProfileImageBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
updateUserName(body)
Update the user name
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = SessionApi()
val body : PutUserNameBody = // PutUserNameBody |
try {
apiInstance.updateUserName(body)
} catch (e: ClientException) {
println("4xx response calling SessionApi#updateUserName")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling SessionApi#updateUserName")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PutUserNameBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined