Drumbeat/MoJo/hackfest/berlin/projects/MetaProject: Difference between revisions

Jump to navigation Jump to search
Line 93: Line 93:
=====Inputs=====
=====Inputs=====


  - '''text_file''':''file'' // the text file to store on the server
  - '''text_file''':''file'' // The text file to store on the server
  - '''url''':''str'' // the url containing the text to store on the server
  - '''url''':''str'' // The url containing the text to store on the server
  - '''text''':''str'' // the text to store on the server
  - '''text''':''str'' // The text to store on the server
  - '''ttl''':''int'' {D:0} // The number of seconds until the file will be removed from the system (0 means indefinitely)
  - '''ttl''':''int'' {D:0} // The number of seconds until the file will be removed from the system (0 means indefinitely)


Line 102: Line 102:
=====Outputs=====
=====Outputs=====


  - '''miid''':''int'' // the unique media item id assigned to this item
  - '''miid''':''int'' // The unique media item id assigned to this item


====GET====
====GET====
'''Inputs:'''
=====Inputs=====


  - '''miid''':''int'' // the server-provided media item id to be analyzed
  - '''miid''':''int'' // The server-provided media item id to be analyzed
  - '''url''':''str'' // the url containing the text to be analyzed
  - '''url''':''str'' // The url containing the text to be analyzed
  - '''text''':''str'' // the text to be analyzed
  - '''text''':''str'' // The text to be analyzed
- '''tasks''':''dictionary'' {D: null} // The list of tasks to perform.  See the task list for more information. (null means perform all)


''Note:'' Either miid, url, or text must be provided
''Note:'' Either miid, url, or text must be provided


'''Outputs:'''
=====Outputs=====
- '''results''':''dictionary'' // The list of task results (one result object per task).  See the task list for more information
 
====Tasks====
(insert list of valid tasks here)
94

edits

Navigation menu