Client
class Client
Methods
__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)
No description
list()
List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories:.
void
listRepositoryIssues(string $repo_full_name)
List issues for a repository.
mixed
getSingle(string $repo_full_name, int $issue_number)
Get a single issue.
void
create(string $repo_full_name, string $title, string $body, int $milestone, array $labels = null, array $assignees = null)
Create an issue.
void
edit(string $repo_full_name, int $issue_number, string $title = null, string $body = null, string $state = null, int $milestone = null, array $labels = null, array $assignees = null)
Edit an issue.
void
lock(string $repo_full_name, int $issue_number, string $lock_reason = null)
Lock an issue.
void
unlock(string $repo_full_name, int $issue_number)
Unlock an issue.
mixed
timeline(string $repo_full_name, int $issue_number)
No description
Details
at line 34
__construct(Curl $curl, string $api_url, TencentAI $tencent_ai)
at line 49
list()
List all issues assigned to the authenticated user across all visible repositories including owned repositories, member repositories, and organization repositories:.
at line 59
void
listRepositoryIssues(string $repo_full_name)
List issues for a repository.
at line 72
mixed
getSingle(string $repo_full_name, int $issue_number)
Get a single issue.
201
at line 87
void
create(string $repo_full_name, string $title, string $body, int $milestone, array $labels = null, array $assignees = null)
Create an issue.
at line 124
void
edit(string $repo_full_name, int $issue_number, string $title = null, string $body = null, string $state = null, int $milestone = null, array $labels = null, array $assignees = null)
Edit an issue.
at line 158
void
lock(string $repo_full_name, int $issue_number, string $lock_reason = null)
Lock an issue.
204.
at line 192
void
unlock(string $repo_full_name, int $issue_number)
Unlock an issue.