Class ScreenshotsApiExecutor
Inheritance
System.Object
ScreenshotsApiExecutor
Assembly: Crowdin.Api.dll
Syntax
public class ScreenshotsApiExecutor : object
Constructors
|
Improve this Doc
View Source
ScreenshotsApiExecutor(ICrowdinApiClient)
Declaration
public ScreenshotsApiExecutor(ICrowdinApiClient apiClient)
Parameters
|
Improve this Doc
View Source
ScreenshotsApiExecutor(ICrowdinApiClient, IJsonParser)
Declaration
public ScreenshotsApiExecutor(ICrowdinApiClient apiClient, IJsonParser jsonParser)
Parameters
Methods
|
Improve this Doc
View Source
AddScreenshot(Int32, AddScreenshotRequest)
Declaration
public async Task<Screenshot> AddScreenshot(int projectId, AddScreenshotRequest request)
Parameters
Returns
|
Improve this Doc
View Source
AddTag(Int32, Int32, IEnumerable<AddTagRequest>)
Declaration
public async Task<ResponseList<Tag>> AddTag(int projectId, int screenshotId, IEnumerable<AddTagRequest> request)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
IEnumerable<AddTagRequest> |
request |
|
Returns
|
Improve this Doc
View Source
Declaration
public async Task ClearTags(int projectId, int screenshotId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
Returns
|
Improve this Doc
View Source
DeleteScreenshot(Int32, Int32)
Declaration
public async Task DeleteScreenshot(int projectId, int screenshotId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
Returns
|
Improve this Doc
View Source
DeleteTag(Int32, Int32, Int32)
Declaration
public async Task DeleteTag(int projectId, int screenshotId, int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
System.Int32 |
tagId |
|
Returns
|
Improve this Doc
View Source
EditScreenshot(Int32, Int32, IEnumerable<ScreenshotPatch>)
Declaration
public async Task<Screenshot> EditScreenshot(int projectId, int screenshotId, IEnumerable<ScreenshotPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
IEnumerable<ScreenshotPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
EditTag(Int32, Int32, Int32, IEnumerable<TagPatch>)
Declaration
public async Task<Screenshot> EditTag(int projectId, int screenshotId, int tagId, IEnumerable<TagPatch> patches)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
System.Int32 |
tagId |
|
IEnumerable<TagPatch> |
patches |
|
Returns
|
Improve this Doc
View Source
GetScreenshot(Int32, Int32)
Declaration
public async Task<Screenshot> GetScreenshot(int projectId, int screenshotId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
Returns
|
Improve this Doc
View Source
GetTag(Int32, Int32, Int32)
Declaration
public async Task<Tag> GetTag(int projectId, int screenshotId, int tagId)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
System.Int32 |
tagId |
|
Returns
Type |
Description |
Task<Tag> |
|
|
Improve this Doc
View Source
ListScreenshots(Int32, Int32, Int32, Nullable<IEnumerable<SortingRule>>, Nullable<IEnumerable<Int32>>)
Declaration
public async Task<ResponseList<Screenshot>> ListScreenshots(int projectId, int limit = 25, int offset = 0, IEnumerable<SortingRule>? orderBy = null, IEnumerable<int>? stringIds = null)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
System.Nullable<IEnumerable<SortingRule>> |
orderBy |
|
System.Nullable<IEnumerable<System.Int32>> |
stringIds |
|
Returns
|
Improve this Doc
View Source
Declaration
public async Task<ResponseList<Tag>> ListTags(int projectId, int screenshotId, int limit = 25, int offset = 0)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
System.Int32 |
limit |
|
System.Int32 |
offset |
|
Returns
|
Improve this Doc
View Source
Declaration
public async Task ReplaceTags(int projectId, int screenshotId, AutoTagReplaceTagsRequest request)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public async Task ReplaceTags(int projectId, int screenshotId, IEnumerable<AddTagRequest> request)
Parameters
Type |
Name |
Description |
System.Int32 |
projectId |
|
System.Int32 |
screenshotId |
|
IEnumerable<AddTagRequest> |
request |
|
Returns
|
Improve this Doc
View Source
UpdateScreenshot(Int32, Int32, UpdateScreenshotRequest)
Declaration
public async Task<Screenshot> UpdateScreenshot(int projectId, int screenshotId, UpdateScreenshotRequest request)
Parameters
Returns