START
Assets and Tags API
Lokesh Shivalingaiah
Adobe Multi-Solution Architect
2
1. Overview
2. Assets API
3. Tags API
4. Demo
5. Q&A
OVERVIEW
OVERVIEW
3
EXECUTIVESUMMARY
OVERVIEW
4
OVERVIEW
OVERVIEW
Adobe Experience Manager Assets helps to Create, Store and Deliver images, videos
and content to any device or screen.
”
Marketing Manager
Tags are nothing but Keywords/Labels which can be attached to a page, an asset or
any content which assists searching the right and related content.
”
5
ASSETAPI
ASSETS
6
ASSETSSNEAKPEAK
ASSETS SNEAKPEAK § Adobe Assets can be used to upload, store and
distribute various types of content like docs, images,
videos etc
§ Adobe Assets also holds ‘Content Fragments’ where
multiple variations can be created to distribute across
multiple channels.
§ Adobe Assets (Latest Version) is backed by Adobe
Sensei and many features like SmartTag, SmartCrop
adds more value.
§ AEM Desktop App can be used to easily map the local
network drive to access or upload the assets into
AEM
§ Brand Portal can be used to securely distribute the
published assets to external parties or internal groups
7
QualityAssurancePractice
ASSET API HIERARCHY
addRelation()
getAssetMetadata()
getRendition()
listRenditions()
listRelations()
removeRendition()
removeRelation()
setRendition()
Asset Rendition
AssetManager AssetMetadata AssetRelationAdaptable
Resource
AssetVersionManager RenditionHandler
getStream()
getMimeType()
getSize()
assetsExists()
copyAsset()
createAsset()
getAsset()
moveAsset()
removeAsset()
getProperty()
setProperty()
getXMP()
setXMP()
getAsset()
getName()
getProperties()
createVersion()
getVersion()
listVersions()
Restore()
getRendition()
setRendition()
deleteRendition()
INTERFACE
8
QualityAssurancePractice
ASSET API RELATION
Asset
Rendition
AssetManager AssetMetadata
AssetRelation AssetVersionManager
RenditionHandler
XMPMetadata
AssetVersion
9
ASSETS
§Assets node is of type dam:Asset
§Dam:Asset node contains
§Metadata
§Related &
§Renditions
§XMPData
Assets
10
ASSETSHTTPAPI
ASSET HTTP API
§ Assets HTTP API is a part of the general
marketing cloud API
§ Assets HTTP API is exposed at
/api/assets.json
§ Allows CRUD operations on Assets including
binary, metadata, renditions and comments
•Retrieve a folder listing
•Create a folder
•Create an asset
•Update asset binary
•Update asset metadata
•Create an asset rendition
•Update an asset rendition
•Create an asset comment
•Copy a folder or asset
•Move a folder or asset
•Delete a folder, asset, or rendition
11
ASSETHTTPAPI
ASSET HTTP API
•Retrieve a folder listing
•GET /api/assets/myFolder.json
•Create a folder
•POST /api/assets/myFolder -H"Content-Type: application/json" -d
'{"class":"assetFolder","properties
•Create an asset
•POST /api/assets/myFolder/myAsset.png -H"Content-Type: image/png"
--data-binary "@myPicture.png"
•Update asset binary
•PUT /api/assets/myfolder/myAsset.png -H"Content-Type: image/png" --
data-binary @myPicture.png
•Update asset metadata
•PUT /api/assets/myfolder/myAsset.png -H"Content-Type:
application/json" -d '{"class":"asset", "properties":{"dc:title":"My Asset"}}'
https://helpx.adobe.com/experience-manager/6-3/assets/using/mac-api-
assets.html
12
TAGSAPI
TAG API
13
TAGAPI
TAG SNEAKPEAK
§ Tags helps to organize content
§ Tags can have many terms like tags, categories,
labels which makes it flexible to use for any case.
§ Tags can be used as a filter/facets in search
which helps to find the right and related content
easily.
§ Tags can be applied as a page properties which
helps in SEO
14
QualityAssurancePractice
TAG API HIERARCHY
getCount()
getPath()
getName()
getNameSpace()
getTitle()
listChildren()
listAllSubTags()
Find()
Tag
JcrTagManagerFactory TagManager TagConstantsAdaptable
getTagManager()
createTag()
createTagByTitle()
canCreateTag()
deleteTag()
getTag()
findByTitle()
Find()
getTags()
moveTags()
setTags()
DEFAULT_NAMESPACE
MARKED_AS_DELETE
D
NT_TAG
NT_TAGGABLE
PN_TAGS
TITLEPATH_DELIMITE
R
INTERFACE
15
TAGS
§Assets node is of type dam:Asset
§Dam:Asset node contains
§Metadata
§Related &
§Renditions
§XMPData
TAGS
16
DEMO
DEMO
17
Q&A
18
TECHASPECT
THANK
YOU

AEM Asset and Tag API

  • 1.
    START Assets and TagsAPI Lokesh Shivalingaiah Adobe Multi-Solution Architect
  • 2.
    2 1. Overview 2. AssetsAPI 3. Tags API 4. Demo 5. Q&A OVERVIEW OVERVIEW
  • 3.
  • 4.
    4 OVERVIEW OVERVIEW Adobe Experience ManagerAssets helps to Create, Store and Deliver images, videos and content to any device or screen. ” Marketing Manager Tags are nothing but Keywords/Labels which can be attached to a page, an asset or any content which assists searching the right and related content. ”
  • 5.
  • 6.
    6 ASSETSSNEAKPEAK ASSETS SNEAKPEAK §Adobe Assets can be used to upload, store and distribute various types of content like docs, images, videos etc § Adobe Assets also holds ‘Content Fragments’ where multiple variations can be created to distribute across multiple channels. § Adobe Assets (Latest Version) is backed by Adobe Sensei and many features like SmartTag, SmartCrop adds more value. § AEM Desktop App can be used to easily map the local network drive to access or upload the assets into AEM § Brand Portal can be used to securely distribute the published assets to external parties or internal groups
  • 7.
    7 QualityAssurancePractice ASSET API HIERARCHY addRelation() getAssetMetadata() getRendition() listRenditions() listRelations() removeRendition() removeRelation() setRendition() AssetRendition AssetManager AssetMetadata AssetRelationAdaptable Resource AssetVersionManager RenditionHandler getStream() getMimeType() getSize() assetsExists() copyAsset() createAsset() getAsset() moveAsset() removeAsset() getProperty() setProperty() getXMP() setXMP() getAsset() getName() getProperties() createVersion() getVersion() listVersions() Restore() getRendition() setRendition() deleteRendition() INTERFACE
  • 8.
    8 QualityAssurancePractice ASSET API RELATION Asset Rendition AssetManagerAssetMetadata AssetRelation AssetVersionManager RenditionHandler XMPMetadata AssetVersion
  • 9.
    9 ASSETS §Assets node isof type dam:Asset §Dam:Asset node contains §Metadata §Related & §Renditions §XMPData Assets
  • 10.
    10 ASSETSHTTPAPI ASSET HTTP API §Assets HTTP API is a part of the general marketing cloud API § Assets HTTP API is exposed at /api/assets.json § Allows CRUD operations on Assets including binary, metadata, renditions and comments •Retrieve a folder listing •Create a folder •Create an asset •Update asset binary •Update asset metadata •Create an asset rendition •Update an asset rendition •Create an asset comment •Copy a folder or asset •Move a folder or asset •Delete a folder, asset, or rendition
  • 11.
    11 ASSETHTTPAPI ASSET HTTP API •Retrievea folder listing •GET /api/assets/myFolder.json •Create a folder •POST /api/assets/myFolder -H"Content-Type: application/json" -d '{"class":"assetFolder","properties •Create an asset •POST /api/assets/myFolder/myAsset.png -H"Content-Type: image/png" --data-binary "@myPicture.png" •Update asset binary •PUT /api/assets/myfolder/myAsset.png -H"Content-Type: image/png" -- data-binary @myPicture.png •Update asset metadata •PUT /api/assets/myfolder/myAsset.png -H"Content-Type: application/json" -d '{"class":"asset", "properties":{"dc:title":"My Asset"}}' https://helpx.adobe.com/experience-manager/6-3/assets/using/mac-api- assets.html
  • 12.
  • 13.
    13 TAGAPI TAG SNEAKPEAK § Tagshelps to organize content § Tags can have many terms like tags, categories, labels which makes it flexible to use for any case. § Tags can be used as a filter/facets in search which helps to find the right and related content easily. § Tags can be applied as a page properties which helps in SEO
  • 14.
    14 QualityAssurancePractice TAG API HIERARCHY getCount() getPath() getName() getNameSpace() getTitle() listChildren() listAllSubTags() Find() Tag JcrTagManagerFactoryTagManager TagConstantsAdaptable getTagManager() createTag() createTagByTitle() canCreateTag() deleteTag() getTag() findByTitle() Find() getTags() moveTags() setTags() DEFAULT_NAMESPACE MARKED_AS_DELETE D NT_TAG NT_TAGGABLE PN_TAGS TITLEPATH_DELIMITE R INTERFACE
  • 15.
    15 TAGS §Assets node isof type dam:Asset §Dam:Asset node contains §Metadata §Related & §Renditions §XMPData TAGS
  • 16.
  • 17.
  • 18.