API Method: profiles recalculate

POST /:user_id/profiles/:folder_id/recalculate

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

URL:

http://subsift.ilrt.bris.ac.uk/user_id/profiles/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/profiles/pc/recalculate

Response (about return values):

XML example:

<?xml version="1.0" encoding="UTF-8"?>
<result>
  <folder>
    <id>pc</id>
    <document_id>pc</document_id>
    <created>1266793611</created>
    <description>KDD09 Programme Committee</description>
    <ignore_case>1</ignore_case>
    <limit>100000</limit>
    <mode>private</mode>
    <modified>1268566365</modified>
    <ngrams>1,2</ngrams>
    <remove_html>1</remove_html>
    <remove_stopwords>1</remove_stopwords>
    <stopwords>a,about,above,across, ... ,yourselves</stopwords>
    <term>
      <name>faq</name>
      <dt>220</dt>
      <n>432</n>
    </term>
    <term>
      <name>author</name>
      <dt>220</dt>
      <n>238</n>
    </term>
    <term>
      <name>home</name>
      <dt>220</dt>
      <n>225</n>
    </term>
    .
    .
    .
    <term>
      <name>timescale</name>
      <dt>1</dt>
      <n>1</n>
    </term>
    <term>
      <name>schism</name>
      <dt>1</dt>
      <n>2</n>
    </term>
    <threshold>0</threshold>
  </folder>
</result>