WStore Programmer Guide Resources management integration.

Slides:



Advertisements
Similar presentations
1 The phone in the cloud Utilizing resources hosted anywhere Claes Nilsson.
Advertisements

HTTP HyperText Transfer Protocol. HTTP Uses TCP as its underlying transport protocol Uses port 80 Stateless protocol (i.e. HTTP Server maintains no information.
HTTP Hypertext Transfer Protocol. HTTP messages HTTP is the language that web clients and web servers use to talk to each other –HTTP is largely “under.
Cross-Site Scripting (XSS) Attack Lab
06 | Implementing Web APIs Jon Galloway | Tech Evangelist Christopher Harrison | Head Geek.
Creating your website Using Plain HTML. What is HTML? ► Web pages are authored in HyperText Markup Language (HTML) ► Plain text is marked up with tags,
Debbie Campbell Director Collaborative Services National Library of Australia Electronic Resources Australia Annual Forum Sydney 10 July 2012 Trove’s Application.
When Good Services Go Wild: Reassembling Web Services for Unintended Purposes Feng Lu, Jiaqi Zhang, Stefan Savage UC San Diego.
Understanding SharePoint 2013 Add-In Security Vulnerabilities
SMTP, POP3, IMAP.
© 2011 Autodesk Automating Autodesk® Revit® Server Rod Howarth Software Development Manager – Bornhorst + Ward.
CS378 - Mobile Computing Web - WebView and Web Services.
HyperText Transfer Protocol (HTTP).  HTTP is the protocol that supports communication between web browsers and web servers.  A “Web Server” is a HTTP.
CSC 2720 Building Web Applications Getting and Setting HTTP Headers (With PHP Examples)
TCP/IP Protocol Suite 1 Chapter 22 Upon completion you will be able to: World Wide Web: HTTP Understand the components of a browser and a server Understand.
A Closer Look at HTTP HyperText Transfer Protocol.
REST.  REST is an acronym standing for Representational State Transfer  A software architecture style for building scalable web services  Typically,
Google Cloud Messaging for Android (GCM) is a free service that helps developers send data from servers to their Android.
GET Examples – db.org/sops/3/experimental_conditions/55http://seek.sysmo- db.org/sops/3/experimental_conditions/55 –
Copyright ©2012 Ping Identity Corporation. All rights reserved.1.
“ Mobile Internet Development ” Prasert Jaipet (aekram43) MCTS,MCPD,Microsoft Insider Technology Team Manager Digital Beyond Company
1-1 HTTP request message GET /somedir/page.html HTTP/1.1 Host: User-agent: Mozilla/4.0 Connection: close Accept-language:fr request.
Case Study.  Client needed to build data collection agents for various mobile platform  This needs to be integrated with the existing J2ee server 
Project: Keep in Mind We will be using geolocation markers. This may impact your project choice. Location detection inside buildings may not work. Keep.
Appendix E: Overview of HTTP ©SoftMoore ConsultingSlide 1.
WStore User Guide Admin. Agenda 1.Introduction 2.Registering Wstore on a Marketplace 3.Registering a Repository on a WStore 4.Registering a RSS on WStore.
Introduction to the Linked Data Platform (LDP) Hector Correa The Pennsylvania State University.
Web2.0 Secure Development Practice Bruce Xia
WStore Programmer Guide Purchases. Agenda 1.Purchase API integration – Credit card – PayPal 2.Purchase redirection integration 3.Purchase notifications.
WStore Programmer Guide Offering management integration.
27.1 Chapter 27 WWW and HTTP Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
RESTful Web Services What is RESTful?
WStore User Guide Service Provider. Agenda 1.Introduction 2.Registering a resource 3.Viewing resources 4.Creating an offering 5.Managing an offering.
1 Chapter 22 World Wide Web (HTTP) Chapter 22 World Wide Web (HTTP) Mi-Jung Choi Dept. of Computer Science and Engineering
Simple Web Services. Internet Basics The Internet is based on a communication protocol named TCP (Transmission Control Protocol) TCP allows programs running.
#SummitNow CORS 6 Nov 2013 / 14 Nov 2013 Jared Ottley / Alfresco Software.
WStore User Guide Customer. Agenda 1.Introduction 2.Searching for offerings 3.Purchasing an offering 4.Downloading resources and invoices 5.Commenting.
Redmond Protocols Plugfest 2016 Tarun Chopra Accessing APIs through Add-Ins Sr. Escalation Engineer.
REST API Design. Application API API = Application Programming Interface APIs expose functionality of an application or service that exists independently.
© Janice Regan, CMPT 128, Jan 2007 CMPT 371 Data Communications and Networking HTTP 0.
4th project meeting 27-29/05/2013, Budapest, Hungary FP 7-INFRASTRUCTURES programme agINFRA agINFRA A data infrastructure for agriculture.
HTTP Protocol Amanda Burrows. HTTP Protocol The HTTP protocol is used to send HTML documents through the Internet. The HTTP protocol sends the HTML documents.
APIs George Wyner January 28, Agenda What is an API? How do developers discover, understand, and use APIs to build applications How to use an API.
درس مهندسی اینترنت – مهدی عمادی مهندسی اینترنت برنامه‌نویسی در اینترنت 1 SMTP, FTP.
Android Application Web 1.
Business Directory REST API
Content from Python Docs.
Better RESTFul API – Best Practices
Node.js Express Web Applications
API Security Auditing Be Aware,Be Safe
WStore Programmer Guide
Node.js Express Web Services
Next Generation SSIS Tasks and data Connection Series
Function Test Framework
WStore Programmer Guide
app today and share with all your clients!
Ashish Pandit IT Architect, Middleware & Integration Services
Testing REST IPA using POSTMAN
WEB API.
HTTP Request Method URL Protocol Version GET /index.html HTTP/1.1
Cloud Web Filtering Platform
JavaScript & jQuery AJAX.
SMART on FHIR for managed authorised access to medical records
Deepak Shenoy Agni Software
Kevin Harville Source: Webmaster in a Nutshell, O'Rielly Books
access to everything over the web
D Guidance 26-Jun: Would like to see a refresh of this title slide
Chengyu Sun California State University, Los Angeles
Intro to Web Services Consuming the Web.
Presentation transcript:

WStore Programmer Guide Resources management integration

Agenda 1.Introduction 2.Resources management integration – Registering resources Downloadable resource Downloadable resource providing link – Getting resources

INTRODUCTION WStore Programmer Guide

Introduction It is possible for a developer to integrate the Resources API in order to monetize different catalogues included in the developer solution. To perform this monetization, it is necessary to register the resources using a POST request, making them available to be bound in an offering.

RESOURCES MANAGEMENT INTEGRATION WStore Programmer Guide

Registering resources The contents of the request depends on the resource characteristics and the developer criteria. Downloadable resource If the resource is a downloadable resource and the resource is provided, it is possible to provide the resource itself by creating a multipart request or encode it in base64 and include this encoding in the JSON: POST /api/offering/resources HTTP 1.1 Content-type: multipart/form-data { “name”: “Smart City Lights Mashup”, “version”: “1.0”, “description”: “This resource contains a mashup for Smart City Lights”, “content_type”: “application/x-mashup+mashable-application-component” } + FILE POST /api/offering/resources HTTP 1.1 Content-type: application/json { “name”: “Smart City Lights Mashup”, “version”: “1.0”, “description”: “This resource contains a mashup for Smart City Lights”, “content_type”: “application/x-mashup+mashable-application-component”, “content”: { “name”: “SmartCityLights.wgt”, “data”: “encoded_data” }

Registering resources Downloadable resource providing link If the resource is a downloadable resource but the service provider has her own server to serve media files, s/he can provide an URL where the resource can be downloaded instead of the resource itself, making the request as follows: POST /api/offering/resources HTTP 1.1 Content-type: application/json { “name”: “Smart City Lights Mashup”, “version”: “1.0”, “description”: “This resource contains a mashup for Smart City Lights”, “content_type”: “application//x-mashup+mashable-application-component”, “link”: “ } All this requests return a 201 code if everything is successful

Getting resources It is also possible to retrieve the information of the different resources belonging to the user making the following call: GET /api/offering/resources HTTP 1.1 Accept: application/json This call returns a list with the following format: HTTP/ OK Content-Type: application/json Vary: Cookie { [ { “content_type”: "application/x-mashup+mashable-application-component" “description”: "Smart City Lights is an app" “name”: "Smart City Management" “version”: "1.0" } ] }

Thanks!