Reference File API v2

From Memsource
Jump to: navigation, search

Create New Reference File

action: api/v2/referenceFile/create
    token                       string
    project                     domain(Project)
    file                        file
    note                        string                     O

response: JSON
    {
      "id": 238                 // id of the new reference file
    }

Download Reference File

action: api/v2/referenceFile/download
    token                       string
    referenceFile               domain(ReferenceFile)

response: binary