spec/api/comments_api_spec.rb in phrase-2.14.0 vs spec/api/comments_api_spec.rb in phrase-2.15.0
- old
+ new
@@ -136,14 +136,18 @@
# unit tests for comments_list
# List comments
# List all comments for a key.
# @param project_id Project ID
# @param key_id Translation Key ID
+ # @param comments_list_parameters
# @param [Hash] opts the optional parameters
# @option opts [String] :x_phrase_app_otp Two-Factor-Authentication token (optional)
# @option opts [Integer] :page Page number
# @option opts [Integer] :per_page Limit on the number of objects to be returned, between 1 and 100. 25 by default
# @option opts [String] :branch specify the branch to use
+ # @option opts [String] :query Search query for comment messages
+ # @option opts [Array<String>] :locale_ids Search comments by their assigned locales
+ # @option opts [Array<String>] :filters Specify the filter for the comments
# @return [Array<Comment>]
describe 'comments_list test' do
it 'should work' do
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
end