@@ -94,7 +94,7 @@ Response<([**Array<Comment>**](Comment.md))>
9494
9595## reply_create
9696
97- > Comment reply_create(project_id, key_id, comment_id, opts)
97+ > Comment reply_create(project_id, key_id, comment_id, comment_create_parameters1, opts)
9898
9999Create a reply
100100
@@ -120,15 +120,14 @@ api_instance = Phrase::CommentRepliesApi.new
120120project_id = ' project_id_example' # String | Project ID
121121key_id = ' key_id_example' # String | Translation Key ID
122122comment_id = ' comment_id_example' # String | Comment ID
123+ comment_create_parameters1 = Phrase ::CommentCreateParameters1 .new ({message: ' Some message...' }) # CommentCreateParameters1 |
123124opts = {
124- x_phrase_app_otp: ' x_phrase_app_otp_example' , # String | Two-Factor-Authentication token (optional)
125- branch: ' my-feature-branch' , # String | specify the branch to use
126- message: ' some message...' # String | specify the message for the comment
125+ x_phrase_app_otp: ' x_phrase_app_otp_example' # String | Two-Factor-Authentication token (optional)
127126}
128127
129128begin
130129 # Create a reply
131- result = api_instance.reply_create(project_id, key_id, comment_id, opts)
130+ result = api_instance.reply_create(project_id, key_id, comment_id, comment_create_parameters1, opts)
132131 pp result
133132rescue Phrase ::ApiError => e
134133 puts " Exception when calling CommentRepliesApi->reply_create: #{ e } "
@@ -143,9 +142,8 @@ Name | Type | Description | Notes
143142 ** project_id** | ** String** | Project ID |
144143 ** key_id** | ** String** | Translation Key ID |
145144 ** comment_id** | ** String** | Comment ID |
145+ ** comment_create_parameters1** | [ ** CommentCreateParameters1** ] ( CommentCreateParameters1.md ) | |
146146 ** x_phrase_app_otp** | ** String** | Two-Factor-Authentication token (optional) | [ optional]
147- ** branch** | ** String** | specify the branch to use | [ optional]
148- ** message** | ** String** | specify the message for the comment | [ optional]
149147
150148### Return type
151149
@@ -157,7 +155,7 @@ Response<([**Comment**](Comment.md))>
157155
158156### HTTP request headers
159157
160- - ** Content-Type** : Not defined
158+ - ** Content-Type** : application/json
161159- ** Accept** : application/json
162160
163161
0 commit comments