Add report options and profile sharing support

This commit is contained in:
boutmoun123
2026-06-11 12:04:51 +03:00
parent a3628d19a2
commit 20fe06b5ed
7 changed files with 186 additions and 1 deletions
@@ -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",