Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .sdk-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v1.94.0
v1.95.0
24 changes: 8 additions & 16 deletions docs/AnalysesCommentsApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Method | HTTP request | Description


# **create_analysis_comment**
> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base, authorization=authorization)
> BaseResponseCommentResponse create_analysis_comment(analysis_id, comment_base)

Create a comment for this analysis

Expand Down Expand Up @@ -51,11 +51,10 @@ with revengai.ApiClient(configuration) as api_client:
api_instance = revengai.AnalysesCommentsApi(api_client)
analysis_id = 56 # int |
comment_base = revengai.CommentBase() # CommentBase |
authorization = 'authorization_example' # str | API Key bearer token (optional)

try:
# Create a comment for this analysis
api_response = api_instance.create_analysis_comment(analysis_id, comment_base, authorization=authorization)
api_response = api_instance.create_analysis_comment(analysis_id, comment_base)
print("The response of AnalysesCommentsApi->create_analysis_comment:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -71,7 +70,6 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| |
**comment_base** | [**CommentBase**](CommentBase.md)| |
**authorization** | **str**| API Key bearer token | [optional]

### Return type

Expand All @@ -97,7 +95,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **delete_analysis_comment**
> BaseResponseBool delete_analysis_comment(comment_id, analysis_id, authorization=authorization)
> BaseResponseBool delete_analysis_comment(comment_id, analysis_id)

Delete a comment

Expand Down Expand Up @@ -136,11 +134,10 @@ with revengai.ApiClient(configuration) as api_client:
api_instance = revengai.AnalysesCommentsApi(api_client)
comment_id = 56 # int |
analysis_id = 56 # int |
authorization = 'authorization_example' # str | API Key bearer token (optional)

try:
# Delete a comment
api_response = api_instance.delete_analysis_comment(comment_id, analysis_id, authorization=authorization)
api_response = api_instance.delete_analysis_comment(comment_id, analysis_id)
print("The response of AnalysesCommentsApi->delete_analysis_comment:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -156,7 +153,6 @@ Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**comment_id** | **int**| |
**analysis_id** | **int**| |
**authorization** | **str**| API Key bearer token | [optional]

### Return type

Expand All @@ -183,7 +179,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **get_analysis_comments**
> BaseResponseListCommentResponse get_analysis_comments(analysis_id, authorization=authorization)
> BaseResponseListCommentResponse get_analysis_comments(analysis_id)

Get comments for this analysis

Expand Down Expand Up @@ -221,11 +217,10 @@ with revengai.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = revengai.AnalysesCommentsApi(api_client)
analysis_id = 56 # int |
authorization = 'authorization_example' # str | API Key bearer token (optional)

try:
# Get comments for this analysis
api_response = api_instance.get_analysis_comments(analysis_id, authorization=authorization)
api_response = api_instance.get_analysis_comments(analysis_id)
print("The response of AnalysesCommentsApi->get_analysis_comments:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -240,7 +235,6 @@ with revengai.ApiClient(configuration) as api_client:
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**analysis_id** | **int**| |
**authorization** | **str**| API Key bearer token | [optional]

### Return type

Expand All @@ -265,7 +259,7 @@ Name | Type | Description | Notes
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)

# **update_analysis_comment**
> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request, authorization=authorization)
> BaseResponseCommentResponse update_analysis_comment(comment_id, analysis_id, comment_update_request)

Update a comment

Expand Down Expand Up @@ -306,11 +300,10 @@ with revengai.ApiClient(configuration) as api_client:
comment_id = 56 # int |
analysis_id = 56 # int |
comment_update_request = revengai.CommentUpdateRequest() # CommentUpdateRequest |
authorization = 'authorization_example' # str | API Key bearer token (optional)

try:
# Update a comment
api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request, authorization=authorization)
api_response = api_instance.update_analysis_comment(comment_id, analysis_id, comment_update_request)
print("The response of AnalysesCommentsApi->update_analysis_comment:\n")
pprint(api_response)
except Exception as e:
Expand All @@ -327,7 +320,6 @@ Name | Type | Description | Notes
**comment_id** | **int**| |
**analysis_id** | **int**| |
**comment_update_request** | [**CommentUpdateRequest**](CommentUpdateRequest.md)| |
**authorization** | **str**| API Key bearer token | [optional]

### Return type

Expand Down
Loading