Our REST API documentation offers a straightforward solution for managing counts with a single endpoint. Whether you’re retrieving counts or incrementing them, our API provides the flexibility and simplicity you need. Explore our documentation to get started today!
The API offers a single endpoint, /count/:namespace, allowing users to manage counts associated with different namespaces.
GET: Retrieves the current count associated with the provided namespace.POST: Increments the count associated with the provided namespace by 1.The :namespace path segment allows users to specify a unique identifier for their count, which can be any string value.
GET requests, the response is a JSON object containing the current count associated with the namespace.POST requests, the response is a JSON object containing the updated count value (incremented by 1) associated with the namespace.GET/count/my-data{ "count": 5 }POST/count/my-data{ "count": 6 }Page count will be null if namespace is not available.