Function IssuesApiFp

  • IssuesApi - functional programming interface

    Parameters

    Returns {
        issuesCreate(issueWriteRequest, xOrganization?, org?, orgId?, options?) => Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>;
        issuesDestroy(id, options?) => Promise<((axios?, basePath?) => AxiosPromise<void>)>;
        issuesList(xOrganization?, assignee?, filter?, frameId?, jobId?, org?, orgId?, owner?, page?, pageSize?, resolved?, search?, sort?, taskId?, options?) => Promise<((axios?, basePath?) => AxiosPromise<PaginatedIssueReadList>)>;
        issuesPartialUpdate(id, patchedIssueWriteRequest?, options?) => Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>;
        issuesRetrieve(id, options?) => Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>;
    }

    • issuesCreate:function
      • Parameters

        • issueWriteRequest: IssueWriteRequest
        • Optional xOrganization: string

          Organization unique slug

        • Optional org: string

          Organization unique slug

        • Optional orgId: number

          Organization identifier

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>

        Summary

        Method creates an issue

        Throws

    • issuesDestroy:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<void>)>

        Summary

        Method deletes an issue

        Throws

    • issuesList:function
      • Parameters

        • Optional xOrganization: string

          Organization unique slug

        • Optional assignee: string

          A simple equality filter for the assignee field

        • Optional filter: string

          JSON Logic filter. This filter can be used to perform complex filtering by grouping rules. For example, using such a filter you can get all resources created by you: - {&quot;and&quot;:[{&quot;==&quot;:[{&quot;var&quot;:&quot;owner&quot;},&quot;<user>&quot;]}]} Details about the syntax used can be found at the link: https://jsonlogic.com/ Available filter_fields: [&#39;owner&#39;, &#39;assignee&#39;, &#39;id&#39;, &#39;job_id&#39;, &#39;task_id&#39;, &#39;resolved&#39;, &#39;frame_id&#39;].

        • Optional frameId: number

          A simple equality filter for the frame_id field

        • Optional jobId: number

          A simple equality filter for the job_id field

        • Optional org: string

          Organization unique slug

        • Optional orgId: number

          Organization identifier

        • Optional owner: string

          A simple equality filter for the owner field

        • Optional page: number

          A page number within the paginated result set.

        • Optional pageSize: number

          Number of results to return per page.

        • Optional resolved: boolean

          A simple equality filter for the resolved field

        • Optional search: string

          A search term. Available search_fields: (&#39;owner&#39;, &#39;assignee&#39;)

        • Optional sort: string

          Which field to use when ordering the results. Available ordering_fields: [&#39;owner&#39;, &#39;assignee&#39;, &#39;id&#39;, &#39;job_id&#39;, &#39;task_id&#39;, &#39;resolved&#39;, &#39;frame_id&#39;]

        • Optional taskId: number

          A simple equality filter for the task_id field

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<PaginatedIssueReadList>)>

        Summary

        Method returns a paginated list of issues

        Throws

    • issuesPartialUpdate:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • Optional patchedIssueWriteRequest: PatchedIssueWriteRequest
        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>

        Summary

        Methods does a partial update of chosen fields in an issue

        Throws

    • issuesRetrieve:function
      • Parameters

        • id: number

          A unique integer value identifying this issue.

        • Optional options: AxiosRequestConfig<any>

          Override http request option.

        Returns Promise<((axios?, basePath?) => AxiosPromise<IssueRead>)>

        Summary

        Method returns details of an issue

        Throws

    Export

Generated using TypeDoc