-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
50edae3
commit 3c96236
Showing
6 changed files
with
266 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
test/resources/9999999/asset/v1/content/assets/950143/delete-response.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
OK |
105 changes: 105 additions & 0 deletions
105
...esources/9999999/asset/v1/content/assets/get-response-customerKey=testExisting_asset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,105 @@ | ||
{ | ||
"count": 1, | ||
"page": 1, | ||
"pageSize": 50, | ||
"links": {}, | ||
"items": [ | ||
{ | ||
"id": 950143, | ||
"customerKey": "testExisting_asset", | ||
"objectID": "198ad191-59ae-44d1-9981-ffa71b076ad9", | ||
"contentType": "text/html", | ||
"assetType": { | ||
"id": 205, | ||
"name": "webpage", | ||
"displayName": "Web Page" | ||
}, | ||
"version": 1, | ||
"name": "testExisting_asset", | ||
"owner": { | ||
"id": 717319337, | ||
"email": "joern.berkefeld@accenture.com", | ||
"name": "Jörn Berkefeld", | ||
"userId": "717319337" | ||
}, | ||
"createdDate": "2021-09-13T12:14:02.32-06:00", | ||
"createdBy": { | ||
"id": 717319337, | ||
"email": "joern.berkefeld@accenture.com", | ||
"name": "Jörn Berkefeld", | ||
"userId": "717319337" | ||
}, | ||
"modifiedDate": "2023-08-02T07:10:29.553-06:00", | ||
"modifiedBy": { | ||
"id": 700304523, | ||
"name": "SFMC DEVOPS app user", | ||
"userId": "700304523" | ||
}, | ||
"enterpriseId": 111111, | ||
"memberId": 999999, | ||
"status": { | ||
"id": 1, | ||
"name": "Draft" | ||
}, | ||
"thumbnail": { | ||
"thumbnailUrl": "/v1/assets/950143/thumbnail" | ||
}, | ||
"category": { | ||
"id": 667369 | ||
}, | ||
"meta": { | ||
"globalStyles": { | ||
"isLocked": false, | ||
"body": { | ||
"max-width": "1280px", | ||
"color": "#000000", | ||
"font-family": "Arial", | ||
"font-size": "12px", | ||
"margin": "0px auto" | ||
}, | ||
"template": { | ||
"background-color": "#FFFFFF", | ||
"border": "none", | ||
"box-sizing": "border-box", | ||
"padding": "0px", | ||
"width": "100%" | ||
} | ||
} | ||
}, | ||
"views": { | ||
"html": { | ||
"thumbnail": {}, | ||
"content": "<!DOCTYPE html>\n<html>\n <head>\n <meta\n name=\"viewport\"\n content=\"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0\"\n />\n <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\" />\n <style class=\"main_style\">\n .layout-canvas-g {\n background-color: #ffffff;\n border: none;\n box-sizing: border-box;\n padding: 0px;\n width: 100%;\n }\n .layout-canvas-g > .header,\n .layout-canvas-g > .section,\n .layout-canvas-g > .footer {\n position: relative;\n overflow: hidden;\n width: 100%;\n overflow-wrap: break-word;\n }\n .layout-canvas-g > .section {\n margin: 10px 0px;\n }\n .layout-canvas-g > .section > .columns {\n box-sizing: border-box;\n overflow-wrap: break-word;\n }\n body {\n color: #000000;\n font-family: Arial;\n font-size: 12px;\n margin: 0px auto;\n max-width: 1280px;\n }\n @media only screen and (max-width: 480px) {\n .mobile-hidden {\n display: none !important;\n }\n .responsive-td {\n width: 100% !important;\n display: block !important;\n padding: 0px !important;\n }\n }\n .layout-canvas-g > .section > .columns {\n width: 100%;\n }\n </style>\n </head>\n <body>\n <div class=\"layout layout-canvas-g\">\n <div class=\"section\">\n <div class=\"columns col1\">\n <div data-type=\"slot\" data-key=\"col1\"></div>\n </div>\n </div>\n </div>\n </body>\n</html>\n", | ||
"slots": { | ||
"col1": { | ||
"content": "<div data-type=\"block\" data-key=\"bgbqbbx4we9\"></div>", | ||
"design": "<p style=\"font-family:arial;color:#ccc;font-size:11px;text-align:center;vertical-align:middle;font-weight:bold;padding:10px;margin:0;border:#ccc dashed 1px;\">Drop blocks or content here</p>", | ||
"blocks": { | ||
"bgbqbbx4we9": { | ||
"assetType": { | ||
"id": 197, | ||
"name": "htmlblock" | ||
}, | ||
"content": "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" role=\"presentation\" style=\"min-width: 100%; \" class=\"stylingblock-content-wrapper\"><tr><td class=\"stylingblock-content-wrapper camarker-inner\">\n%%[FOR @I=1 TO 1000 DO\n SET @a = CONCAT(IIF(MOD(@i, 3)==0, \"Fizz\", \"\"), IIF(MOD(@i,5)==0,\"Buzz\",\"\"), IIF(MOD(@i, 7)==0, \"Boing\", \"\"), IIF(MOD(@i,11)==0,\"Bang\",\"\"))\nOUTPUT(CONCAT(@a, IIF(LENGTH(@a)>0, \"\", @i), \"<br>\"))NEXT @i\n]%%\n</td></tr></table>", | ||
"design": "<table cellpadding=\"0\" cellspacing=\"0\" width=\"100%\" role=\"presentation\" style=\"min-width: 100%; \" class=\"stylingblock-content-wrapper\"><tr><td class=\"stylingblock-content-wrapper camarker-inner\"><div class=\"default-design\"><div style=\"width:100%;height:150px;background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABtYAAACWBAMAAAC4IKEyAAAAMFBMVEUBAQGZmZmJiYlpaWk5OTmenp56enqUlJShoaFaWlqOjo6Dg4Ojo6P+/v7e3t68vLypNl01AAAADHRSTlMwy5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GOt0xas7bb8sMZa61hjrczzvJigNdZYW6f7qViL+rbGGmsX+Z+KsNYu1lhjLVo3HHdM1lhjjTXWWGONNdZYY22b7/tmLWKNtT5ijTXW+o411lhjjTXWWMuybNmlNdZYYy06xRprrL0ObI011mZdWLv+Yq0Pa6yx9lGN0hpr8YnjwyyssXZTjdQaa1Fra8PH2tllMYi1MsZW/Q9rrLH2XA0ea6zNu/hl/KytscaaWItYm2asscaaWGvfhK1d7Ze1xcDmVVgTa+u0bG+NteZn8h1rrDXE2umxxhprrLH2whpr3acyXvmxxprEGmtibZwdnRa46c+axNqkkliTWKtSSkXjhm1Kj9WsE2uSWJNYk/QLCrLZZJTyaZMAAAAASUVORK5CYII=) repeat-x 0 0\"></div></div></td></tr></table>", | ||
"meta": { | ||
"wrapperStyles": { | ||
"mobile": { | ||
"visible": true | ||
} | ||
} | ||
}, | ||
"modelVersion": 2 | ||
} | ||
}, | ||
"modelVersion": 2 | ||
} | ||
}, | ||
"modelVersion": 2 | ||
} | ||
}, | ||
"availableViews": ["html"], | ||
"modelVersion": 2 | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters