Module crowdin_api.api_resources.string_comments.resource

Classes

class StringCommentsResource (requester: APIRequester, project_id: Optional[int] = None, page_size=25)

Resource for String Comments.

Use API to add or remove strings translations, approvals, and votes.

Link to documentation: https://developer.crowdin.com/api/v2/#tag/String-Comments

Ancestors

Methods

def add_string_comment(self, text: str, stringId: int, targetLanguageId: str, type: StringCommentType, projectId: Optional[int] = None, issueType: Optional[StringCommentIssueType] = None)
def delete_string_comment(self, stringCommentId: int, projectId: Optional[int] = None)
def edit_string_comment(self, stringCommentId: int, data: Iterable[StringCommentPatchRequest], projectId: Optional[int] = None)
def get_string_comment(self, stringCommentId: int, projectId: Optional[int] = None)
def get_string_comments_path(self, projectId: int, stringCommentId: Optional[int] = None)
def list_string_comments(self, projectId: Optional[int] = None, stringId: Optional[int] = None, type: Optional[StringCommentType] = None, issueType: Optional[Iterable[StringCommentIssueType]] = None, issueStatus: Optional[StringCommentIssueStatus] = None, page: Optional[int] = None, offset: Optional[int] = None, limit: Optional[int] = None)