One ping per page view from the interface; it feeds the index's own visit counter.

Counted under the index's metric (okf_visit), apart from the Agentalog counter that shares the database. Test traffic is left out: X-MM-Smoke, User-Agent mm-smoke or smoke: true. Returns: { counted, ok }

post/api/visit

Request

  • Base URL: https://okfindex.com
  • URL: https://okfindex.com/api/visit
  • Auth: none declared

Request body

smokeboolean

true flags a test call, which is acknowledged but not counted.

pstring

Path of the page that was opened (informative).

Response

{ counted, ok }

countedboolean required

false for test traffic, true when the day's counter moved.

okboolean required

Always true; the route never refuses a ping.

Changes

No recorded changes to this operation across all 1 revision of this API.