Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- "class": ["Asset"],
- "properties": {
- "version": "1691738375422",
- "id": "7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f",
- "type": "IMAGE",
- "originalWidth": 4000,
- "originalHeight": 3000,
- "acsAsset": true,
- "loaded": true,
- "tags": {},
- "role": "SOCIAL_SMILE",
- "dateUpdated": "2023-08-11T07:19:35+0000",
- "meta": {
- "modification": {
- "flipHorizontally": false,
- "flipVertically": false,
- "crop": {
- "width": 4000,
- "height": 3000,
- "offsetX": 0,
- "offsetY": 0
- },
- "rotate": 90
- }
- },
- "countryCode": "US",
- "dateCreated": "2023-08-11T07:19:35+0000",
- "createdBy": "mgalli",
- "contentMD5": "04ca8dff8dae3febbc47d0c58aa9e0d0",
- "deleted": false,
- "contentType": "image/jpeg"
- },
- "actions": [{
- "name": "get-asset-thumbnail",
- "method": "GET",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/get-thumbnail",
- "title": "Get resized asset with modifications applied",
- "type": "application/x-www-form-urlencoded",
- "fields": [{
- "name": "version",
- "title": "Version of asset",
- "type": "NUMBER",
- "value": "",
- "required": false
- }, {
- "name": "size",
- "title": "Desired size of thumbnails, providing size=60 will result in image with 60x60 size restrictions",
- "type": "NUMBER",
- "value": "225",
- "required": false
- }, {
- "name": "modifications",
- "title": "Parameter that determines if stored modifications needs to be applied to thumbnail (rotation, flip)",
- "type": "CHECKBOX",
- "value": "true",
- "required": false
- }, {
- "name": "crop",
- "title": "Parameter that determines if stored crop details needs to be applied to thumbnail (crop)",
- "type": "CHECKBOX",
- "value": "false",
- "required": false
- }, {
- "name": "originalSize",
- "title": "Parameter that determines if original image size should be returned instead of thumbnail.",
- "type": "CHECKBOX",
- "value": "false",
- "required": false
- }, {
- "name": "removeExifModifications",
- "title": "Parameter that determines if additional modifications stored in exif should be removed.",
- "type": "CHECKBOX",
- "value": "false",
- "required": false
- }, {
- "name": "removeProfiles",
- "title": "Parameter that determines if profiles stored in image should be removed.",
- "type": "TEXT",
- "value": "",
- "required": false
- }]
- }, {
- "name": "replace-asset",
- "method": "POST",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/replace",
- "title": "delete old asset and create a new asset",
- "type": "application/json",
- "fields": [{
- "name": "iid",
- "title": "Individual identifier (iid)",
- "type": "TEXT",
- "required": true
- }, {
- "name": "countryCode",
- "title": "Country Code",
- "type": "TEXT",
- "required": false
- }, {
- "name": "contentType",
- "title": "Content type of the asset, like image/jpeg or application/pdf",
- "type": "TEXT",
- "required": false
- }, {
- "name": "tags",
- "title": "tag info for asset to be associated with",
- "type": "TEXT",
- "required": false
- }]
- }, {
- "name": "update-asset",
- "method": "PUT",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/update",
- "title": "Update existing asset",
- "type": "application/json",
- "fields": [{
- "name": "meta",
- "title": "Asset metadata like image RotationInfo",
- "type": "TEXT",
- "required": false
- }, {
- "name": "tags",
- "title": "tag info for asset to be associated with",
- "type": "TEXT",
- "required": false
- }]
- }, {
- "name": "copy-asset",
- "method": "POST",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/copy",
- "title": "Copy asset and set new tags",
- "type": "application/json",
- "fields": [{
- "name": "tags",
- "title": "tag info for asset to be associated with",
- "type": "TEXT",
- "required": true
- }, {
- "name": "allowEmptyAssets",
- "title": "When true, allow copy/transfer empty assets (default is true)",
- "type": "CHECKBOX",
- "value": "true",
- "required": false
- }]
- }, {
- "name": "delete-asset",
- "method": "DELETE",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/delete",
- "title": "Delete specified asset (will be marked as deleted)",
- "type": "application/x-www-form-urlencoded"
- }, {
- "name": "post-process",
- "method": "POST",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/post-process",
- "title": "Perform revision upload post process actions",
- "type": "application/x-www-form-urlencoded"
- }, {
- "name": "send-upload-event",
- "method": "POST",
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/send-upload-event",
- "title": "Send revision upload event to the images stream",
- "type": "application/x-www-form-urlencoded"
- }],
- "links": [{
- "rel": ["self"],
- "href": "/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f"
- }, {
- "rel": ["canonical"],
- "href": "https://gateway-use1.qas.aligntech.com/images/v1/assets/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f?version=1691738375422"
- }, {
- "rel": ["patient"],
- "href": "/images/v1/patients/119601452?iid=ids:19758082"
- }, {
- "rel": ["thumbnail", "deprecated"],
- "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"
- }, {
- "rel": ["acs-asset"],
- "href": "https://gateway-use1.qas.aligntech.com/acs/v1/assets/ids:19758082/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f"
- }, {
- "rel": ["version-history"],
- "href": "https://gateway-use1.qas.aligntech.com/acs/v1/assets/ids:19758082/7dca6f8f-ecf6-44f7-b7e6-95bb6814ba8f/r"
- }]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement