Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 488 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 488 Bytes

Publishing Gateway

To run install poetry and execute:

cp publishing_gw/config.py{.template,}
$ poetry run publishing-gw

Example usage

curl -i -X PUT -H "Authorization: Token token=34170cc4-0a3d-11e6-823b-6c400891b752" -F 'meta={
    "recording":{
      "language":"deu",
      "mime_type": "text/vtt"
    }
  };type=application/json' -F file=@37C3_\ Feierliche\ Eröffnung.vtt \
  http://localhost:5005/api/37c3/events/fddf9aa7-4952-497e-b706-2e802deef3cc/file