Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add client functions for comment and attachment APIs #20

Merged
merged 3 commits into from
Jun 21, 2023
Merged

Conversation

shrik450
Copy link
Collaborator

Adds the following functions:

  • Create a new comment on an Issue
  • Edit and delete comments
  • Get attachments on a comment
  • Edit and delete attachments
  • Upload a new attachment to a comment

One caveat is that because Attachment objects don't carry all the information needed to edit or delete them, they are edited and deleted via Comment.edit_attachment and Comment.delete_attachment instead.

@McRaeAlex
Copy link
Contributor

Can we add a link to the API docs for each implementation in the client? :)

allspice/allspice.py Show resolved Hide resolved
@shrik450
Copy link
Collaborator Author

Can we add a link to the API docs for each implementation in the client? :)

Added them.

@shrik450 shrik450 merged commit b270d60 into main Jun 21, 2023
@shrik450 shrik450 deleted the su/issue-apis branch June 21, 2023 04:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants