Introduction
Sign up
Examples
Changelog
|
ver. 2035 (2605b6c) services/apiref services/apisrv services/attrs services/caches services/caches/formatters services/caches/map services/caches/search services/caches/shortcuts services/draftlogs services/lists services/logs services/logs/images services/oauth services/replicate services/users |
Add caches to a cache list OCDE
|
|||||||||||||||||||||||||||||
|
||||
| https://www.opencaching.nl/okapi/services/lists/add_caches | ||||
|
Puts caches on one of the user's lists. Like on the website, only caches the user can see are added (the ones OKAPI shows: Available, Temporarily unavailable, Archived). Unknown codes and caches already on the list are skipped, so sending the same request twice is harmless. |
||||
| list_id | required |
The id of one of the user's lists, as returned by services/lists/query. Another user's list, or one that no longer exists (e.g. deleted on the website), gives HTTP 400. |
||
| cache_codes | required |
Pipe-separated cache codes (e.g. OC1234|OC5678), at most 500 per request. |
||
| format | optional | Standard common formatting argument. | ||
| callback | optional | Standard common formatting argument. | ||
| Plus required standard OAuth Consumer signing arguments: oauth_consumer_key, oauth_nonce, oauth_timestamp, oauth_signature, oauth_signature_method, oauth_version. Plus required oauth_token for Token authorization. | ||||
|
Returned value: A dictionary with added_count, the number of caches added. | ||||