SlideShare a Scribd company logo
Jan Vonka - London Meetup (March 2017)
Alfresco 5.2 REST APIs
Introduction
Image	Credit:	H	Vonka
Introduction
Jan Vonka
• Senior Developer @ Alfresco
• Balloonist
• flying balloons over cities takes a lot of planning J
• For background, see:
• http://www.slideshare.net/jvonka/alfresco-rest-api-of-the-future-is-
closer-than-you-think
• https://www.youtube.com/watch?v=7jR2PV5w1O4
Image	Credit:	https://www.adventureballoons.co.uk
REST API Agenda
• Overview & Architecture
• Documentation
• What’s New & Changed ?
• Demo
• What’s Next ?
• References
Overview & Architecture
Image	Credit:	H	Vonka
Alfresco Digital Business Platform
Applications – Engaging UX - Mobile, Web, App Dev Framework, Desktop
Alfresco Process
Services
Alfresco Content
Services
Alfresco Governance Services
Integrations / Extensions
Open APIs and Open Standards
On-Premise, Cloud, Hybrid, Managed
Intelligence and Analytics
Alfresco API Overview
Content	
Services
(Repository)
Process	
Services
(Activiti)
REST	APIREST	API
Alfresco	Platform	
Micro-Services	/	Containers
Search
Services
(Solr)
Governance	Services	(RM)
RM
ECMBPM
CMIS	(Browser	Binding)
ADF
JavaScript	Client	Binding
HTTPS	/	JSON	/Binary
App App
Java	Client	Binding	(EA)
App App
Other	Libs/Fwks
RM
REST API components
REST API Introduction
• REST Framework
– pragmatic, follows well-defined RESTful guidelines
• Open API
– consistent, documented, functional, performant, secure, reliable …
• The API for all new clients
– enabler for Alfresco Digital Business Platform
• Roles
– End-User vs Administrators
– permissions – Groups / Users
• CMIS is still a good option
– eg. heterogeneous environments
URL Structure
https://host:port/alfresco/api/-default-/public/alfresco/versions/1/…
Scope API	Name Version
Entity Relationship	(or	Operation**)
Tenant
/nodes
/nodes/{id}
/nodes/{id}/children
/nodes/{id}/copy
* Where applicable
** Operations are new for 5.2 (used for specific scenarios where relationship does not make sense)
GET, POST
GET, PUT, DELETE
GET, POST
POST
Deployed	Environment
Method	(*)
Documentation
Image	Credit:	www.renishaw.com
API Docs
Image	Credit:	http://www.commitstrip.com/en/2017/02/20/no-ones-fault/?
• Is your friend !
• Single source of truth
• Open API Spec (~ Swagger)
• Generate client-side bindings
• Developer resource
– http://api-explorer.alfresco.com
– https://github.com/Alfresco/rest-
api-explorer
– http://artificats.alfresco.com
• GAV: org.alfresco.api-explorer (5.2.e/5.2.0)
API Explorer
Example: Content Services Core API
Activities
Comments
Favorites
Networks
Nodes
People
Preferences
Queries
Ratings
Renditions
Shared-links
Sites
Tags
Trashcan
Versions
Provides access to the core features of Alfresco Content Services
to retrieve, manage and find entities such as:
https://community.alfresco.com/docs/DOC-6532-alfresco-52-rest-apis
Alfresco 5.2 REST APIs
• Cheat-sheet
• Links to lots of resources
– Blogs
– Videos
– Presentations
– Bindings
– Sample clients
– Docs
• Gavin Cornwell
• Series has 8 parts so far
– more coming soon
– includes Postman collections
Community Blog Post Series
https://community.alfresco.com/community/ecm/blog/2016/10/11/v1-rest-api-part-1-introduction
What’s New & Changed ?
Image	Credit:	H	Vonka
What’s New
• 56 new endpoints!
– Core API
– Authentication API
– Discovery API
– Search API
• REST Framework enhancements
– return less => fields query parameter
– return more => include query parameter (API specific)
– operations (eg. /copy, /move, /lock, /unlock, /revert, /restore, …)
– @WebApiNoAuth
Upload content
curl -utest:test –X POST
http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/-my-/children -F filedata=@test.txt
Download content
curl -utest:test -X GET
http://localhost:8080/alfresco/api/-default-/public/alfresco/versions/1/nodes/99a40be1-268f-4b8e-ab49-866747bbd660/content
Simple Example
Core API
…/alfresco/api/-default-/public/alfresco/versions/1/…
• /nodes/{nodeId}
– Navigation
– Content
– Information
– Operations include: Copy, Move, Lock, Unlock
– Associations
• /nodes/{nodeId}/renditions
• /nodes/{nodeId}/versions
– Operations include: Revert
Core API
…/alfresco/api/-default-/public/alfresco/versions/1/…
• /deleted-nodes
– Operations: Restore
• /queries
– /nodes
– /people
– /sites
• /shared-links
– public share, unshare, find, …
– expiration (new)
Authentication API
…/alfresco/api/-default-/public/authentication/versions/1/…
• /tickets
– Login
– Logout
– Validate
Discovery API
…/alfresco/api/…
• /discovery
– Version information
– License information (Enterprise only)
– Status
• isReadOnly
• isQuickSharedEnabled
• …
– Installed modules
Search API
…/alfresco/api/-default-/public/search/versions/1/...
• /search
– Low level search API (effectively exposes Java API)
– AFTS, CMIS, Lucene support
– Faceting
– Spellcheck
– Term highlighting
– Search nodes, versions or deleted-nodes
Enhanced APIs
…/alfresco/api/-default-/public/alfresco/versions/1/…
• /sites
– Create site (no custom preset support yet)
– Update site details
– Delete site
• /people
– List people (no filtering)
– Create person
– Update person
• Enable/Disable (admin only)
Demo
Image	Credit:	Press	Association
Postman Collection
• File -> Import -> Import From Link
https://www.getpostman.com/collections/e28cf833734602fb4609
Simple File Sharing prototype (using new APIs)
Files	&	Folders
Upload	&	Download
Preview
Live	Search
Shared	Links
Move	&	Copy
Delete	& Undo
….
Client Bindings & Example Apps
• Alfresco ADF (Application Development Framework)
– JavaScript client-side
– see: ADF 101 tutorial blogs
– example: HealthCare Demo App
• Java Client SDKs (Early Access)
– see: Java Client blogs
– example: basis for new Android client(s)
• Developer Ecosystem … Partners & Community J
What’s Next ?
Image	Credit:www.timeout.com
Futures
• More Services exposed
– Group Management
– Download as Zip
– …
– Audit ?
– Repository Actions ?
• Other Enhancements
– more REST Framework improvements (eg. batch)
– …
– new features based on your (client-driven) feedback !
References
Image	Credit:	H	Vonka
References
• Alfresco 5.2 REST APIs (with more links)
https://community.alfresco.com/docs/DOC-6532-alfresco-52-rest-apis
• API Explorer
https://api-explorer.alfresco.com
https://github.com/Alfresco/rest-api-explorer
• Tech Talk Live #102
https://www.youtube.com/watch?v=cpSksoy-zkk
Thank You
Jan	Vonka
https://www.slideshare.net/jvonka

More Related Content

What's hot (20)

PPTX
Sizing your alfresco platform
Luis Cabaceira
 
PDF
Alfresco DevCon 2019 - Alfresco Identity Services in Action
Francesco Corti
 
PPTX
Hashicorp Vault ppt
Shrey Agarwal
 
PPTX
Moving Gigantic Files Into and Out of the Alfresco Repository
Jeff Potts
 
PDF
Apache Kafka® Security Overview
confluent
 
PPTX
Meet Apache HBase - 2.0
DataWorks Summit
 
PPT
Alfresco - You probably didn't know that
David Ciamberlano
 
PPTX
Alfresco tuning part2
Luis Cabaceira
 
PPTX
Architecture Sustaining LINE Sticker services
LINE Corporation
 
PDF
Introduction to Apache Kafka and Confluent... and why they matter
confluent
 
PDF
Alfresco y SOLR, presentación en español
Toni de la Fuente
 
PPTX
Apache kafka
Viswanath J
 
PDF
Introducing Vault
Ramit Surana
 
PDF
Storage and Alfresco
Toni de la Fuente
 
PDF
From Zero to Hero with Kafka Connect
confluent
 
PDF
Apache Kafka Introduction
Amita Mirajkar
 
PDF
Alfresco Transform Service DevCon 2019
J V
 
PDF
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
Angel Borroy López
 
PPTX
How to Lock Down Apache Kafka and Keep Your Streams Safe
confluent
 
PPTX
Alfresco tuning part1
Luis Cabaceira
 
Sizing your alfresco platform
Luis Cabaceira
 
Alfresco DevCon 2019 - Alfresco Identity Services in Action
Francesco Corti
 
Hashicorp Vault ppt
Shrey Agarwal
 
Moving Gigantic Files Into and Out of the Alfresco Repository
Jeff Potts
 
Apache Kafka® Security Overview
confluent
 
Meet Apache HBase - 2.0
DataWorks Summit
 
Alfresco - You probably didn't know that
David Ciamberlano
 
Alfresco tuning part2
Luis Cabaceira
 
Architecture Sustaining LINE Sticker services
LINE Corporation
 
Introduction to Apache Kafka and Confluent... and why they matter
confluent
 
Alfresco y SOLR, presentación en español
Toni de la Fuente
 
Apache kafka
Viswanath J
 
Introducing Vault
Ramit Surana
 
Storage and Alfresco
Toni de la Fuente
 
From Zero to Hero with Kafka Connect
confluent
 
Apache Kafka Introduction
Amita Mirajkar
 
Alfresco Transform Service DevCon 2019
J V
 
CSP: Evolución de servicios de código abierto en un mundo Cloud Native
Angel Borroy López
 
How to Lock Down Apache Kafka and Keep Your Streams Safe
confluent
 
Alfresco tuning part1
Luis Cabaceira
 

Similar to Alfresco 5.2 REST API (20)

PPTX
Building Content-Rich Java Apps in the Cloud with the Alfresco API
Jeff Potts
 
PDF
Alfresco Day Roma 2015: Platform Update
Alfresco Software
 
PDF
Spring In Alfresco Ecm
Piergiorgio Lucidi
 
PDF
Integrating Alfresco @ Scale (via event-driven micro-services)
J V
 
PDF
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Nicole Szigeti
 
PPTX
201511 - Alfresco Day - Platform Update and Roadmap - Gabriele Columbro - Bo...
Symphony Software Foundation
 
PDF
Bee con2016 presentation_20160125004_installing
Angel Borroy López
 
PPTX
Serverless Pune meetup 3
Vishal Biyani
 
PDF
Developer’s intro to the alfresco platform
Alfresco Software
 
PDF
2010 code camp rest for the rest of us
Ken Yagen
 
PDF
OpenFaaS KubeCon Zero to Serverless in 60 seconds anywhere
Alex Ellis
 
PDF
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
J V
 
PDF
Alfresco Day Vienna 2015 - Technical Track - REST API of the Future
Alfresco Software
 
PDF
ITB2016 - Building ColdFusion RESTFul Services
Ortus Solutions, Corp
 
PPTX
Upgrading to Alfresco 6
Angel Borroy López
 
PDF
Zero to Serverless - OpenFaaS at the Open Source Summit
Alex Ellis
 
PDF
Web Services
Katrien Verbert
 
PDF
Design & Deploy a data-driven Web API in 2 hours
Restlet
 
PDF
MS TechDays 2011 - WCF Web APis There's a URI for That
Spiffy
 
PPTX
Alfresco Tech Talk Live - REST API of the Future
Gavin Cornwell
 
Building Content-Rich Java Apps in the Cloud with the Alfresco API
Jeff Potts
 
Alfresco Day Roma 2015: Platform Update
Alfresco Software
 
Spring In Alfresco Ecm
Piergiorgio Lucidi
 
Integrating Alfresco @ Scale (via event-driven micro-services)
J V
 
Alfresco Coding mit dem Alfresco SDK (auf Englisch) - Julien Bruinaud, Techni...
Nicole Szigeti
 
201511 - Alfresco Day - Platform Update and Roadmap - Gabriele Columbro - Bo...
Symphony Software Foundation
 
Bee con2016 presentation_20160125004_installing
Angel Borroy López
 
Serverless Pune meetup 3
Vishal Biyani
 
Developer’s intro to the alfresco platform
Alfresco Software
 
2010 code camp rest for the rest of us
Ken Yagen
 
OpenFaaS KubeCon Zero to Serverless in 60 seconds anywhere
Alex Ellis
 
Deep Dive: Alfresco Core Repository (... embedded in a micro-services style a...
J V
 
Alfresco Day Vienna 2015 - Technical Track - REST API of the Future
Alfresco Software
 
ITB2016 - Building ColdFusion RESTFul Services
Ortus Solutions, Corp
 
Upgrading to Alfresco 6
Angel Borroy López
 
Zero to Serverless - OpenFaaS at the Open Source Summit
Alex Ellis
 
Web Services
Katrien Verbert
 
Design & Deploy a data-driven Web API in 2 hours
Restlet
 
MS TechDays 2011 - WCF Web APis There's a URI for That
Spiffy
 
Alfresco Tech Talk Live - REST API of the Future
Gavin Cornwell
 
Ad

Recently uploaded (20)

PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
PDF
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
PDF
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
PPTX
Tally software_Introduction_Presentation
AditiBansal54083
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
PDF
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
PDF
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
PDF
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
PDF
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
PDF
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
PDF
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
PPTX
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
PDF
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
PDF
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
Agentic Automation: Build & Deploy Your First UiPath Agent
klpathrudu
 
AOMEI Partition Assistant Crack 10.8.2 + WinPE Free Downlaod New Version 2025
bashirkhan333g
 
IDM Crack with Internet Download Manager 6.42 Build 43 with Patch Latest 2025
bashirkhan333g
 
Tally software_Introduction_Presentation
AditiBansal54083
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
NEW-Viral>Wondershare Filmora 14.5.18.12900 Crack Free
sherryg1122g
 
Generic or Specific? Making sensible software design decisions
Bert Jan Schrijver
 
Wondershare PDFelement Pro Crack for MacOS New Version Latest 2025
bashirkhan333g
 
SAP Firmaya İade ABAB Kodları - ABAB ile yazılmıl hazır kod örneği
Salih Küçük
 
How to Hire AI Developers_ Step-by-Step Guide in 2025.pdf
DianApps Technologies
 
The 5 Reasons for IT Maintenance - Arna Softech
Arna Softech
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
AEM User Group: India Chapter Kickoff Meeting
jennaf3
 
Foundations of Marketo Engage - Powering Campaigns with Marketo Personalization
bbedford2
 
TheFutureIsDynamic-BoxLang witch Luis Majano.pdf
Ortus Solutions, Corp
 
Automate Cybersecurity Tasks with Python
VICTOR MAESTRE RAMIREZ
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Top Agile Project Management Tools for Teams in 2025
Orangescrum
 
Ad

Alfresco 5.2 REST API