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

Create a cache list OCDE
:: services/lists/create method

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

Creates an empty cache list for the user. Caches are added with services/lists/add_caches. The same rules apply as on the website's list form.

list_name required

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. The website keeps list descriptions as HTML, so the text is stored HTML-escaped, with its line breaks as <br />.

list_status optional

Default value: 0

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

Default value: false

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:

A dictionary with list_id, the new list's id.