A dictionary of fields you have selected. Currently available fields:
- uuid - unique ID of the log entry,
- cache_code - code of the cache which the log entry refers to,
date - date and time (ISO 8601) when the log entry was submitted.
Please note that log entries often contain dates only (with the times
truncated to midnight, as in the local timezone). In such cases, you may
want to avoid displaying the time. You may assume that if the date
value contains the "00:00:00" string, then it is date-only.
user - a dictionary:
- uuid - ID of the user (author of the log entry),
- username - name of the user (who submitted the log entry),
- profile_url - URL of the profile page of the user,
type - string; log type. One of the values documented
Primary types, commonly used by all Opencaching installations:
- "Found it" - a user found the cache (Non-Event caches).
- "Didn't find it" - a user searched for, but couldn't find the cache (Non-Event caches).
- "Will attend" - a user is planning to attend the event (for Event caches only).
- "Attended" - a user has attended the event (for Event caches only).
Types which indicate a change of state of the geocache or confirm the
state at the given time (used only by some Opencaching installations):
"Temporarily unavailable" - log of this type indicates that the status
of the cache was changed to "Temporarily unavailable" at that time, or it
was confirmed as "Temporarily unavailable". Most probably the cache was
not available to be found at that time, but it was expected to be
repaired soon (and then, "Ready to search" log type would be submitted).
"Ready to search" - log of this type indicates that the status of this
cache was changed back to "Available", or it was confirmed as "Available".
After some period of not being available the cache became ready to be found
"Archived" - log of this type indicates that the status of this cache was
changed to "Archived" at this point in time. This usually means that the
cache could not be found anymore at this time, and it was not expected to
be repaired any time soon.
"Locked" - the status of this cache was changed to "Locked" (similar to
"Archived", but no more "Found it" log entries are allowed on "Locked"
Other types (used only by some Opencaching installations):
- "Needs maintenance" - the user stated that the cache was
in need of maintenance.
- "Maintenance performed" - the cache owner stated that he
has performed the maintenance.
- "Moved" - the cache was moved to a different location.
- "OC Team comment" - a comment made by the official OC Team
- (to be continued) - this list MAY expand in time!
Your application should accept unknown log types (you may
treat them as "Comment"s).
oc_team_entry - true if the log entry was made by an
official OC team member and marked as administrative log; false if it has
not been marked.
Note: false does NOT mean that it is no administrative log,
because this flag can be missing for (mostly old) admin logs.
was_recommended - true if the author included his recommendation
in this log entry,
needs_maintenance2 - log entry authors may include an
additional report on the condition of the geocache at the given date
(indicate if the cache needed maintenance).
You could say that the values of this field reflect the values of the
needs_maintenance2 parameter used to submit the log entry (however,
the log itself might have been submitted through other means). Possible
true - in the author's opinion, the geocache was in poor
condition and needed maintenance,
false - in the author's opinion, the geocache was in good
or acceptable condition and did not need maintenance (anymore),
null - the author did not include any report on the
condition of the geocache.
listing_is_outdated - log entry authors may include an
additional report on the state of the geocache listing at the given
date (indicate if needs to be updated). This information currently
cannot be submitted through OKAPI but only retrieved.
Possible values are:
true - in the author's opinion, the listing was
outdated and needed to be updated. E.g. the place where the
geocache is hidden has changed, so that it no longer
matches the information in the listing; or important
information is missing that was published by the geocache
owner at another website.
false - in the author's opinion, the listing was
null - the author did not include any report on the
state of the geocache listing.
- comment - HTML string, text entered
with the log entry,
images - list of dictionaries, each dictionary represents one
image saved along with the log; each dictionary has the following
- uuid - UUID of the image,
- url - URL of the image,
- thumb_url - URL of a small (thumb) version of the image,
- caption - plain-text string, caption of the image,
- is_spoiler - boolean, if true then the image is
a spoiler image and should not be displayed to the user unless
the user explicitly asks for it.
internal_id - undocumented, you should not use
this unless you really know you need to. Internal IDs are
not unique across various OKAPI installations.
Try to use UUIDs instead.
Note, that some fields can change in time (users can edit/delete
their log entries).
If given log entry does not exist, the method will
respond with an HTTP 400 error.