{"openapi":"3.0.1","servers":[{"url":"http://live.transitions.com","description":"Generated server url"}],"tags":[{"name":"Media","description":"Media Controller"},{"name":"Extra Resources Controller","description":"Extra Resources Controller"}],"paths":{"/caas/v1/media/{mediaId}/{propertyPath}/{hash}":{"get":{"tags":["Media"],"summary":"Media.Blob","description":"Return the binary data of a media object.","operationId":"getMedia","parameters":[{"name":"mediaId","in":"path","description":"The media object's numeric ID or alias","required":true,"schema":{"type":"string"}},{"name":"propertyPath","in":"path","description":"The blob property path","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"hash","in":"path","description":"The media object's hash","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"404":{"description":"Media object not found","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}}}}},"/caas/v1/media/{mediaId}/{propertyPath}/{hash}/{filename}":{"get":{"tags":["Media"],"summary":"Media.Blob","description":"Return the binary data of a media object.","operationId":"getMedia_1","parameters":[{"name":"mediaId","in":"path","description":"The media object's numeric ID or alias","required":true,"schema":{"type":"string"}},{"name":"propertyPath","in":"path","description":"The blob property path","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"hash","in":"path","description":"The media object's hash","required":true,"schema":{"type":"string"}},{"name":"filename","in":"path","description":"The media object's filename as well as its extension","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"404":{"description":"Media object not found","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}}}}},"/caas/v1/media/{mediaId}/{propertyName}/{hash}/{cropName}/{width}":{"get":{"tags":["Media"],"summary":"Media.Blob","description":"Return the binary data of a media object.\nImages will be cropped and scaled according to the responsive image settings of the site.","operationId":"transform","parameters":[{"name":"mediaId","in":"path","description":"The media object's numeric ID","required":true,"schema":{"type":"string"}},{"name":"propertyName","in":"path","description":"Blob property name","required":true,"schema":{"type":"string"}},{"name":"hash","in":"path","description":"Transformed media hash (e.g. e-tag)","required":true,"schema":{"type":"string"}},{"name":"cropName","in":"path","description":"Crop name","required":true,"schema":{"type":"string"}},{"name":"width","in":"path","description":"Media width","required":true,"schema":{"type":"integer","format":"int32"}}],"responses":{"default":{"description":"default response","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"404":{"description":"Media object not found","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}}}}},"/caas/v1/media/{mediaId}/{propertyName}/{hash}/{cropName}/{width}/{filename}":{"get":{"tags":["Media"],"summary":"Media.Blob","description":"Return the binary data of a media object.\nImages will be cropped and scaled according to the responsive image settings of the site.","operationId":"transformWithFilename","parameters":[{"name":"mediaId","in":"path","description":"The media object's numeric ID","required":true,"schema":{"type":"string"}},{"name":"propertyName","in":"path","description":"Blob property name","required":true,"schema":{"type":"string"}},{"name":"hash","in":"path","description":"Transformed media hash (e.g. e-tag)","required":true,"schema":{"type":"string"}},{"name":"cropName","in":"path","description":"Crop name","required":true,"schema":{"type":"string"}},{"name":"width","in":"path","description":"Media width","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"filename","in":"path","description":"Filename & Extension","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"*/*":{"schema":{"type":"string","format":"byte"}}}},"404":{"description":"Media object not found","content":{"*/*":{"schema":{"type":"string","format":"binary"}}}}}}},"/caas/v1/media/markup/{mediaId}/{propertyPath}/{hash}":{"get":{"tags":["Media"],"summary":"Media.Markup","description":"Return the Markup of a media object","operationId":"getMarkup","parameters":[{"name":"mediaId","in":"path","description":"The media object's numeric ID or alias","required":true,"schema":{"type":"string"}},{"name":"propertyPath","in":"path","description":"The blob property path","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"name":"hash","in":"path","description":"The media object's hash","required":true,"schema":{"type":"string"}}],"responses":{"default":{"description":"default response","content":{"*/*":{"schema":{"type":"string"}}}},"404":{"description":"Markup not found","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/caas/resources/{contentName}/{contentId}-{version}.{extension}":{"get":{"tags":["extra-resources-controller"],"operationId":"transform_1","parameters":[{"name":"contentName","in":"path","description":"Content name","required":true,"schema":{"type":"string"}},{"name":"contentId","in":"path","description":"Content Id","required":true,"schema":{"type":"string"}},{"name":"version","in":"path","description":"Version","required":true,"schema":{"type":"integer","format":"int32"}},{"name":"extension","in":"path","description":"Extension","required":true,"schema":{"type":"string"}}],"responses":{"404":{"description":"Extra resources not found","content":{"*/*":{"schema":{"type":"string"}}}}}}}},"components":{}}