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:
parent
1086dfee25
commit
1a43aa302d
@ -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": ""
|
||||||
|
Loading…
Reference in New Issue
Block a user