Iusethis API
All requests to the API should be using the POST method.
- /api/iusethis/$app_short
- Mark this app as used. Returns the user count and status code 200 if OK. Returns 500 or another appropriate error code if failure
- /api/stopusing/$app_short
- Mark this app as not used. Returns the user count and status code 200 if OK. Returns 500 or another appropriate error code if failure.
- /api/post
- Post a new app to iusethis. Takes the same form parameters as the form on http://osx.iusethis.com/new/. Returns the status code 201 CREATED if OK. Returns 202 and an xml structure of errors if the form data does not validate. Returns 500 on internal failure.
- /api/comments/<shortname>/dt>
- Post a new app to iusethis. Takes a 'body' and a 'submit' form parameter . Returns the status code 201 CREATED if OK. Returns 202 and an xml structure of errors if the form data does not validate. Returns 500 on internal failure.
$app_short here refers to the short name of the app, as from the url in the app entry