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

Change a cache list OCDE
:: services/lists/update method

Minimum Authentication: Level 3 (see Authentication Levels)
https://www.opencaching.nl/okapi/services/lists/update

Changes the name, description, visibility, password or the user's watch of a list. Parameters left out keep their current value; at least one is required. The same rules apply as on the website's list form.

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.

list_name optional

The list's name, at most 80 characters, unique among the user's lists (as on the website). A public list (list_status 2 or 3) needs a name of at least 10 characters.

list_description optional

Plain text; an empty value removes the description. The website keeps list descriptions as HTML, so the text is stored HTML-escaped, with its line breaks as <br />.

list_status optional

Who can see the list (the website's "visibility"):

  • 0 - private,
  • 2 - public,
  • 3 - public, and shown in the listings of the caches on it.
list_password optional

Only for private lists: other users who know the password can open the list on the website. At most 80 characters. Like on the website, it is stored as given (not hashed), and it is dropped when the list becomes public.

list_watch optional

true or false: whether the user gets the website's notifications when caches on the list get new logs.

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:

The list after the change, as one entry of services/lists/query.