Add report options and profile sharing support
هذا الالتزام موجود في:
@@ -1584,6 +1584,7 @@
|
||||
"pm.test('Status is 200', function () { pm.response.to.have.status(200); });",
|
||||
"const json = pm.response.json();",
|
||||
"pm.expect(json).to.have.property('stats');",
|
||||
"pm.expect(json).to.have.property('profileShareUrl');",
|
||||
"pm.expect(json).to.have.property('contentCounts');",
|
||||
"pm.expect(json).to.have.property('viewerState');"
|
||||
]
|
||||
@@ -1591,6 +1592,34 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Get Profile Overview By Username",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [
|
||||
{
|
||||
"key": "Authorization",
|
||||
"value": "Bearer {{accessToken}}"
|
||||
}
|
||||
],
|
||||
"url": "{{baseUrl}}/users/by-username/{{username}}"
|
||||
},
|
||||
"event": [
|
||||
{
|
||||
"listen": "test",
|
||||
"script": {
|
||||
"type": "text/javascript",
|
||||
"exec": [
|
||||
"pm.test('Status is 200', function () { pm.response.to.have.status(200); });",
|
||||
"const json = pm.response.json();",
|
||||
"pm.expect(json).to.have.property('stats');",
|
||||
"pm.expect(json).to.have.property('profileShareUrl');",
|
||||
"pm.expect(json).to.have.property('viewerState');"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Get My Artist Dashboard",
|
||||
"request": {
|
||||
@@ -10251,6 +10280,11 @@
|
||||
"value": "true",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"key": "username",
|
||||
"value": "artist_one",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"key": "reactionType",
|
||||
"value": "love",
|
||||
|
||||
@@ -1106,6 +1106,7 @@
|
||||
"pm.test('Status is 200', function () { pm.response.to.have.status(200); });",
|
||||
"const json = pm.response.json();",
|
||||
"pm.expect(json).to.have.property('stats');",
|
||||
"pm.expect(json).to.have.property('profileShareUrl');",
|
||||
"pm.expect(json).to.have.property('contentCounts');",
|
||||
"pm.expect(json).to.have.property('viewerState');"
|
||||
]
|
||||
@@ -1113,6 +1114,34 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Get Profile Overview By Username",
|
||||
"request": {
|
||||
"method": "GET",
|
||||
"header": [
|
||||
{
|
||||
"key": "Authorization",
|
||||
"value": "Bearer {{accessToken}}"
|
||||
}
|
||||
],
|
||||
"url": "{{baseUrl}}/users/by-username/{{username}}"
|
||||
},
|
||||
"event": [
|
||||
{
|
||||
"listen": "test",
|
||||
"script": {
|
||||
"type": "text/javascript",
|
||||
"exec": [
|
||||
"pm.test('Status is 200', function () { pm.response.to.have.status(200); });",
|
||||
"const json = pm.response.json();",
|
||||
"pm.expect(json).to.have.property('stats');",
|
||||
"pm.expect(json).to.have.property('profileShareUrl');",
|
||||
"pm.expect(json).to.have.property('viewerState');"
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Get My Artist Dashboard",
|
||||
"request": {
|
||||
@@ -7578,6 +7607,11 @@
|
||||
"value": "true",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"key": "username",
|
||||
"value": "artist_one",
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"key": "reactionType",
|
||||
"value": "love",
|
||||
|
||||
المرجع في مشكلة جديدة
حظر مستخدم