diff --git a/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getImages.json b/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getImages.json index 76380b0..cf4d174 100644 --- a/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getImages.json +++ b/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getImages.json @@ -1,282 +1,282 @@ { - stat: "ok", - result: { - paging: { - page: 0, - per_page: 100, - count: 4, - total_count: "1" + "stat": "ok", + "result": { + "paging": { + "page": 0, + "per_page": 100, + "count": 4, + "total_count": "1" }, - images: [ + "images": [ { - is_favorite: false, - id: 4, - width: 4452, - height: 2968, - hit: 2, - file: "2017-08-30-20-38-c7d_7682.jpg", - name: "2017-08-30-20-38-c7d 7682", - comment: null, - date_creation: "2017-08-30 20:38:47", - date_available: "2022-10-20 22:01:32", - page_url: "http://localhost:8080/picture.php?/4", - element_url: "http://localhost:8080/upload/2022/10/20/20221020220132-2c6d9eab.jpg", - derivatives: { - square: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220132-2c6d9eab-sq.jpg", - width: 120, - height: 120 + "is_favorite": false, + "id": 4, + "width": 4452, + "height": 2968, + "hit": 3, + "file": "2017-08-30-20-38-c7d_7682.jpg", + "name": "2017-08-30-20-38-c7d 7682", + "comment": null, + "date_creation": "2017-08-30 20:38:47", + "date_available": "2022-10-20 22:01:32", + "page_url": "http:\/\/localhost:8080\/picture.php?\/4", + "element_url": "http:\/\/localhost:8080\/upload\/2022\/10\/20\/20221020220132-2c6d9eab.jpg", + "derivatives": { + "square": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-sq.jpg", + "width": 120, + "height": 120 }, - thumb: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220132-2c6d9eab-th.jpg", - width: 144, - height: 96 + "thumb": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-th.jpg", + "width": 144, + "height": 96 }, - 2small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220132-2c6d9eab-2s.jpg", - width: 240, - height: 160 + "2small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-2s.jpg", + "width": 240, + "height": 160 }, - xsmall: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220132-2c6d9eab-xs.jpg", - width: 432, - height: 288 + "xsmall": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-xs.jpg", + "width": 432, + "height": 288 }, - small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220132-2c6d9eab-sm.jpg", - width: 576, - height: 384 + "small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-sm.jpg", + "width": 576, + "height": 384 }, - medium: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220132-2c6d9eab-me.jpg", - width: 792, - height: 528 + "medium": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-me.jpg", + "width": 792, + "height": 528 }, - large: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220132-2c6d9eab-la.jpg", - width: 1008, - height: 672 + "large": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-la.jpg", + "width": 1008, + "height": 672 }, - xlarge: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220132-2c6d9eab-xl.jpg", - width: 1224, - height: 816 + "xlarge": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-xl.jpg", + "width": 1224, + "height": 816 }, - xxlarge: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220132-2c6d9eab-xx.jpg", - width: 1656, - height: 1104 + "xxlarge": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220132-2c6d9eab-xx.jpg", + "width": 1656, + "height": 1104 } }, - categories: [ + "categories": [ { - id: 7, - url: "http://localhost:8080/index.php?/category/7", - page_url: "http://localhost:8080/picture.php?/4/category/7" + "id": 7, + "url": "http:\/\/localhost:8080\/index.php?\/category\/7", + "page_url": "http:\/\/localhost:8080\/picture.php?\/4\/category\/7" } ] }, { - is_favorite: false, - id: 3, - width: 3961, - height: 2641, - hit: 4, - file: "2017-05-24-20-35-c7d_6283.jpg", - name: "2017-05-24-20-35-c7d 6283", - comment: null, - date_creation: "2017-05-24 20:35:44", - date_available: "2022-10-20 22:01:31", - page_url: "http://localhost:8080/picture.php?/3", - element_url: "http://localhost:8080/upload/2022/10/20/20221020220131-9a567bdb.jpg", - derivatives: { - square: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-sq.jpg", - width: 120, - height: 120 + "is_favorite": false, + "id": 3, + "width": 3961, + "height": 2641, + "hit": 5, + "file": "2017-05-24-20-35-c7d_6283.jpg", + "name": "2017-05-24-20-35-c7d 6283", + "comment": null, + "date_creation": "2017-05-24 20:35:44", + "date_available": "2022-10-20 22:01:31", + "page_url": "http:\/\/localhost:8080\/picture.php?\/3", + "element_url": "http:\/\/localhost:8080\/upload\/2022\/10\/20\/20221020220131-9a567bdb.jpg", + "derivatives": { + "square": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-sq.jpg", + "width": 120, + "height": 120 }, - thumb: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-th.jpg", - width: 144, - height: 96 + "thumb": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-th.jpg", + "width": 144, + "height": 96 }, - 2small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-2s.jpg", - width: 240, - height: 160 + "2small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-2s.jpg", + "width": 240, + "height": 160 }, - xsmall: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-xs.jpg", - width: 432, - height: 288 + "xsmall": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xs.jpg", + "width": 432, + "height": 288 }, - small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-sm.jpg", - width: 576, - height: 384 + "small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-sm.jpg", + "width": 576, + "height": 384 }, - medium: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-me.jpg", - width: 792, - height: 528 + "medium": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-me.jpg", + "width": 792, + "height": 528 }, - large: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-la.jpg", - width: 1008, - height: 672 + "large": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-la.jpg", + "width": 1008, + "height": 672 }, - xlarge: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-xl.jpg", - width: 1224, - height: 816 + "xlarge": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xl.jpg", + "width": 1224, + "height": 816 }, - xxlarge: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-xx.jpg", - width: 1656, - height: 1104 + "xxlarge": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xx.jpg", + "width": 1656, + "height": 1104 } }, - categories: [ + "categories": [ { - id: 7, - url: "http://localhost:8080/index.php?/category/7", - page_url: "http://localhost:8080/picture.php?/3/category/7" + "id": 7, + "url": "http:\/\/localhost:8080\/index.php?\/category\/7", + "page_url": "http:\/\/localhost:8080\/picture.php?\/3\/category\/7" } ] }, { - is_favorite: false, - id: 2, - width: 3107, - height: 4660, - hit: 4, - file: "2017-04-21-11-53-C7D_4469.jpg", - name: "2017-04-21-11-53-C7D 4469", - comment: null, - date_creation: "2017-04-21 11:53:28", - date_available: "2022-10-20 22:01:30", - page_url: "http://localhost:8080/picture.php?/2", - element_url: "http://localhost:8080/upload/2022/10/20/20221020220130-8e50dbd3.jpg", - derivatives: { - square: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220130-8e50dbd3-sq.jpg", - width: 120, - height: 120 + "is_favorite": false, + "id": 2, + "width": 3107, + "height": 4660, + "hit": 4, + "file": "2017-04-21-11-53-C7D_4469.jpg", + "name": "2017-04-21-11-53-C7D 4469", + "comment": null, + "date_creation": "2017-04-21 11:53:28", + "date_available": "2022-10-20 22:01:30", + "page_url": "http:\/\/localhost:8080\/picture.php?\/2", + "element_url": "http:\/\/localhost:8080\/upload\/2022\/10\/20\/20221020220130-8e50dbd3.jpg", + "derivatives": { + "square": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-sq.jpg", + "width": 120, + "height": 120 }, - thumb: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220130-8e50dbd3-th.jpg", - width: 96, - height: 144 + "thumb": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-th.jpg", + "width": 96, + "height": 144 }, - 2small: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220130-8e50dbd3-2s.jpg", - width: 160, - height: 240 + "2small": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-2s.jpg", + "width": 160, + "height": 240 }, - xsmall: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220130-8e50dbd3-xs.jpg", - width: 216, - height: 324 + "xsmall": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-xs.jpg", + "width": 216, + "height": 324 }, - small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220130-8e50dbd3-sm.jpg", - width: 288, - height: 432 + "small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-sm.jpg", + "width": 288, + "height": 432 }, - medium: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220130-8e50dbd3-me.jpg", - width: 396, - height: 594 + "medium": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-me.jpg", + "width": 396, + "height": 594 }, - large: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220130-8e50dbd3-la.jpg", - width: 504, - height: 756 + "large": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-la.jpg", + "width": 504, + "height": 756 }, - xlarge: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220130-8e50dbd3-xl.jpg", - width: 612, - height: 918 + "xlarge": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-xl.jpg", + "width": 612, + "height": 918 }, - xxlarge: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220130-8e50dbd3-xx.jpg", - width: 828, - height: 1242 + "xxlarge": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220130-8e50dbd3-xx.jpg", + "width": 828, + "height": 1242 } }, - categories: [ + "categories": [ { - id: 7, - url: "http://localhost:8080/index.php?/category/7", - page_url: "http://localhost:8080/picture.php?/2/category/7" + "id": 7, + "url": "http:\/\/localhost:8080\/index.php?\/category\/7", + "page_url": "http:\/\/localhost:8080\/picture.php?\/2\/category\/7" } ] }, { - is_favorite: false, - id: 1, - width: 5184, - height: 3456, - hit: 2, - file: "2017-01-05-11-25-c7d_2770.jpg", - name: "2017-01-05-11-25-c7d 2770", - comment: null, - date_creation: "2017-01-05 11:25:34", - date_available: "2022-10-20 22:01:29", - page_url: "http://localhost:8080/picture.php?/1", - element_url: "http://localhost:8080/upload/2022/10/20/20221020220129-6b8c2a7d.jpg", - derivatives: { - square: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220129-6b8c2a7d-sq.jpg", - width: 120, - height: 120 + "is_favorite": false, + "id": 1, + "width": 5184, + "height": 3456, + "hit": 2, + "file": "2017-01-05-11-25-c7d_2770.jpg", + "name": "2017-01-05-11-25-c7d 2770", + "comment": null, + "date_creation": "2017-01-05 11:25:34", + "date_available": "2022-10-20 22:01:29", + "page_url": "http:\/\/localhost:8080\/picture.php?\/1", + "element_url": "http:\/\/localhost:8080\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d.jpg", + "derivatives": { + "square": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-sq.jpg", + "width": 120, + "height": 120 }, - thumb: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-th.jpg", - width: 144, - height: 96 + "thumb": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-th.jpg", + "width": 144, + "height": 96 }, - 2small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-2s.jpg", - width: 240, - height: 160 + "2small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-2s.jpg", + "width": 240, + "height": 160 }, - xsmall: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220129-6b8c2a7d-xs.jpg", - width: 432, - height: 288 + "xsmall": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-xs.jpg", + "width": 432, + "height": 288 }, - small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-sm.jpg", - width: 576, - height: 384 + "small": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-sm.jpg", + "width": 576, + "height": 384 }, - medium: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220129-6b8c2a7d-me.jpg", - width: 792, - height: 528 + "medium": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-me.jpg", + "width": 792, + "height": 528 }, - large: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-la.jpg", - width: 1008, - height: 672 + "large": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-la.jpg", + "width": 1008, + "height": 672 }, - xlarge: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-xl.jpg", - width: 1224, - height: 816 + "xlarge": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-xl.jpg", + "width": 1224, + "height": 816 }, - xxlarge: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220129-6b8c2a7d-xx.jpg", - width: 1656, - height: 1104 + "xxlarge": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220129-6b8c2a7d-xx.jpg", + "width": 1656, + "height": 1104 } }, - categories: [ + "categories": [ { - id: 7, - url: "http://localhost:8080/index.php?/category/7", - page_url: "http://localhost:8080/picture.php?/1/category/7" + "id": 7, + "url": "http:\/\/localhost:8080\/index.php?\/category\/7", + "page_url": "http:\/\/localhost:8080\/picture.php?\/1\/category\/7" } ] } diff --git a/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getInfo.json b/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getInfo.json index e5bb6bd..4e9e91f 100644 --- a/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getInfo.json +++ b/PiwigoDotnet/Piwigo.Client.Tests/ImageApi.getInfo.json @@ -1,110 +1,110 @@ { - stat: "ok", - result: { - id: 3, - file: "2017-05-24-20-35-c7d_6283.jpg", - date_available: "2022-10-20 22:01:31", - date_creation: "2017-05-24 20:35:44", - name: "2017-05-24-20-35-c7d 6283", - comment: null, - author: null, - hit: 5, - filesize: 4647, - width: 3961, - height: 2641, - coi: null, - representative_ext: null, - date_metadata_update: "2022-10-21", - rating_score: null, - level: "0", - md5sum: "9a567bdb978802f619c3610c206f0cdb", - added_by: "1", - rotation: "0", - latitude: null, - longitude: null, - lastmodified: "2022-10-20 22:01:31", - page_url: "http://localhost:8080/picture.php?/3", - element_url: "http://localhost:8080/upload/2022/10/20/20221020220131-9a567bdb.jpg", - derivatives: { - square: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-sq.jpg", - width: 120, - height: 120 + "stat": "ok", + "result": { + "id": 3, + "file": "2017-05-24-20-35-c7d_6283.jpg", + "date_available": "2022-10-20 22:01:31", + "date_creation": "2017-05-24 20:35:44", + "name": "2017-05-24-20-35-c7d 6283", + "comment": null, + "author": null, + "hit": 5, + "filesize": 4647, + "width": 3961, + "height": 2641, + "coi": null, + "representative_ext": null, + "date_metadata_update": "2022-10-21", + "rating_score": null, + "level": "0", + "md5sum": "9a567bdb978802f619c3610c206f0cdb", + "added_by": "1", + "rotation": "0", + "latitude": null, + "longitude": null, + "lastmodified": "2022-10-20 22:01:31", + "page_url": "http:\/\/localhost:8080\/picture.php?\/3", + "element_url": "http:\/\/localhost:8080\/upload\/2022\/10\/20\/20221020220131-9a567bdb.jpg", + "derivatives": { + "square": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-sq.jpg", + "width": 120, + "height": 120 }, - thumb: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-th.jpg", - width: 144, - height: 96 + "thumb": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-th.jpg", + "width": 144, + "height": 96 }, - 2small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-2s.jpg", - width: 240, - height: 160 + "2small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-2s.jpg", + "width": 240, + "height": 160 }, - xsmall: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-xs.jpg", - width: 432, - height: 288 + "xsmall": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xs.jpg", + "width": 432, + "height": 288 }, - small: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-sm.jpg", - width: 576, - height: 384 + "small": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-sm.jpg", + "width": 576, + "height": 384 }, - medium: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-me.jpg", - width: 792, - height: 528 + "medium": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-me.jpg", + "width": 792, + "height": 528 }, - large: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-la.jpg", - width: 1008, - height: 672 + "large": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-la.jpg", + "width": 1008, + "height": 672 }, - xlarge: { - url: "http://localhost:8080/i.php?/upload/2022/10/20/20221020220131-9a567bdb-xl.jpg", - width: 1224, - height: 816 + "xlarge": { + "url": "http:\/\/localhost:8080\/i.php?\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xl.jpg", + "width": 1224, + "height": 816 }, - xxlarge: { - url: "http://localhost:8080/_data/i/upload/2022/10/20/20221020220131-9a567bdb-xx.jpg", - width: 1656, - height: 1104 + "xxlarge": { + "url": "http:\/\/localhost:8080\/_data\/i\/upload\/2022\/10\/20\/20221020220131-9a567bdb-xx.jpg", + "width": 1656, + "height": 1104 } }, - rates: { - score: null, - count: 0, - average: null + "rates": { + "score": null, + "count": 0, + "average": null }, - categories: [ + "categories": [ { - id: 7, - name: "LocalTestAlbum", - permalink: null, - uppercats: "7", - global_rank: "1", - url: "http://localhost:8080/index.php?/category/7", - page_url: "http://localhost:8080/picture.php?/3/category/7" + "id": 7, + "name": "LocalTestAlbum", + "permalink": null, + "uppercats": "7", + "global_rank": "1", + "url": "http:\/\/localhost:8080\/index.php?\/category\/7", + "page_url": "http:\/\/localhost:8080\/picture.php?\/3\/category\/7" } ], - tags: [], - comment_post: { - author: "admin", - key: "1666472481:2:c928621171e6b7b3ba199c59c778df09" + "tags": [], + "comment_post": { + "author": "admin", + "key": "1666472481:2:c928621171e6b7b3ba199c59c778df09" }, - comments_paging: { - page: 0, - per_page: "10", - count: 1, - total_count: 1 + "comments_paging": { + "page": 0, + "per_page": "10", + "count": 1, + "total_count": 1 }, - comments: [ + "comments": [ { - id: 1, - date: "2022-10-22 21:00:48", - author: "admin", - content: "testkommentar" + "id": 1, + "date": "2022-10-22 21:00:48", + "author": "admin", + "content": "testkommentar" } ] } diff --git a/PiwigoDotnet/Piwigo.Client.Tests/ImageApiTests.GetImages_should_return_expected_images.verified.txt b/PiwigoDotnet/Piwigo.Client.Tests/ImageApiTests.GetImages_should_return_expected_images.verified.txt index eaa1518..2a53fb1 100644 --- a/PiwigoDotnet/Piwigo.Client.Tests/ImageApiTests.GetImages_should_return_expected_images.verified.txt +++ b/PiwigoDotnet/Piwigo.Client.Tests/ImageApiTests.GetImages_should_return_expected_images.verified.txt @@ -8,7 +8,7 @@ id: 4, width: 4452, height: 2968, - hit: 2, + hit: 3, file: 2017-08-30-20-38-c7d_7682.jpg, name: 2017-08-30-20-38-c7d 7682, date_creation: DateTime_1, @@ -74,7 +74,7 @@ id: 3, width: 3961, height: 2641, - hit: 4, + hit: 5, file: 2017-05-24-20-35-c7d_6283.jpg, name: 2017-05-24-20-35-c7d 6283, date_creation: DateTime_3, @@ -230,7 +230,7 @@ height: 528 }, small: { - url: http://localhost:8080/i.php?/upload/2022/10/20/20221020220129-6b8c2a7d-sm.jpg, + url: http://localhost:8080/_data/i/upload/2022/10/20/20221020220129-6b8c2a7d-sm.jpg, width: 576, height: 384 },