hirakiuc
hirakiuc
Ref: pull request #82 --- [PUT a build status for a commit](https://confluence.atlassian.com/bitbucket/statuses-build-resource-779295267.html) API return 500 error response. Ref: https://bitbucket.org/site/master/issues/12576/codedeploy-status-not-updating-after ``` D, [2016-04-16T15:55:40.345810 #22101] DEBUG -- : [api.bitbucket.org] PUT /2.0/repositories/altabjpworks/sandbox/commit/f0222b6326750da995d1abb0637194b15579a1eb/statuses/build/tinybucket (0.908...
It looks like Bitbucket API does not return uuid for each models, always uuid is nil.
`Tinybucket::Api::TeamApi#members` use `Tinybucket::Parser::TeamsParser`. So `Tinybucket::Model::Team#members` return `Tinybucket::Model::Team` list. team member should be describe as Profile, not Team.
- [ ] [GET the log of all of a repository's pull request activity](https://confluence.atlassian.com/display/BITBUCKET/pullrequests+Resource#pullrequestsResource-GETthelogofallofarepository'spullrequestactivity)
- [ ] [GET the activity for a pull request](https://confluence.atlassian.com/display/BITBUCKET/pullrequests+Resource#pullrequestsResource-GETtheactivityforapullrequest)
Now, models created by Tinybucket::Client method is not loaded. This is very strange behavior. Models created by Tinybucket::Client method should be loaded automatically if the model have sufficient keys.
[Comment](https://confluence.atlassian.com/bitbucket/pullrequests-resource-423626332.html#pullrequestsResource-GETalistofapullrequestcomments) has `user` attribute, it looks like `profile`. Currently, `Tinybucket::Model::Comment` return user hash. But it should use `Tinybucket::Model::Profile`, not hash, I think.