Good question. The data logged for each hit is:
1. Clig ID (of course)
2. The Unix timestamp of the hit
3. The UA
4. Remote IP and remote host, resolved at the hit's time
5. Geo data: 2-letter country code, region (state), city
6. Various HTTP headers: HTTP Accept, HTTP Accept Charset, HTTP Accept
Encoding, HTTP Accept Language
7. The HTTP referer
>number of hits over x time period would be nice
This is actually a general point of discussion. Should Cligs provide
raw data and let the client do some analysis (like calculating rates)
or should Cligs also provide some basic analysis too in the API?
As the server owner and to create healthy competition, I prefer to
just serve data and leave it to the API users to develop interesting
analytics. That's a good division of labor.
What are your thoughts?
> I would definitly like to be able to retrieve a list of all the
> currently available cligs.
Clig management will be added. Here are some of the things I have in
mind (including your suggestion):
1. Clig enumeration - get a list of the cligs plus basic details. Only
cligs that are you in your account will be returned.
2. Clig creation - already there, but with more output formats like
JSON, XML, the newly available formatted HTML, plus the plain text
version. Creating vanity cligs will be supported by this API too.
3. Clig deletion - as it says on the tin.
4. Clig editing - just like the web-based editing of today. For
creating Right Clig (geotargeting) rules, a separate API may be
provided instead of lumping it with the clig editing.
Questions? Thoughts? What else would you like to see?
Thanks!
Pierre
--
Pierre Far, PhD
pier...@gmail.com
Know before your site crashes: http://SocialAlerter.com/
Webmaster and SEO resources: http://ekstreme.com
Blog of Science: http://blogsci.com
Short URLs with analytics: http://cli.gs/