Skip to content
GAMPEONCreate
New project

Count a page view

POST
/v1/projects/{slug}/views
curl --request POST \
--url https://api.gampeon.com/v1/projects/example/views

The portal calls this once when the project page opens. Counted once per visitor and day; the team and drafts are not counted. Nothing about the visitor is stored, only a counter per project and day.

Not available with access tokens.

slug
required
string
/^[a-z0-9][a-z0-9-]{1,30}[a-z0-9]$/

Project slug

Received (counted or not)

Error codes: token_not_allowed

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Error codes: not_found

Media typeapplication/json
object
error
required

Machine-readable error code, for example not_found or rate_limited.

string
message

Human-readable detail. Only present for some errors.

string

Example generated

{
"error": "example",
"message": "example"
}

Report a problem with this pageOther ways to give feedback