@windley The University API Phillip J. Windley, Ph.D. Brigham Young University http://www.windley.com
@windley
The University API
Phillip J. Windley, Ph.D.Brigham Young Universityhttp://www.windley.com
@windley
@windley
@windley 4
Software is Eating the World!More and more major businesses and industries are being run on software and delivered as online services—from movies to agriculture to national defense. Many of the winners are Silicon Valley-style entrepreneurial technology companies that are invading and overturning established industry structures. Over the next 10 years, I expect many more industries to be disrupted by software, with new world-beating Silicon Valley companies doing the disruption in more cases than not.
- Marc Andreessen
“
”
@windley
@windley
@windley
{“answer”: “University API”}
@windley
@windley
@windley
API
@windley
APIAPI
@windley
@windley
@windley
@windley
@windley 16
Bake your business model into your API
- John Musser Founder, Programmable Web
“”
Principle #1: Design Business-Oriented APIs
@windley
@windley
/students/instructors/courses/classes/locations/programs/colleges/departments
@windley
@windley
Principle #2: Ensure interfaces are open, extensible, and published
@windley
GET /studentsGET /students?major=CS
GET /students/:idGET /students/:id?fieldset=transcripts
@windley
POST /students
{id: ... first_name: ... last_name: ... ...
}
@windley
@windley
Principle #3: Support student and faculty choice.
@windley
@windley
@windley
Principle #4: Access Control Happens at the API
@windley
@windley
@windley
@windley
@windley
@windley
Principle #5: Keep workflow below the API
@windley
@windley
@windley
HATEOASHypertext as the Engine of
Application State
@windley
An ever expanding range of computing platforms are needed to reach students
@windleySource: Morgan Stanley Mobile Internet Report (12/09)
@windley
Hundreds, even thousands of developerswho don’t work for youmust be convinced to adapt your product to the dynamic environment of various apps
@windley
Principle #6: Developers are Your Customer
@windley
@windley
Principle #7: Cloud First
@windley
@windley
Principle #8: Security is Too Important to Not Outsource
@windley
@windley
@windley
Principle #9: Focus on What’s Core
@windley
@windley
Principle #10: APIs First
@windley
@windley
@windley
Principle #11: Start Where You Are
@windley
@windley
Principles for Starting an API Initiative1. Design business-oriented APIs2. Ensure interfaces are open, extensible, and published3. Support student and faculty choice.4. Control access at the API5. Keep workflow below the API6. Make developers the customer7. Be cloud first8. Security is too important to not outsource9. Focus on what’s core10. Buy and build API first11. Start where you are
@windley
Resources• Mashup Corporations’• The Phoenix Project• Implementing Domain Driven Design• Kin Lane on University APIs• windley.com
@windley
Join us on this journey
• @UniversityAPI• University API Workshops• Utah, Feb 28-Mar 1, 2017 (http://bit.ly/UAPI2017)• Chicago Summer 2017
@windley
The University API
Phillip J. Windley, Ph.D.Brigham Young Universityhttp://www.windley.com
@windley
@windley
Other issues• Other university APIs: services like lockers, vending machines, health,
payments, HR, calendars, assets, library, collections