API Method: matches recalculate

POST /:user_id/matches/:folder_id/recalculate

Recalculates all the match items and summary statistics in the specified matches folder in the specified user account. Returns a representation of the recalculated matches folder with a 200 OK HTTP status code.

URL:

http://subsift.ilrt.bris.ac.uk/user_id/matches/folder_id/recalculate.format

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

POST

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X POST -H "Token:mytoken" -d "full=1" http://subsift.ilrt.bris.ac.uk/kdd09/matches/pc_papers/recalculate

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <folder>
    <id>pc_papers</id>
    <created>1267965675</created>
    <description>KDD 2009 PC x Papers</description>
    <limit>1000</limit>
    <mode>public</mode>
    <modified>1268577354</modified>
    <matches_id1>pc</matches_id1>
    <matches_id2>papers</matches_id2>
    <term>
      <name>data</name>
      <dt>699</dt>
      <n>5465</n>
    </term>
    <term>
      <name>based</name>
      <dt>534</dt>
      <n>2251</n>
    </term>
    <term>
      <name>paper</name>
      <dt>479</dt>
      <n>544</n>
    </term>
    .
    .
    .
    <term>
      <name>schism</name>
      <dt>1</dt>
      <n>2</n>
    </term>
    <term>
      <name>bandit</name>
      <dt>1</dt>
      <n>1</n>
    </term>
    <threshold>0</threshold>
  </folder>
</result>