Changes for page Design Details
Last modified by Shop Team on 2023/02/13 22:56
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
-
Objects (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -Design Details1 +Design - Parent
-
... ... @@ -1,1 +1,0 @@ 1 -API.Spreadshirt Public Shop API Documentation.API REST Resources.WebHome - Content
-
... ... @@ -1,5 +1,7 @@ 1 -In our terminology, a design represents a pixel (png, jpg, gif) or vector image (svg) that you uploaded in the Partner Area. Every entry from theĀ [[Sellables endpoint>>doc:API.Sellables]] contains a field "mainDesignId". This id can be used to access the resource below in order to retrieve additional information about the upload. In the vast majority of implementations, this information is not necessary and it suffices to use the "Sellables" resource.1 +In our terminology, a design represents a pixel (png, jpg, gif) or vector image (svg) that you uploaded in the Partner Area. 2 2 3 += List of all designs in the shop = 4 + 3 3 (% class="wrapped" %) 4 4 |=((( 5 5 Method ... ... @@ -11,6 +11,84 @@ 11 11 |((( 12 12 GET 13 13 )))|((( 16 +/api/v1/shops/<shopId>/designs 17 +)))|((( 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 +))) 20 + 21 +(% class="auto-cursor-target" %) 22 +\\ 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 +{{code language="js" title="Example Payload"}} 45 +{ 46 + "offset":0, 47 + "limit":10, 48 + "count":2, 49 + "designs":[ 50 + { 51 + "id":"163261757", 52 + "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261757", 53 + "name":"I love you", 54 + "backgroundColor":"#666666", 55 + "resources":[ 56 + { 57 + "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261757", 58 + "mediaType":"png", 59 + "type":"preview" 60 + } 61 + ], 62 + }, 63 + { 64 + "id":"163261722", 65 + "href":"https://api.spreadshirt.net/api/v1/shops/100488332/designs/163261722", 66 + "name":"pinguine", 67 + "resources":[ 68 + { 69 + "href":"https://image.spreadshirtmedia.net/image-server/v1/designs/163261722", 70 + "mediaType":"png", 71 + "type":"preview" 72 + } 73 + ], 74 + }, 75 + ] 76 +} 77 +{{/code}} 78 + 79 +\\ 80 + 81 += Details about a design = 82 + 83 +(% class="wrapped" %) 84 +|=((( 85 +Method 86 +)))|=((( 87 +URL 88 +)))|=((( 89 +Example 90 +))) 91 +|((( 92 +GET 93 +)))|((( 14 14 /api/v1/shops/<shopId>/designs/<designId> 15 15 )))|((( 16 16 [[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"]]
- design-layer2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest - Size
-
... ... @@ -1,1 +1,0 @@ 1 -31.8 KB - Content
- Confluence.Code.ConfluencePageClass[0]
-
- id
-
... ... @@ -1,1 +1,1 @@ 1 -28278 8561 +28278911 - url
-
... ... @@ -1,1 +1,1 @@ 1 -https://developer.spreadshirt.net/wiki/spaces/API/pages/28278 856/DesignDetails1 +https://developer.spreadshirt.net/wiki/spaces/API/pages/28278911/Design