Skip to end of metadata
Go to start of metadata

The API Controller uses simple HTTP posts to add records to tDAR.  Records can be passed via the post with files as multi-part attachments.

http://core.tdar.org/api/upload

Limitations:

  • cannot assign rights to records
  • cannot mark files as confidential
  • cannot associate records with collections
  • cannot delete records

Parameters:

ParameterNote
recordThis should contain the XML representation of the TDAR Record
projectIdUse this to override the project association for a given record
uploadFileThis parameter can be used for mutli-part forms to associate files that should be uploaded with the record

Updating vs Creating:

If an ID is specified in the XML, it will try and update the record if the user has the permissions to update the record.If no ID is specified, it'll create the record.

Labels
  • None