-
Notifications
You must be signed in to change notification settings - Fork 48
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
getAvatarImageByID contentType unavailable #271
Labels
enhancement
Denotes a suggestion or request aimed at improving or adding new features to the project.
Milestone
Comments
MrRefactoring
added a commit
that referenced
this issue
Oct 8, 2023
MrRefactoring
added a commit
that referenced
this issue
Oct 9, 2023
MrRefactoring
added a commit
that referenced
this issue
Oct 9, 2023
Will be released in |
MrRefactoring
added a commit
that referenced
this issue
Oct 15, 2023
* [#271]: Update `getAvatarImageByID` to include `contentType` in return type (#281) * [#271]: initial template added * [#271]: lint fix * [#271]: fixes added * [#271]: getAvatarImageByID updated for version2 * [#271]: test project name updated * NodeJS 10 version life was ended * JWT and OAuth auths removed (#284) * JWT and OAuth auths removed * XOR3 added * unit tests fixed * build fixed * Deprecation stuff removed (#283) * agile deprecation stuff removed * version2 deprecation stuff removed * test fixes * version3 deprecated properties removed * no-namespaces rule applied * integration tests fixes * old stuff removed * newErrorHandling removed * avatar api updates (#286) * parameters types improvements * parameters types improvements * build fix * parameters types improvements * CHANGELOG.md updated
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
Denotes a suggestion or request aimed at improving or adding new features to the project.
A call to the version3Client.avatars.getAvatarImageByID can return binary data that represents a number of different image formats that do not necessarily represent the desire format specified in the call params. It would be super helpful if the client were able to return the content-type header mime type. Or, perhaps there is a way to access the headers?
Otherwise, I'm stuck trying to figure out the image type based on the binary data.
The text was updated successfully, but these errors were encountered: