Search Results for

    Show / Hide Table of Contents

    Interface ILabelsApiExecutor

    Namespace: Crowdin.Api.Labels
    Assembly: Crowdin.Api.dll
    Syntax
    [PublicAPI]
    public interface ILabelsApiExecutor

    Methods

    | Edit this page View Source

    AddLabel(long, AddLabelRequest)

    Declaration
    Task<Label> AddLabel(long projectId, AddLabelRequest request)
    Parameters
    Type Name Description
    long projectId
    AddLabelRequest request
    Returns
    Type Description
    Task<Label>
    | Edit this page View Source

    AddLabel(long, string)

    Declaration
    Task<Label> AddLabel(long projectId, string title)
    Parameters
    Type Name Description
    long projectId
    string title
    Returns
    Type Description
    Task<Label>
    | Edit this page View Source

    AssignLabelToScreenshots(long, long, AssignLabelToScreenshotsRequest)

    Declaration
    Task<ResponseList<Screenshot>> AssignLabelToScreenshots(long projectId, long labelId, AssignLabelToScreenshotsRequest request)
    Parameters
    Type Name Description
    long projectId
    long labelId
    AssignLabelToScreenshotsRequest request
    Returns
    Type Description
    Task<ResponseList<Screenshot>>
    | Edit this page View Source

    AssignLabelToStrings(long, long, AssignLabelToStringsRequest)

    Declaration
    Task<ResponseList<SourceString>> AssignLabelToStrings(long projectId, long labelId, AssignLabelToStringsRequest request)
    Parameters
    Type Name Description
    long projectId
    long labelId
    AssignLabelToStringsRequest request
    Returns
    Type Description
    Task<ResponseList<SourceString>>
    | Edit this page View Source

    AssignLabelToStrings(long, long, ICollection<long>)

    Declaration
    Task<ResponseList<SourceString>> AssignLabelToStrings(long projectId, long labelId, ICollection<long> stringIds)
    Parameters
    Type Name Description
    long projectId
    long labelId
    ICollection<long> stringIds
    Returns
    Type Description
    Task<ResponseList<SourceString>>
    | Edit this page View Source

    DeleteLabel(long, long)

    Declaration
    Task DeleteLabel(long projectId, long labelId)
    Parameters
    Type Name Description
    long projectId
    long labelId
    Returns
    Type Description
    Task
    | Edit this page View Source

    EditLabel(long, long, IEnumerable<LabelPatch>)

    Declaration
    Task<Label> EditLabel(long projectId, long labelId, IEnumerable<LabelPatch> patches)
    Parameters
    Type Name Description
    long projectId
    long labelId
    IEnumerable<LabelPatch> patches
    Returns
    Type Description
    Task<Label>
    | Edit this page View Source

    GetLabel(long, long)

    Declaration
    Task<Label> GetLabel(long projectId, long labelId)
    Parameters
    Type Name Description
    long projectId
    long labelId
    Returns
    Type Description
    Task<Label>
    | Edit this page View Source

    ListLabels(long, int, int, bool?, IEnumerable<SortingRule>?)

    Declaration
    Task<ResponseList<Label>> ListLabels(long projectId, int limit = 25, int offset = 0, bool? isSystem = null, IEnumerable<SortingRule>? orderBy = null)
    Parameters
    Type Name Description
    long projectId
    int limit
    int offset
    bool? isSystem
    IEnumerable<SortingRule> orderBy
    Returns
    Type Description
    Task<ResponseList<Label>>
    | Edit this page View Source

    UnassignLabelFromScreenshots(long, long, IEnumerable<long>)

    Declaration
    Task<ResponseList<Screenshot>> UnassignLabelFromScreenshots(long projectId, long labelId, IEnumerable<long> screenshotIds)
    Parameters
    Type Name Description
    long projectId
    long labelId
    IEnumerable<long> screenshotIds
    Returns
    Type Description
    Task<ResponseList<Screenshot>>
    | Edit this page View Source

    UnassignLabelFromStrings(long, long, ICollection<long>)

    Declaration
    Task<ResponseList<SourceString>> UnassignLabelFromStrings(long projectId, long labelId, ICollection<long> stringIds)
    Parameters
    Type Name Description
    long projectId
    long labelId
    ICollection<long> stringIds
    Returns
    Type Description
    Task<ResponseList<SourceString>>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX