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

Retrieve the user's draft logs OCDE
:: services/draftlogs/query method

Minimum Authentication: Level 3 (see Authentication Levels)
https://www.opencaching.us/okapi/services/draftlogs/query

Returns the draft logs (field notes) of the user, e.g. those uploaded with services/draftlogs/upload_fieldnotes or on the website. Use the draft_id values to delete drafts with services/draftlogs/delete.

This method is only available on installations that support draft logs. Check the has_draft_logs field in services/apisrv/installation before calling it.

cache_code optional

If given, only the drafts for this geocache are returned.

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 list of dictionaries, ordered by date, each with the following keys:

  • draft_id - ID of the draft log (a string),
  • cache_code - code of the geocache,
  • type - Found it, Didn't find it or Comment,
  • needs_maintenance2 - true if the draft reports that the geocache needs maintenance (a comment with "needs maintenance" set), otherwise false,
  • date - date and time of the draft, in ISO 8601 format,
  • comment - text of the draft, in HTML.