SlideShare a Scribd company logo
Last Updated: Jan. 2014
Lalaji Sureshika & Joseph Fonseka
Customizing the API
Store & Publisher
WSO2 API Manager Team
**
About the Presenters
๏ Joseph joined WSO2 in September 2013. He is a Senior
Tech Lead in the WSO2 API Manager team where he
focuses on improving the UX of the API Manager. In
addition to his product development efforts he is also
a contributor to the Sahana and OpenEvsys open-
source projects. He is also a FOSS advocate.
๏ Lalaji joined WSO2 in September 2010. She is a senior
software engineer in the WSO2 API Manager team
where her main focus is on the development of the
product. In addition to her product development
efforts she has provided development support and
technology consulting on customer engagements,
including customer QuickStart programs.
*
About WSO2
*
๏ Global enterprise, founded in
2005 by acknowledged leaders in
XML, web services technologies,
standards and open source
๏ Provides only open source
platform-as-a-service for private,
public and hybrid cloud
deployments
๏ All WSO2 products are 100% open
source and released under the
Apache License Version 2.0.
๏ Is an Active Member of OASIS,
Cloud Security Alliance, OSGi
Alliance, AMQP Working Group,
OpenID Foundation and W3C.
๏ Driven by Innovation
๏ Launched first open source API
Management solution in 2012
๏ Launched App Factory in 2Q 2013
๏ Launched Enterprise Store and
first open source Mobile solution
in 4Q 2013
**
What WSO2 delivers
*
Agenda
๏ Introduction to WSO2 API Manager
๏ Dive in to API Store
๏ Customizing API Store & Publisher
๏ Localization
๏ Sample Customizations
๏ Future
*
Introduction
๏ WSO2 API Manager is a complete solution for publishing and
managing APIs.
๏ It comes with an out of the box API Store which allows you to
publish and advertise your APIs.
๏ You can easily customize the API Store to reflect your company's
brand.
๏ Also you can add targeted content to the store and use it to
build a developer community under your brand name.
http://wso2.com/products/api-manager/
*
Key Components
*
API Store
*
Dive in to API Store
๏ Where to find the API Store
{API Manager}/repository/deployment/server/jaggeryapps/store
๏ API Store is built on Jaggery
A framework to write web-apps and HTTP-focused web services for
all aspects of the application: front-end, communication, Server-
side logic and persistence in pure Javascript
http://jaggeryjs.org/
*
Dive in to API Store
๏ API Store Directory Structure
*
Dive in to API Store
๏ API Store Directory Structure
jaggery.conf -This file specifies the application specific
configurations. It has used to define the URL-mappings for the
pages, define welcome page,security-constraints,etc.
Templates- Contains views of the web-application. A template can
be considered as a re-usable UI block.
Blocks-This can be considered as the Controller part of the web
app. User actions on each View(template) are sent to the relevant
block and then it handle the incoming HTTP requests.
*
Dive in to API Store
๏ API Store Directory Structure
Modules- Can be considered as the 'Model' of the application. It
handles the state of the application.Contains references to all the
functions plugged through the java modules in to Store app..
Jagg -This directory is for handling all functionalities to control and
manage interactions among the modules,blocks and templates of
the jaggery application APIStore/Publisher.
*
Dive in to API Store
๏ API Store Request Flow
*
Customizing APIStore
๏ Changing the brand
○ Changing the banner
○ Changing the background colors
○ Changing the footer
๏ Create a new jaggery theme.
○ Changing the page layout
๏ Adding new Content.
○ Adding a new page
*
Changing the Banner
๏ To change the banner image Locate logo.png from
“store/site/themes/fancy/images” and replace it.
๏ To change the banner height and color find “styles-layout.css” in
“store/themes/fancy/css” and change the relevant styles.
*
Changing Colors & Styles
๏ The store uses bootstrap css to style some of the components and
to structure the page layout.
๏ Additional styles are specified in “styles-application.css” and
“styles-layout.css” found inside “store/site/themes/fancy/css”
directory.
๏ Use the above mention style sheets to customize the colors.
๏ You can include a bootstrap theme to change the styles of
bootstrap components.
*
Changing the Footer
๏ The footer is located in
“store/site/themes/fancy/templates/page/base/template.jag”
file.
๏ Open the template file and find a div with “footer-main” class
name.
๏ Change the content of the above footer as required.
*
Creating a new theme
๏ API Store has Themes and Sub-themes which can be use to
customize page layout and styles.
๏ If you want to change the page layout you can create a new
theme, and if you only need to change colors and banners better
to use subthemes.
๏ Easiest way to create a theme is to duplicate an existing theme
and change the templates & styles.
๏ To apply the new theme change the theme property in “site.
json” under “site/conf/” directory and refresh the application.
*
Creating a new Page
๏ Create new jag file under “store/site/pages/” directory.
Ex : aboutus.jag
๏ Create a directory under “store/site/themes/fancy” with the
page name and create initializer.jag and template.jag inside it.
๏ Add page content to the template.
๏ Create a path to the page in store/jaggery.conf.
*
Custom Error Pages
๏ Add to Store/jaggery.conf
*
API Publisher
*
Customizing API Publisher
๏ API Publisher is a Jaggery application located in -
{API Manager}/repository/deployment/server/jaggeryapps/publisher
๏ You can use the same methods used to customize the API Store to
customize API Publisher.
*
Internationalization Support
๏ Jaggery based String localization
Store/site/conf/locales/jaggery/locale_{locale-code}.json
http://jaggeryjs.org/apidocs/i18n.jag
๏ Client side Javascript based String localization
Store/site/conf/locales/js/i18nResources.json
http://i18next.com/
https://docs.wso2.org/display/AM160/Internationalization+and+Localization
*
Sample Customizations
*
Sample Customizations
*
Sample Customizations
*
Future
๏ Custom themes per tenants
๏ API Usage Statistics on Store
๏ Move the Store/Publisher to adhere to Caramel Framework built
on Jaggery
http://wso2.github.io/caramel
*
Future
๏ Migrate Store/Publisher to WSO2 Enterprise Store http://wso2.
com/products/enterprise-store
**
More Information
๏ http://wso2.com/products/api-manager/
๏ http://wso2.com/library/articles/2012/06/api-store-themes/
๏ http://wso2.com/library/tutorials/2012/09/customizing-api-store-
publisher-part1/
๏ http://wso2.com/library/tutorials/2013/08/customizing-api-
storepublisher-jaggery-applicationspart2/
**
Business Model
Contact us !

More Related Content

PDF
Einführung in die Datenvisualisierung - Workshop
PPT
Projecte de P3: Els Cotxes
PDF
Mariposa del aire
PDF
Using a Third Party Key Management System with WSO2 API Manager
PPT
Mendeley Open API
PDF
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
PDF
Best Practices for API Management
PPTX
Estratégia de APIs Abertas
Einführung in die Datenvisualisierung - Workshop
Projecte de P3: Els Cotxes
Mariposa del aire
Using a Third Party Key Management System with WSO2 API Manager
Mendeley Open API
WSO2Con USA 2017: Rise to the Challenge with WSO2 Identity Server and WSO2 AP...
Best Practices for API Management
Estratégia de APIs Abertas

Viewers also liked (20)

PDF
Getting Started with the WSO2 manager
PDF
Better Enterprise Integration With the WSO2 ESB 4.5.1
PDF
How to Build, Manage, and Promote APIs
PDF
Highly Available Graphite
PDF
Scalable Deployment Patterns in WSO2 API Manager
PPT
Understanding OpenID
PPTX
Key Management System Presentation: Jaguar
PDF
WSO2 para o Governo Brasileiro
PDF
WSO2 Identity Server
PDF
WSO2 Identity Server
PDF
API as a Growth Tool
KEY
Web API Basics
PPTX
The 5 API Monetization Models and How to Measure Their Success
PDF
How to Enable Monetization of Your API Ecosystem
PDF
SSO with the WSO2 Identity Server
PDF
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
PDF
Multi Tenant API management with WSO2 API Manager
PPTX
Machine Readable Travel Documents (MRTD) - Biometric Passport
PDF
Introduction to g reg 4.6.0
PPTX
API Management Workshop (at Startupbootcamp Berlin)
Getting Started with the WSO2 manager
Better Enterprise Integration With the WSO2 ESB 4.5.1
How to Build, Manage, and Promote APIs
Highly Available Graphite
Scalable Deployment Patterns in WSO2 API Manager
Understanding OpenID
Key Management System Presentation: Jaguar
WSO2 para o Governo Brasileiro
WSO2 Identity Server
WSO2 Identity Server
API as a Growth Tool
Web API Basics
The 5 API Monetization Models and How to Measure Their Success
How to Enable Monetization of Your API Ecosystem
SSO with the WSO2 Identity Server
Enterprise Use Case Webinar – Development Governance with the WSO2 Governance...
Multi Tenant API management with WSO2 API Manager
Machine Readable Travel Documents (MRTD) - Biometric Passport
Introduction to g reg 4.6.0
API Management Workshop (at Startupbootcamp Berlin)
Ad

Similar to Customizing the API Store & Publisher in WSO2 API Manager (20)

PPTX
Advanced SharePoint 2013 Site Administration
PDF
I Store For Beginners
PPTX
API designing with WSO2 API Manager
PPTX
Build single page applications using AngularJS on AEM
PDF
Build single page applications using AngularJS on AEM
PPTX
Build single page applications using AngularJS on AEM
PPTX
individuals thought of as a group because
PDF
Pluggable patterns
PDF
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
PPTX
How App Indexation Works
PPTX
ASP.NEt MVC and Angular What a couple
PDF
Restful Integration with WSO2 ESB
PPTX
MCA 6th Sem Project Report
PDF
Java Script from Browser to Server
PPTX
Essential Knowledge for SharePoint Add-Ins
PPTX
Creating a content managed facebook app
PPTX
Angular vs React: Building modern SharePoint interfaces with SPFx
PDF
Scalable deployment options in WSO2 API Manager
PDF
Adobe Experience Manager Core Components
PPTX
Cordova training : Day 5 - UI development using Framework7
Advanced SharePoint 2013 Site Administration
I Store For Beginners
API designing with WSO2 API Manager
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
Build single page applications using AngularJS on AEM
individuals thought of as a group because
Pluggable patterns
Keep Your Code Organized! WordCamp Montreal 2013 Presentation slides
How App Indexation Works
ASP.NEt MVC and Angular What a couple
Restful Integration with WSO2 ESB
MCA 6th Sem Project Report
Java Script from Browser to Server
Essential Knowledge for SharePoint Add-Ins
Creating a content managed facebook app
Angular vs React: Building modern SharePoint interfaces with SPFx
Scalable deployment options in WSO2 API Manager
Adobe Experience Manager Core Components
Cordova training : Day 5 - UI development using Framework7
Ad

More from WSO2 (20)

PDF
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
PDF
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
PDF
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
PDF
Platformless Modernization with Choreo.pdf
PDF
Application Modernization with Choreo for the BFSI Sector
PDF
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
PDF
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
PPTX
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
PPTX
WSO2Con 2025 - Building Secure Customer Experience Apps
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
PPTX
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
PPTX
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
PPTX
WSO2Con 2025 - Architecting Cloud-Native Applications
PDF
Mastering Intelligent Digital Experiences with Platformless Modernization
PDF
Accelerate Enterprise Software Engineering with Platformless
PDF
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
Platformless Modernization with Choreo.pdf
Application Modernization with Choreo for the BFSI Sector
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2Con 2025 - Architecting Cloud-Native Applications
Mastering Intelligent Digital Experiences with Platformless Modernization
Accelerate Enterprise Software Engineering with Platformless
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPT
Teaching material agriculture food technology
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PPTX
A Presentation on Artificial Intelligence
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
KodekX | Application Modernization Development
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
cuic standard and advanced reporting.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Big Data Technologies - Introduction.pptx
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Machine learning based COVID-19 study performance prediction
Dropbox Q2 2025 Financial Results & Investor Presentation
20250228 LYD VKU AI Blended-Learning.pptx
Teaching material agriculture food technology
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
NewMind AI Monthly Chronicles - July 2025
Review of recent advances in non-invasive hemoglobin estimation
Understanding_Digital_Forensics_Presentation.pptx
A Presentation on Artificial Intelligence
Network Security Unit 5.pdf for BCA BBA.
KodekX | Application Modernization Development
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
The Rise and Fall of 3GPP – Time for a Sabbatical?
Digital-Transformation-Roadmap-for-Companies.pptx
cuic standard and advanced reporting.pdf
Spectral efficient network and resource selection model in 5G networks
Diabetes mellitus diagnosis method based random forest with bat algorithm
Big Data Technologies - Introduction.pptx
Build a system with the filesystem maintained by OSTree @ COSCUP 2025

Customizing the API Store & Publisher in WSO2 API Manager

  • 1. Last Updated: Jan. 2014 Lalaji Sureshika & Joseph Fonseka Customizing the API Store & Publisher WSO2 API Manager Team
  • 2. ** About the Presenters ๏ Joseph joined WSO2 in September 2013. He is a Senior Tech Lead in the WSO2 API Manager team where he focuses on improving the UX of the API Manager. In addition to his product development efforts he is also a contributor to the Sahana and OpenEvsys open- source projects. He is also a FOSS advocate. ๏ Lalaji joined WSO2 in September 2010. She is a senior software engineer in the WSO2 API Manager team where her main focus is on the development of the product. In addition to her product development efforts she has provided development support and technology consulting on customer engagements, including customer QuickStart programs.
  • 3. * About WSO2 * ๏ Global enterprise, founded in 2005 by acknowledged leaders in XML, web services technologies, standards and open source ๏ Provides only open source platform-as-a-service for private, public and hybrid cloud deployments ๏ All WSO2 products are 100% open source and released under the Apache License Version 2.0. ๏ Is an Active Member of OASIS, Cloud Security Alliance, OSGi Alliance, AMQP Working Group, OpenID Foundation and W3C. ๏ Driven by Innovation ๏ Launched first open source API Management solution in 2012 ๏ Launched App Factory in 2Q 2013 ๏ Launched Enterprise Store and first open source Mobile solution in 4Q 2013
  • 5. * Agenda ๏ Introduction to WSO2 API Manager ๏ Dive in to API Store ๏ Customizing API Store & Publisher ๏ Localization ๏ Sample Customizations ๏ Future
  • 6. * Introduction ๏ WSO2 API Manager is a complete solution for publishing and managing APIs. ๏ It comes with an out of the box API Store which allows you to publish and advertise your APIs. ๏ You can easily customize the API Store to reflect your company's brand. ๏ Also you can add targeted content to the store and use it to build a developer community under your brand name. http://wso2.com/products/api-manager/
  • 9. * Dive in to API Store ๏ Where to find the API Store {API Manager}/repository/deployment/server/jaggeryapps/store ๏ API Store is built on Jaggery A framework to write web-apps and HTTP-focused web services for all aspects of the application: front-end, communication, Server- side logic and persistence in pure Javascript http://jaggeryjs.org/
  • 10. * Dive in to API Store ๏ API Store Directory Structure
  • 11. * Dive in to API Store ๏ API Store Directory Structure jaggery.conf -This file specifies the application specific configurations. It has used to define the URL-mappings for the pages, define welcome page,security-constraints,etc. Templates- Contains views of the web-application. A template can be considered as a re-usable UI block. Blocks-This can be considered as the Controller part of the web app. User actions on each View(template) are sent to the relevant block and then it handle the incoming HTTP requests.
  • 12. * Dive in to API Store ๏ API Store Directory Structure Modules- Can be considered as the 'Model' of the application. It handles the state of the application.Contains references to all the functions plugged through the java modules in to Store app.. Jagg -This directory is for handling all functionalities to control and manage interactions among the modules,blocks and templates of the jaggery application APIStore/Publisher.
  • 13. * Dive in to API Store ๏ API Store Request Flow
  • 14. * Customizing APIStore ๏ Changing the brand ○ Changing the banner ○ Changing the background colors ○ Changing the footer ๏ Create a new jaggery theme. ○ Changing the page layout ๏ Adding new Content. ○ Adding a new page
  • 15. * Changing the Banner ๏ To change the banner image Locate logo.png from “store/site/themes/fancy/images” and replace it. ๏ To change the banner height and color find “styles-layout.css” in “store/themes/fancy/css” and change the relevant styles.
  • 16. * Changing Colors & Styles ๏ The store uses bootstrap css to style some of the components and to structure the page layout. ๏ Additional styles are specified in “styles-application.css” and “styles-layout.css” found inside “store/site/themes/fancy/css” directory. ๏ Use the above mention style sheets to customize the colors. ๏ You can include a bootstrap theme to change the styles of bootstrap components.
  • 17. * Changing the Footer ๏ The footer is located in “store/site/themes/fancy/templates/page/base/template.jag” file. ๏ Open the template file and find a div with “footer-main” class name. ๏ Change the content of the above footer as required.
  • 18. * Creating a new theme ๏ API Store has Themes and Sub-themes which can be use to customize page layout and styles. ๏ If you want to change the page layout you can create a new theme, and if you only need to change colors and banners better to use subthemes. ๏ Easiest way to create a theme is to duplicate an existing theme and change the templates & styles. ๏ To apply the new theme change the theme property in “site. json” under “site/conf/” directory and refresh the application.
  • 19. * Creating a new Page ๏ Create new jag file under “store/site/pages/” directory. Ex : aboutus.jag ๏ Create a directory under “store/site/themes/fancy” with the page name and create initializer.jag and template.jag inside it. ๏ Add page content to the template. ๏ Create a path to the page in store/jaggery.conf.
  • 20. * Custom Error Pages ๏ Add to Store/jaggery.conf
  • 22. * Customizing API Publisher ๏ API Publisher is a Jaggery application located in - {API Manager}/repository/deployment/server/jaggeryapps/publisher ๏ You can use the same methods used to customize the API Store to customize API Publisher.
  • 23. * Internationalization Support ๏ Jaggery based String localization Store/site/conf/locales/jaggery/locale_{locale-code}.json http://jaggeryjs.org/apidocs/i18n.jag ๏ Client side Javascript based String localization Store/site/conf/locales/js/i18nResources.json http://i18next.com/ https://docs.wso2.org/display/AM160/Internationalization+and+Localization
  • 27. * Future ๏ Custom themes per tenants ๏ API Usage Statistics on Store ๏ Move the Store/Publisher to adhere to Caramel Framework built on Jaggery http://wso2.github.io/caramel
  • 28. * Future ๏ Migrate Store/Publisher to WSO2 Enterprise Store http://wso2. com/products/enterprise-store
  • 29. ** More Information ๏ http://wso2.com/products/api-manager/ ๏ http://wso2.com/library/articles/2012/06/api-store-themes/ ๏ http://wso2.com/library/tutorials/2012/09/customizing-api-store- publisher-part1/ ๏ http://wso2.com/library/tutorials/2013/08/customizing-api- storepublisher-jaggery-applicationspart2/