-
Notifications
You must be signed in to change notification settings - Fork 98
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: upload screenshots improvements (#853)
- Loading branch information
Showing
5 changed files
with
80 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
package com.crowdin.cli.client; | ||
|
||
import com.crowdin.client.screenshots.model.AddScreenshotRequest; | ||
import com.crowdin.client.screenshots.model.Screenshot; | ||
import com.crowdin.client.screenshots.model.UpdateScreenshotRequest; | ||
import com.crowdin.client.screenshots.model.*; | ||
|
||
import java.util.List; | ||
|
||
public interface ClientScreenshot extends Client { | ||
|
||
List<Screenshot> listScreenshots(Long stringId); | ||
|
||
List<Screenshot> listScreenshotsByName(String fileName); | ||
|
||
Screenshot getScreenshot(Long id); | ||
|
||
Screenshot uploadScreenshot(AddScreenshotRequest request) throws ResponseException; | ||
|
||
Screenshot updateScreenshot(Long screenshotId, UpdateScreenshotRequest request); | ||
|
||
void deleteScreenshot(Long id); | ||
|
||
void replaceTags(Long screenshotId, AutoTagReplaceTagsRequest request); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters