{"info":{"_postman_id":"03399aba-24ba-4c22-88a6-687875fa6bdd","name":"TorrentPreview","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"description":"<html><head></head><body></body></html>","owner":"10093390","collectionId":"03399aba-24ba-4c22-88a6-687875fa6bdd","publishedId":"TWDanw8n","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2021-02-25T11:41:14.000Z"},"item":[{"name":"Get Torrent","id":"16841bc2-b08d-4920-ac0d-c7a7e4d8dd2e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"http://localhost:8080/torrent/c92f656155d0d8e87d21471d7ea43e3ad0d42723","description":"<p>Shows:</p>\n<ul>\n<li>The torrent information</li>\n<li>The information about the files in the torrent</li>\n<li>The images of the files, if any</li>\n</ul>\n","urlObject":{"protocol":"http","path":["torrent","c92f656155d0d8e87d21471d7ea43e3ad0d42723"],"host":["localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"d99bf3a9-4961-4c14-bee3-562d2be3ad6b","name":"Get Torrent","originalRequest":{"method":"GET","header":[],"url":"http://localhost:8080/torrent/c92f656155d0d8e87d21471d7ea43e3ad0d42723"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Feb 2021 11:35:00 GMT"},{"key":"Content-Length","value":"1258"}],"cookie":[],"responseTime":null,"body":"{\n    \"torrent\": {\n        \"id\": \"c92f656155d0d8e87d21471d7ea43e3ad0d42723\",\n        \"name\": \"Star Wars Episode VI Return of the Jedi (1983) [1080p]\",\n        \"length\": 1934959416,\n        \"files\": [\n            {\n                \"id\": 0,\n                \"length\": 1934756288,\n                \"is_supported\": true,\n                \"name\": \"Star.Wars.Episode.6.Return.of.the.Jedi.1983.1080p.BrRip.x264.BOKUTOX.YIFY.mp4\",\n                \"images\": [\n                    {\n                        \"source\": \"c92f656155d0d8e87d21471d7ea43e3ad0d42723.0.0-3.Star.Wars.Episode.6.Return.of.the.Jedi.1983.1080p.BrRip.x264.BOKUTOX.YIFY.mp4.jpg\",\n                        \"length\": 43040,\n                        \"is_valid\": true\n                    }\n                ]\n            },\n            {\n                \"id\": 1,\n                \"length\": 130677,\n                \"is_supported\": false,\n                \"name\": \"WWW.YIFY-TORRENTS.COM.jpg\",\n                \"images\": []\n            },\n            {\n                \"id\": 2,\n                \"length\": 72451,\n                \"is_supported\": false,\n                \"name\": \"Star.Wars.Episode.6.Return.of.the.Jedi.1983.1080p.BrRip.x264.BOKUTOX.YIFY.srt\",\n                \"images\": []\n            }\n        ]\n    }\n}"}],"_postman_id":"16841bc2-b08d-4920-ac0d-c7a7e4d8dd2e"},{"name":"Post Magnet","id":"903b3404-1ab8-4e56-96ed-bcdb2154c030","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"magnet","value":"magnet:?xt=urn:btih:c92f656155d0d8e87d21471d7ea43e3ad0d42723","type":"text"}]},"url":"http://localhost:8080/unmagnetize","description":"<p>Registers a new Magnet in the database</p>\n<p>It returns the TorrentID.</p>\n<p>Note: It does not starts downloading the torrent</p>\n","urlObject":{"protocol":"http","path":["unmagnetize"],"host":["localhost:8080"],"query":[],"variable":[]}},"response":[{"id":"7819b6e1-5dfd-4678-ad6b-9dba0cb52c9d","name":"Post Magnet","originalRequest":{"method":"POST","header":[],"body":{"mode":"formdata","formdata":[{"key":"magnet","value":"magnet:?xt=urn:btih:c92f656155d0d8e87d21471d7ea43e3ad0d42723","type":"text"}]},"url":"http://localhost:8080/unmagnetize"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 25 Feb 2021 11:46:23 GMT"},{"key":"Content-Length","value":"49"}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"c92f656155d0d8e87d21471d7ea43e3ad0d42723\"\n}"}],"_postman_id":"903b3404-1ab8-4e56-96ed-bcdb2154c030"}],"event":[{"listen":"prerequest","script":{"id":"29622082-555b-46d3-b974-3a5b20117d52","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"bcccd092-7a3f-44db-9d21-e20c3ff2c6c7","type":"text/javascript","exec":[""]}}],"variable":[{"key":"torrentID","value":"c92f656155d0d8e87d21471d7ea43e3ad0d42723"},{"key":"baseURL","value":"localhost:8080"}]}