We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 92b5f10 commit 9239e74Copy full SHA for 9239e74
1 file changed
docs/rest/v4/users.md
@@ -34,7 +34,9 @@ curl https://api.btcmap.org/v4/users/me \
34
{
35
"id": 123,
36
"name": "satoshi",
37
- "roles": ["user", "admin"]
+ "roles": ["user", "admin"],
38
+ "saved_places": [{"id": 1, "name": "Bitcoin Cafe"}],
39
+ "saved_areas": [{"id": 2, "name": "Downtown District"}]
40
}
41
```
42
@@ -43,6 +45,8 @@ curl https://api.btcmap.org/v4/users/me \
43
45
| id | Number | User ID |
44
46
| name | String | Username |
47
| roles | Array | List of user roles (e.g., "user", "admin", "root") |
48
+| saved_places | Array | List of saved places with `id` and `name` fields |
49
+| saved_areas | Array | List of saved areas with `id` and `name` fields |
50
51
### Create User
52
0 commit comments