MrRefactoring / jira.js

A JavaScript/TypeScript wrapper for the JIRA Cloud, Service Desk and Agile REST API
https://mrrefactoring.github.io/jira.js/
MIT License
349 stars 46 forks source link

Improving Avatar API's #282

Closed MrRefactoring closed 8 months ago

MrRefactoring commented 8 months ago

As we approach the release of version 3.0.0, several endpoints within the Avatar API need improvements. Here's a list of the endpoints and their corresponding tasks:

  1. Updating the parameter model
  2. Configuring to include the 'body' property
  1. The return type needs to be updated to Models.AvatarWithDetails.
  2. The endpoint should be adapted to deliver a response based on the new model.
  3. The responseType should be changed to arraybuffer. For reference on these changes, please consult this development PR.
  1. The return type needs to be updated to Models.AvatarWithDetails.
  2. The endpoint should be adapted to deliver a response based on the new model.
  3. The responseType should be changed to arraybuffer. For reference on these changes, please consult this development PR.

Please make changes for both versions of API (Version2 and Version3)

MrRefactoring commented 8 months ago

Please create PR's to v3.0.0 branch