CONSUMING RESTAPISFOR ALL INTERPRETATIONS OF REST@darrel miller
Non Authoritative
TODAY’S MENUAppetizersAPI EconomyClient SDKsMain CourseInterpretations of RESTChange is inevitable and goodCode reuse on the webThe secret of REST clientsDessertSamples and Libraries to explore
API ECONOMY
HIDING THE GOODNESS
CONTROL IS CRITICAL
QUALITY QUANTITY
CHEF’S SUGGESTIONDON’T ASSUME THE PROVIDED SDK IS THE BEST OPTIONUNDERSTAND YOUR DEPLOYMENT CONSTRAINTS
WHAT DO YOU MEAN BY REST?
DESIRED EFFECT?
DESIRED EFFECT? Client/Server Stateless Scalable Caching Evolvable Uniform Interface Fault Tolerant Layered Composable Code On Demand
JSON-REST TASTES GREAT
ADD SOME HYPERMEDIA
APIS DONE OUR WAYapplication/vnd.github.v3 jsonapplication/vnd.heroku json; version 3
GENERIC HYPERMEDIA
CHEF’S SUGGESTIONBE AWARE OF THE EFFECTS OF YOUR DESIGN CHOICESUNDERSTAND THE PURPOSE OF MEDIA TYPES
DATA ORIENTED APIS
SCENARIO BASED APIS
HYPERMEDIA DRIVEN RITUALS
CHEF’S SUGGESTIONDATA ORIENTED APIS ARE GREAT FOR QUICK, EASY AND INTERNALOR GOVERNMENT DATASCENARIO ORIENTED IF YOU WANT TO MAKE MONEY
CHANGE IS GOOD
START SMALL, EVOLVE QUICKLY
START SMALL, EVOLVE QUICKLY
START SMALL, EVOLVE QUICKLY
VERSIONING HURTS
A LITTLE PARANOIA CAN BE USEFUL
CHEF’S SUGGESTIONCHANGE IS GOODUSE VERSIONS AS A LAST RESORT
SOFTWARE’S HOLY GRAILAchieving reuse on the web is different
API REUSE VERSUS WEB REUSE
IGNORANCE IS BLISS
REUSABLE COMPONENTS
MAYBE ONE DAY
BEWARE MEDIA TYPE EXPLOSION
SUPPORT MULTIPLE MEDIA TYPES
TYPED LINKS
CHEF’S SUGGESTIONCONSIDER HYPERMEDIA TO ENABLE CLIENT CODE REUSEUNDERSTAND THE CONTRACTS YOU ARE USING
THE SECRET OF REST CLIENTSClient code dictatescoupling
BREAKING REQUEST FROM RESPONSECreate RequestProcess RequestHandleResponse
CENTRALIZED RESPONSE HANDLINGCreate RequestProcess RequestHTTP ResponseMachine
CONTEXT IS KINGProcess RequestHTTP ResponseMachineDispatch on :Status CodeMedia TypeLink Relation Type
CLIENT STATE MANAGEMENT
CLIENT STATE MANAGEMENTCreate RequestApplicationControllerProcess RequestClient ViewClient StateModelHTTP ResponseMachine
CHEF’S SUGGESTIONBREAKING REQUEST/RESPONSE COUPLING BRINGS FLEXIBILITYLINK RELATION TYPES ARE YOUR FRIENDAPPLY RESPONSES TO TRANSFORM CLIENT STATE
RELATED TALKS Using Hypermedia to avoid the app store –https://www.youtube.com/watch?v LbSM8U21YkM Crafting Evolvable API Representations –https://vimeo.com/131643022 Succeeding In Failing –https://vimeo.com/131632607
t.netHapikit.pyHapikit.go Tooling for buildingbetter HTTP API ClientLibraries
thub.com/hapikit/haveibeenpwnd.net.hapikit
BON APPETITTwitter: @darrel millerhttp://www.bizcoder.com/
TODAY’S MENU API Economy Client SDKs Appetizers Main Course Dessert Interpretations of REST Change is inevitable and good Code reu
structures. RPGLE source members are not provided for all APIs, most notably the UNIX-Type APIs. Types of APIs There are three general types of available APIs: Original Program Model (OPM) Integrated Language Environment (ILE) UNIX-Type You can call all three types of APIs from an ILE program, but you can only call OPM APIs from an OPM program.
consume REST APIs, and those who implement REST services. Every server-side programming language offers a variety of open-source and commercial frameworks to implement REST services. Similarly on the client-side, because REST is a thin layer on top of the HTTP protocol, every SDK, whether native or web, can consume REST APIs out of the box.
Accessing Business Objects Using REST APIs describes the supported HTTP methods, HTTP headers, request URL parameters, media types, and other concepts of the REST APIs and the use cases that they support for making REST API calls in web applications created using visual development tools offered by Oracle.
1 Introduction to JD Edwards EnterpriseOne Tools: APIs and Business Functions 1.1 APIs and Business Functions Overview. 1-1 1.2 APIs and Business Functions Implementation. 1-1 2 Working with APIs
APIS Wallet ser Guide APIS PCt APIS allet Mainal eyansaction Setting 14 Transfer 1. Click 'Transfer'. 2. Or click the transfer button next to the wallet. 3. Select a wallet to withdra from. 4. Enter the amount of coins you'll send. 5. Set the Gas fee. 6. Enter the address of the receiving wallet. You can enter a masked address as well.
Guide to Accessing and Consuming SOAP-Based Services, v1.42 Page 9 Sabre Confidential SOAP-Based Sabre APIs Resources The following resources are all available via the Sabre Dev Studio, located at . SOAP-Based Sabre APIs Documentation Each Web service has an artifact on the Sabre Dev Studio. Each artifact contains: A request design document
Building APIs with Django and Django Rest Framework starts where theDjango “Polls” tutorialstops, and takes you through building the polls app, but this time using APIs. You will learn the basics of Django Rest Framework including serialization, views, generic views, viewsets, testing, ac
with IBM FileNet P8 APIs Wei-Dong Zhu Bill Carpenter Tim Lai Wei Liao Michael Oland James S Pagadala Juan Saad Content Engine basic and advanced APIs Process Engine basic and advanced APIs REST API