API Method: matches update

PUT /:user_id/matches/:folder_id

Updates a matches folder in the specified user account. Returns a representation of the updated matches folder with a 200 OK HTTP status code.

URL:

http://subsift.ilrt.bris.ac.uk/user_id/matches/folder_id/profiles/profiles_id1/with/profiles_id2.format
or
http://subsift.ilrt.bris.ac.uk/user_id/matches/folder_id.format

Formats (about return formats):

csv, json, rdf, terms, xml, yaml

HTTP Methods (about HTTP methods):

PUT

Clients that can not issue PUT requests can use POST with the added parameter _method=PUT

Requires Authentication (about authentication):

true

Parameters:

Usage Examples:

cURL (about cURL):

curl -X PUT -H "Token:mytoken" -d "description=KDD 2009 PC x Papers" -d "full=1"
http://subsift.ilrt.bris.ac.uk/kdd09/matches/pc_papers.xml

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>
    <profiles_id1>pc</profiles_id1>
    <profiles_id2>papers</profiles_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>