bookmarks/cheat/bitbucket.md

9 lines
338 B
Markdown
Raw Normal View History

2018-03-14 07:07:14 +00:00
## Retrieve account emails
2018-03-13 18:15:28 +00:00
using https://api.bitbucket.org/2.0/user/emails
example output :
```
{"pagelen": 10, "values": [{"is_primary": true, "is_confirmed": true, "type": "email", "email": "<xxxxxx@gmail.com>", "links": {"self": {"href": "https://api.bitbucket.org/2.0/user/emails/<xxxxxx@gmail.com>"}}}], "page": 1, "size": 1}
```