User:Anton Khorev/API
Jump to navigation
Jump to search
... | changesets | notes | traces |
---|---|---|---|
production endpoint | changesets
|
notes/search
|
no |
local dev endpoint | changesets
|
notes/search
| |
wiki | [1] | [2] | |
controller method | query
|
search
| |
unfiltered by default | yes | no, requires closed=-1
| |
both user and display_name in query
|
error [3] | user ignored [4], this is an arbitrary choice: why don't we ignore display_name instead? or use them both (and get empty result if they refer to different users)?
| |
error for non-existing uid in user
|
404 with empty xml [5] | 400 with plaintext message [6] | |
error for invalid uid in user
|
400 with plaintext message [7] | 400 with plaintext message [8] | |
asc/desc order parameter | order PR
|
order
| |
ids parameter (multifetch) | changesets
|
PR |
endpoint | xml type | id number | display name |
---|---|---|---|
/api/0.6/changeset/#id | attributes | uid
|
user
|
/api/0.6/[node|way|relation]/#id | attributes | uid
|
user
|
/api/0.6/gpx/#id/details /api/0.6/user/gpx_files |
attributes | uid , previously N/A: PR
|
user
|
/api/0.6/user/#id /api/0.6/users /api/0.6/user/details |
attributes | id
|
display_name
|
/api/0.6/notes | elements | uid
|
user
|