Advertisement
lbenedek

Untitled

Aug 11th, 2023
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.37 KB | None | 0 0
  1. {
  2. "class": ["Asset"],
  3. "properties": {
  4. "version": "1691738375422",
  5. "id": "7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f",
  6. "type": "IMAGE",
  7. "originalWidth": 4000,
  8. "originalHeight": 3000,
  9. "acsAsset": true,
  10. "loaded": true,
  11. "tags": {},
  12. "role": "SOCIAL_SMILE",
  13. "dateUpdated": "2023-08-11T07:19:35+0000",
  14. "meta": {
  15. "modification": {
  16. "flipHorizontally": false,
  17. "flipVertically": false,
  18. "crop": {
  19. "width": 4000,
  20. "height": 3000,
  21. "offsetX": 0,
  22. "offsetY": 0
  23. },
  24. "rotate": 90
  25. }
  26. },
  27. "countryCode": "US",
  28. "dateCreated": "2023-08-11T07:19:35+0000",
  29. "createdBy": "mgalli",
  30. "contentMD5": "04ca8dff8dae3febbc47d0c58aa9e0d0",
  31. "deleted": false,
  32. "contentType": "image/jpeg"
  33. },
  34. "actions": [{
  35. "name": "get-asset-thumbnail",
  36. "method": "GET",
  37. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/get-thumbnail",
  38. "title": "Get resized asset with modifications applied",
  39. "type": "application/x-www-form-urlencoded",
  40. "fields": [{
  41. "name": "version",
  42. "title": "Version of asset",
  43. "type": "NUMBER",
  44. "value": "",
  45. "required": false
  46. }, {
  47. "name": "size",
  48. "title": "Desired size of thumbnails, providing size=60 will result in image with 60x60 size restrictions",
  49. "type": "NUMBER",
  50. "value": "225",
  51. "required": false
  52. }, {
  53. "name": "modifications",
  54. "title": "Parameter that determines if stored modifications needs to be applied to thumbnail (rotation, flip)",
  55. "type": "CHECKBOX",
  56. "value": "true",
  57. "required": false
  58. }, {
  59. "name": "crop",
  60. "title": "Parameter that determines if stored crop details needs to be applied to thumbnail (crop)",
  61. "type": "CHECKBOX",
  62. "value": "false",
  63. "required": false
  64. }, {
  65. "name": "originalSize",
  66. "title": "Parameter that determines if original image size should be returned instead of thumbnail.",
  67. "type": "CHECKBOX",
  68. "value": "false",
  69. "required": false
  70. }, {
  71. "name": "removeExifModifications",
  72. "title": "Parameter that determines if additional modifications stored in exif should be removed.",
  73. "type": "CHECKBOX",
  74. "value": "false",
  75. "required": false
  76. }, {
  77. "name": "removeProfiles",
  78. "title": "Parameter that determines if profiles stored in image should be removed.",
  79. "type": "TEXT",
  80. "value": "",
  81. "required": false
  82. }]
  83. }, {
  84. "name": "replace-asset",
  85. "method": "POST",
  86. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/replace",
  87. "title": "delete old asset and create a new asset",
  88. "type": "application/json",
  89. "fields": [{
  90. "name": "iid",
  91. "title": "Individual identifier (iid)",
  92. "type": "TEXT",
  93. "required": true
  94. }, {
  95. "name": "countryCode",
  96. "title": "Country Code",
  97. "type": "TEXT",
  98. "required": false
  99. }, {
  100. "name": "contentType",
  101. "title": "Content type of the asset, like image/jpeg or application/pdf",
  102. "type": "TEXT",
  103. "required": false
  104. }, {
  105. "name": "tags",
  106. "title": "tag info for asset to be associated with",
  107. "type": "TEXT",
  108. "required": false
  109. }]
  110. }, {
  111. "name": "update-asset",
  112. "method": "PUT",
  113. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/update",
  114. "title": "Update existing asset",
  115. "type": "application/json",
  116. "fields": [{
  117. "name": "meta",
  118. "title": "Asset metadata like image RotationInfo",
  119. "type": "TEXT",
  120. "required": false
  121. }, {
  122. "name": "tags",
  123. "title": "tag info for asset to be associated with",
  124. "type": "TEXT",
  125. "required": false
  126. }]
  127. }, {
  128. "name": "copy-asset",
  129. "method": "POST",
  130. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/copy",
  131. "title": "Copy asset and set new tags",
  132. "type": "application/json",
  133. "fields": [{
  134. "name": "tags",
  135. "title": "tag info for asset to be associated with",
  136. "type": "TEXT",
  137. "required": true
  138. }, {
  139. "name": "allowEmptyAssets",
  140. "title": "When true, allow copy/transfer empty assets (default is true)",
  141. "type": "CHECKBOX",
  142. "value": "true",
  143. "required": false
  144. }]
  145. }, {
  146. "name": "delete-asset",
  147. "method": "DELETE",
  148. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/delete",
  149. "title": "Delete specified asset (will be marked as deleted)",
  150. "type": "application/x-www-form-urlencoded"
  151. }, {
  152. "name": "post-process",
  153. "method": "POST",
  154. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/post-process",
  155. "title": "Perform revision upload post process actions",
  156. "type": "application/x-www-form-urlencoded"
  157. }, {
  158. "name": "send-upload-event",
  159. "method": "POST",
  160. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/send-upload-event",
  161. "title": "Send revision upload event to the images stream",
  162. "type": "application/x-www-form-urlencoded"
  163. }],
  164. "links": [{
  165. "rel": ["self"],
  166. "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f"
  167. }, {
  168. "rel": ["canonical"],
  169. "href": "https://gateway-use1.qas.aligntech.com/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f?version=1691738375422"
  170. }, {
  171. "rel": ["patient"],
  172. "href": "/images/v1/patients/119601452?iid=ids:19758082"
  173. }, {
  174. "rel": ["thumbnail", "deprecated"],
  175. "href": "https://gateway-use1.qas.aligntech.com/acs-usw2/v1/assets/ids:19758082/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/r/0j1Rxw/content?token=eyJ4NXQiOiJsaEJBWTRuLUE0Ulg0bVNUWTc3Mm9KdzFuMGciLCJhbGciOiJSUzI1NiJ9.eyJwIjoiNzc5ODc4NjktN2U3Ni00NDY0LWJkNmUtMWM5ZGFkMmJhMTRmXC83ZGNhNmY4Zi1lY2Y2LTQ0ZjctYjdlNi05NWJiNjgxNGJhOGZcLzBqMVJ4d19DeXVOQiIsImEiOnsidSI6Im1nYWxsaSIsImQiOnsiciI6dHJ1ZSwidyI6dHJ1ZX19LCJiIjoiYWxpZ24tY3MtYWNzLWNsb3VkLXVzdzItcWFzIiwicyI6MTg0Njk3MSwidCI6ImltYWdlXC9qcGVnIiwiaWlkIjoiaWRzOjE5NzU4MDgyIiwiZXhwIjoxNjkxNzQ1Nzg5LCJtZDUiOiIwNGNhOGRmZjhkYWUzZmViYmM0N2QwYzU4YWE5ZTBkMCJ9.fEh0Crc1nABXbRqKLhh1wSOcuJSpzDQQHUjFmw9AHtgjaoQjWg2u-gphHYY--XEySsXtnIf9JXjIZJDVhrPI33P3unTUOJeFmHMD31yK-q24HzKWgt8-0qW0kZyZ-K9UY_kTFCDvi11FdxTrDoZRyKQsKkYVdx3YKP8iM-lNeWmxGnBUTJAv6_glsyPK1jsbDLlgWuVLY_CMN4InPyT_QPeb7gkyPpcdd1UxRckO1WFLKgNVJJKJ2u8QwTZDT392pgF3Y2baRfb_CBun6T4csOdihtkE8BWjZ5IP1DSpsrnBCRLj0gVMR7eEkwOKZlWF-eI1pqn8DU0SvwgjE47zCw"
  176. }, {
  177. "rel": ["acs-asset"],
  178. "href": "https://gateway-use1.qas.aligntech.com/acs/v1/assets/ids:19758082/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f"
  179. }, {
  180. "rel": ["version-history"],
  181. "href": "https://gateway-use1.qas.aligntech.com/acs/v1/assets/ids:19758082/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/r"
  182. }]
  183. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement