Changes for page Design Details

Last modified by Shop Team on 2023/02/13 22:56

<
From version < 3.1 >
edited by Shop Team
on 2019/08/01 12:13
To version < 10.1 >
edited by Shop Team
on 2019/08/01 15:09
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -Design
1 +Designs
Content
... ... @@ -1,3 +1,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 +
1 1  = List of all designs in the shop =
2 2  
3 3  (% class="wrapped" %)
... ... @@ -16,12 +16,31 @@
16 16  [[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"]]
17 17  )))
18 18  
21 +(% class="auto-cursor-target" %)
19 19  \\
20 20  
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 +
21 21  {{code language="js" title="Example Payload"}}
22 22  {
23 - "sortField":"default",
24 - "sortOrder":"default",
25 25   "offset":0,
26 26   "limit":10,
27 27   "count":2,
... ... @@ -30,15 +30,6 @@
30 30   "id":"163261757",
31 31   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757",
32 32   "name":"I love you",
33 - "price":{
34 - "vatIncluded":0.0,
35 - "vatExcluded":0.0,
36 - "vat":0.0,
37 - "currency":{
38 - "id":"1",
39 - "href":"https://api.spreadshirt.net/api/v1/currencies/1"
40 - }
41 - },
42 42   "backgroundColor":"#666666",
43 43   "resources":[
44 44   {
... ... @@ -47,21 +47,11 @@
47 47   "type":"preview"
48 48   }
49 49   ],
50 - "version":1562573036
51 51   },
52 52   {
53 53   "id":"163261722",
54 54   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722",
55 55   "name":"pinguine",
56 - "price":{
57 - "vatIncluded":0.0,
58 - "vatExcluded":0.0,
59 - "vat":0.0,
60 - "currency":{
61 - "id":"1",
62 - "href":"https://api.spreadshirt.net/api/v1/currencies/1"
63 - }
64 - },
65 65   "resources":[
66 66   {
67 67   "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722",
... ... @@ -69,7 +69,6 @@
69 69   "type":"preview"
70 70   }
71 71   ],
72 - "version":1562573036
73 73   },
74 74   ]
75 75  }
... ... @@ -79,6 +79,7 @@
79 79  
80 80  = Details about a design =
81 81  
83 +(% class="wrapped" %)
82 82  |=(((
83 83  Method
84 84  )))|=(((
... ... @@ -96,6 +96,17 @@
96 96  
97 97  \\
98 98  
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 +
99 99  {{code language="js" title="Example Payload"}}
100 100  {
101 101   "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757",
... ... @@ -128,18 +128,6 @@
128 128   "id":"1"
129 129   },
130 130   ],
131 - "designCategories":[
132 -
133 - ],
134 - "price":{
135 - "vatExcluded":0.00,
136 - "vatIncluded":0.00,
137 - "vat":19.00,
138 - "currency":{
139 - "href":"https://api.spreadshirt.net/api/v1/currencies/1",
140 - "id":"1"
141 - }
142 - },
143 143   "resources":[
144 144   {
145 145   "mediaType":"png",
Confluence.Code.ConfluencePageClass[0]
id
... ... @@ -1,1 +1,1 @@
1 -28278861
1 +86999041
url
... ... @@ -1,1 +1,1 @@
1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278861/Design
1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/86999041/Designs