test: move ListLatest from video.json to feed.json
This commit is contained in:
@@ -6,34 +6,6 @@
|
||||
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
|
||||
},
|
||||
"item": [
|
||||
{
|
||||
"name": "List Latest Videos",
|
||||
"event": [
|
||||
{
|
||||
"listen": "test",
|
||||
"script": {
|
||||
"type": "text/javascript",
|
||||
"exec": [
|
||||
"pm.test(\"latest videos fetched\", function () {",
|
||||
" pm.response.to.have.status(200);",
|
||||
"});"
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"request": {
|
||||
"method": "POST",
|
||||
"header": [
|
||||
{ "key": "Content-Type", "value": "application/json" }
|
||||
],
|
||||
"body": { "mode": "raw", "raw": "{}" },
|
||||
"url": {
|
||||
"raw": "{{host}}/video/listLatest",
|
||||
"host": ["{{host}}"],
|
||||
"path": ["video", "listLatest"]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "List Videos By Author ID",
|
||||
"event": [
|
||||
|
||||
Reference in New Issue
Block a user