Rethinking REST Practices: An Introduction to GraphQL with AWS AppSync

Mat Warger API Development, Articles, AWS, Cloud, Development Technologies & Tools, GraphQL, JavaScript, Programming, REST Leave a Comment

The basic premise of data transfer and involves requesting and receiving lists. This is simplistic, but it gets to the root of why weโ€™ve developed the technologies and best practices to pass data using web services. RESTful APIs have grown to serve the needs of numerous individuals, startups, and enterprise companies across the world. They are useful, productive, and the concepts surrounding them are relatively standardized. If you donโ€™t know how to create one, you can quickly find information building a great API that can grow to fit your needs. Thatโ€™s when things get complicatedโ€ฆ

If you start digging into REST, youโ€™ll realize thereโ€™s quite a bit more to throwing lists. There are common threads that many people encounter when developing an API, and you begin to encounter many of the same questions so many others have before, such as: How strictly should you adhere to the principles of REST? How should you handle versioning? Should you bother? How do you want to structure your objects? Are users able to easily figure out what API endpoints are available and how they should be used?

There are many ways approach these. It boils down to communicating the structures that a given endpoint will return or accept. The cascade of questions that results from the choices made here will ripple through from the back-end to the client. The secondary issue is that these questions and choices are not at all uncommon. There are answers to these that follow Best Practices. But there is still plenty of ambiguity involved when attempting to build a flexible API that works well. These are the Commonly Tolerated Situations.

If you hadnโ€™t already guessed, there is a solution that frees us from the dogma of REST and allows us to solve all these issues in a declarative, powerful, and fun way. That solution is GraphQL. In this blog, Iโ€™ll provide an introduction to the GraphQL specification with code examples…

Quick Introduction to the Computer Vision API

Brad Kirtley .NET, API Development, Articles, ASP.NET, Development Technologies & Tools, Machine Learning, Tutorial 1 Comment

Machine learning is a hot topic these days because the biggest tech companies are focused on taking this technology to a new level. For instance, to help develop autonomous driving cars, better interaction between you and your house with products like the Amazon Echo.

Machine learning is a core sub-area of artificial intelligence. Machine learning enables computers to self-learn without being explicitly programmed. As new data comes available, the computer has the ability to learn, grow, change, and develop itself to make better decision in the future. This technology will help reduce the workload and possible incorrect diagnoses when radiologist read films, reducing the amount of accidents on our highways caused by human error, possible reduction of inappropriate message / images / videos from bullying on social network sites.

This article will touch on one of the many Artificial Intelligence APIโ€™s that Microsoft has built for public consumption. We will specifically focus on the step-by-step process of uploading a picture, passing that picture onto the Microsoft Cognitive Services – Computer Vision API, and retrieving different attributes about that image. This is an aspect of AI technology that companies like Facebook & Google are using to try to stop bullying and other issue within social networking. Let’s get started…

Auto-Publishing & Monitoring APIs With Spring Boot

David Pitt API Development, Articles, Development Technologies & Tools, Keyhole Creations, Microservices, REST, Spring Boot, Tutorial Leave a Comment

If you are heading down the path of a Microservices style of architecture, one tenant you will need to embrace is automation. Many moving parts are introduced with this style of architecture. If successful, your environment will have a plethora of service APIs available that the enterprise can consume for application development and integration.

This means that there must be a way that available API documentation can be discovered. API information needs to be effectively communicated throughout the enterprise that shows where APIs are used, how often APIs are used, and when APIs change. Not having this type of monitoring in place will hinder and possibly cripple the agility benefits that a Microservice style of architecture can bring to the enterprise.

This blog will describe how Swagger/OpenAPI documentation can be applied to aย Spring Boot implementation. We will show how API documentation and monitoring can be automatically published toย an API documentation portal.

As an example, we introduce a reference Spring Boot API CRUD application (using Spring MVC/Data with Spring Fox) and set up the automatic publishing of API documentation and statistics to documentation portal GrokOla. In the example, we introduce two open source utilitiesย to help and allow published APIs the ability toย be searched and notify users whenย changed….

GrokOla Releases API Governance Features

Lauren Fournier Bogner API Development, Articles, Company News, Keyhole, Keyhole Creations Leave a Comment

The Keyhole Labs team is excited to announce that GrokOla now offers API governance features including API documentation and real-time monitoring.

GrokOla is a knowledge documentation engine. In addition to housing wiki content, APIs can now be documented and monitored in real-time. GrokOla allows users to have all API documentation updated, centralized, and searchable from within a private GrokOla instance…

In Your Face! Figuring Out Apple’s Face Detection API

Derek Andre API Development, Articles, Development Technologies & Tools, Mobile, Tutorial 3 Comments

Attention: This article was published over 10 years ago, and the information provided may be aged or outdated. While some topics are evergreen, technology moves fast, so please keep that in mind as you read the post.I am making a native iOS app that has face detection. Apple has an awesome image detection API that can find faces, barcodes, and …