1
0
mirror of https://github.com/krateng/maloja.git synced 2023-08-10 21:12:55 +03:00

Updated API tests

This commit is contained in:
krateng 2023-03-28 18:32:45 +02:00
parent 1086dfee25
commit 1a43aa302d

View File

@ -189,7 +189,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"key\": \"{{api_key}}\",\n \"artist\": \"{{data.artist1}}\",\n \"title\": \"{{data.title1}}\"\n}" "raw": "{\n \"key\": \"{{api_key}}\",\n \"artist\": \"{{data.artist1}}\",\n \"title\": \"{{data.title1}}\",\n \"album\": \"{{data.album}}\",\n \"albumartists\":[\n \"{{data.artist1}}\",\n \"{{data.artist3}}\"\n ]\n}"
}, },
"url": { "url": {
"raw": "{{url}}/apis/mlj_1/newscrobble", "raw": "{{url}}/apis/mlj_1/newscrobble",
@ -219,7 +219,7 @@
], ],
"body": { "body": {
"mode": "raw", "mode": "raw",
"raw": "{\n \"key\": \"{{api_key}}\",\n \"artists\": [\"{{data.artist1}}\",\"{{data.artist2}}\"],\n \"title\": \"{{data.title1}}\"\n}" "raw": "{\n \"key\": \"{{api_key}}\",\n \"artists\": [\"{{data.artist1}}\",\"{{data.artist2}}\"],\n \"title\": \"{{data.title1}}\",\n \"album\": \"{{data.album}}\",\n \"albumartists\":[\n \"{{data.artist1}}\",\n \"{{data.artist3}}\"\n ]\n}"
}, },
"url": { "url": {
"raw": "{{url}}/apis/mlj_1/newscrobble", "raw": "{{url}}/apis/mlj_1/newscrobble",
@ -867,6 +867,11 @@
"key": "data.title3", "key": "data.title3",
"value": "One in a Million" "value": "One in a Million"
}, },
{
"key": "data.album",
"value": "The Epic Collection",
"type": "default"
},
{ {
"key": "data.timestamp1", "key": "data.timestamp1",
"value": "" "value": ""