Changes for page Design Details
Last modified by Shop Team on 2023/02/13 22:56
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Design s1 +Design - Content
-
... ... @@ -1,8 +3,5 @@ 1 -In our terminology, a design represents a pixel (png, jpg, gif) or vector image (svg) that you uploaded in the Partner Area. 2 - 3 3 = List of all designs in the shop = 4 4 5 -(% class="wrapped" %) 6 6 |=((( 7 7 Method 8 8 )))|=((( ... ... @@ -18,31 +18,12 @@ 18 18 [[https:~~/~~/api.spreadshirt.net/api/v1/shops/100488332/designs?mediaType=json>>url:https://api.spreadshirt.net/api/v1/shops/100488332/designs?mediaType=json||shape="rect"]] 19 19 ))) 20 20 21 -(% class="auto-cursor-target" %) 22 22 \\ 23 23 24 -|=((( 25 -Query Paramete 26 -)))|=((( 27 -Description 28 -))) 29 -|((( 30 -limit 31 -)))|((( 32 -Between 1 and 1000. Determines the maximum number of results per request. 33 -))) 34 -|((( 35 -offset 36 -)))|((( 37 -Allows pagination. 38 -))) 39 - 40 -\\ 41 - 42 -\\ 43 - 44 44 {{code language="js" title="Example Payload"}} 45 45 { 22 + "sortField":"default", 23 + "sortOrder":"default", 46 46 "offset":0, 47 47 "limit":10, 48 48 "count":2, ... ... @@ -51,6 +51,15 @@ 51 51 "id":"163261757", 52 52 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757", 53 53 "name":"I love you", 32 + "price":{ 33 + "vatIncluded":0.0, 34 + "vatExcluded":0.0, 35 + "vat":0.0, 36 + "currency":{ 37 + "id":"1", 38 + "href":"https://api.spreadshirt.net/api/v1/currencies/1" 39 + } 40 + }, 54 54 "backgroundColor":"#666666", 55 55 "resources":[ 56 56 { ... ... @@ -59,11 +59,21 @@ 59 59 "type":"preview" 60 60 } 61 61 ], 49 + "version":1562573036 62 62 }, 63 63 { 64 64 "id":"163261722", 65 65 "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722", 66 66 "name":"pinguine", 55 + "price":{ 56 + "vatIncluded":0.0, 57 + "vatExcluded":0.0, 58 + "vat":0.0, 59 + "currency":{ 60 + "id":"1", 61 + "href":"https://api.spreadshirt.net/api/v1/currencies/1" 62 + } 63 + }, 67 67 "resources":[ 68 68 { 69 69 "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722", ... ... @@ -71,90 +71,13 @@ 71 71 "type":"preview" 72 72 } 73 73 ], 71 + "version":1562573036 74 74 }, 75 75 ] 76 76 } 77 77 {{/code}} 78 78 77 +(% class="auto-cursor-target" %) 79 79 \\ 80 80 81 -= Details about a design = 82 - 83 -(% class="wrapped" %) 84 -|=((( 85 -Method 86 -)))|=((( 87 -URL 88 -)))|=((( 89 -Example 90 -))) 91 -|((( 92 -GET 93 -)))|((( 94 -/api/v1/shops/<shopId>/designs/<designId> 95 -)))|((( 96 -[[https:~~/~~/api.spreadshirt.net/api/v1/shops/100488332/designs/163261757?mediaType=json>>url:https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757?mediaType=json||shape="rect"]] 97 -))) 98 - 99 99 \\ 100 - 101 -A design has the following characteristics: 102 - 103 -* Each design has a name, a description, a size. 104 -* **Images:** To retrieve a design image, you can use a URL similar to the following one: [[https:~~/~~/image.spreadshirtmedia.net/image-server/v1/designs/2484607>>url:https://image.spreadshirtmedia.net/image-server/v1/designs/2484607||shape="rect"]]. These URLs are provided within the resources part of the design payload. 105 -* **Color Layers:** Vector designs consist of one or more color layers. We provide for each color layer, the original color of the uploaded design as well as the color set by the owner as actual default color. Example: 106 -[[image:attach:design-layer2.png]] 107 -\\ 108 -* **Allowed Print Types:** For each design, we provide a list of print types, e.g. flock, flex or digital direct print, that can be used to print that design. Vector and pixel images are printed using different print types! 109 - 110 -\\ 111 - 112 -{{code language="js" title="Example Payload"}} 113 -{ 114 - "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757", 115 - "id":"163261757", 116 - "created":"2019-07-08T08:03:56.000+0000", 117 - "modified":"2019-07-22T10:17:39.000+0000", 118 - "name":"I love you", 119 - "description":"A lovely design for you", 120 - "tags":"Love,Love hurts,Love me,Love parade,Love with heart,Loved,Lovestruck,You,Young money,Young wild and free,Your,Youtube,migration,shop api,test", 121 - "user":{ 122 - "href":"https://api.spreadshirt.net/api/v1/users/117878306", 123 - "id":"117878306" 124 - }, 125 - "size":{ 126 - "width":3938.0, 127 - "height":1149.0, 128 - "unit":"px" 129 - }, 130 - "colors":[ 131 - 132 - ], 133 - "backgroundColor":"#666666", 134 - "printTypes":[ 135 - { 136 - "href":"https://api.spreadshirt.net/api/v1/shops/100488332/printTypes/17", 137 - "id":"17" 138 - }, 139 - { 140 - "href":"https://api.spreadshirt.net/api/v1/shops/100488332/printTypes/1", 141 - "id":"1" 142 - }, 143 - ], 144 - "resources":[ 145 - { 146 - "mediaType":"png", 147 - "type":"preview", 148 - "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261757,backgroundColor=666666" 149 - }, 150 - { 151 - "mediaType":"png", 152 - "type":"montage", 153 - "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261757" 154 - } 155 - ], 156 -} 157 -{{/code}} 158 - 159 -(% class="auto-cursor-target" %) 160 -\\
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -8 69990411 +28278859 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/8 6999041/Designs1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278859/Design