Skip to content

feat: bl pr (list / count / show / create / update / comments / attachments) #54

@23prime

Description

@23prime

Type

feat

Summary

feat: bl pr (list / count / show / create / update / comments / attachments)

Changes

Command API endpoint
bl pr list <id-or-key> <repo> GET /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests
bl pr count <id-or-key> <repo> GET /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests/count
bl pr show <id-or-key> <repo> <number> GET /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests/{number}
bl pr create <id-or-key> <repo> POST /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests
bl pr update <id-or-key> <repo> <number> PATCH /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests/{number}
bl pr comment list <id-or-key> <repo> <number> GET /api/v2/projects/{projectIdOrKey}/git/repositories/{repoIdOrName}/pullRequests/{number}/comments
bl pr comment count <id-or-key> <repo> <number> GET .../pullRequests/{number}/comments/count
bl pr comment add <id-or-key> <repo> <number> POST .../pullRequests/{number}/comments
bl pr comment update <id-or-key> <repo> <number> <comment-id> PATCH .../pullRequests/{number}/comments/{commentId}
bl pr attachment list <id-or-key> <repo> <number> GET .../pullRequests/{number}/attachments
bl pr attachment get <id-or-key> <repo> <number> <attachment-id> GET .../pullRequests/{number}/attachments/{attachmentId}
bl pr attachment delete <id-or-key> <repo> <number> <attachment-id> DELETE .../pullRequests/{number}/attachments/{attachmentId}

Notes

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions