mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update nzb and nfo import
This commit is contained in:
@@ -610,10 +610,10 @@
|
||||
{ "key": "api_token", "value": "{{apiToken}}", "type": "text" },
|
||||
{ "key": "cat", "value": "5040", "type": "text" },
|
||||
{ "key": "nzb", "type": "file", "src": "Release.nzb" },
|
||||
{ "key": "nfo", "type": "file", "src": "Release.nfo" }
|
||||
{ "key": "nfo", "type": "file", "src": "scene-info.nfo" }
|
||||
]
|
||||
},
|
||||
"description": "Atomically stages an NZB and an optional NFO with a matching basename. Category is echoed metadata only.",
|
||||
"description": "Atomically stages an NZB and an optional NFO with any safe basename. Run nntmux:import-nzbs before nntmux:import-nfos. Category is echoed metadata only.",
|
||||
"url": {
|
||||
"raw": "{{baseUrl}}/api/v2/nzbadd",
|
||||
"host": ["{{baseUrl}}"],
|
||||
@@ -637,7 +637,7 @@
|
||||
"_postman_previewlanguage": "json",
|
||||
"header": [{ "key": "Content-Type", "value": "application/json" }],
|
||||
"cookie": [],
|
||||
"body": "{\n \"success\": true,\n \"status\": \"staged\",\n \"name\": \"Release\",\n \"category\": \"5040\",\n \"files\": {\n \"nzb\": { \"filename\": \"Release.nzb\", \"type\": \"nzb\" },\n \"nfo\": { \"filename\": \"Release.nfo\", \"type\": \"nfo\" }\n }\n}"
|
||||
"body": "{\n \"success\": true,\n \"status\": \"staged\",\n \"name\": \"Release\",\n \"category\": \"5040\",\n \"files\": {\n \"nzb\": { \"filename\": \"Release.nzb\", \"type\": \"nzb\" },\n \"nfo\": { \"filename\": \"scene-info.nfo\", \"type\": \"nfo\" }\n }\n}"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user