Ping from the interface that increments the day's visits. Agents need not call it.

Smoke does not count: X-MM-Smoke, User-Agent mm-smoke or smoke: true in the body come in as counted: false. Returns: { ok, counted, reason? }

post/api/visit

Request

  • Base URL: https://agentalog.com
  • URL: https://agentalog.com/api/visit
  • Auth: none required

Request body

pstring

Path of the visited page.

smokeboolean

true marks the call as a test and it does not enter the count.

Response

{ ok, counted, reason? }

okboolean required

Always true.

countedboolean required

Whether the visit entered the day's count.

reasonstring

Why it did not count, when counted is false.

Changes

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