The 4 Most Common API Developer Portal Mistakes
Breadcrumb
- Home
- PronovixBlog
- The 4 Most Common API Developer Portal Mistakes
In this article, we investigate developer portal anti-patterns: common solutions to developer portal problems where the solution is ineffective and may result in undesired consequences. We will point out anti-patterns that can lead to a poorly conceptualized and executed developer portal. These are portals that–by their very architecture, appearance, or means of use–are set up to fail in the long run.
Anti-patterns differ from bad practices when:
Regardless of the route taken to build a devportal: these anti-patterns occur as a direct result of tight deadlines, inadequate planning, or when the conceptualization of the devportal is oversimplified and underestimated.
Since this article contains several evergreen insights and highlights issues that are still relevant today, we decided to dust it off and give it an update. Original publishing date: 2020. |
Many advocates for developer portals will encounter executives, managers, developers, and at least one product owner who over simplifies their API program’s need for a developer portal with at least one of the statements below.
These statements singly or altogether effect the outcome of your developer portal. Assumptions that a developer portal is only for developers often leads to forgetting that the overarching goal of a developer portal is to improve the communication of your API program. Creating a solution in a bubble without including the voices of all of the people who will hold a stake (other teams, other departments) results in a developer portal with limited functionality. Documentation is never ‘just text’ and giving marketing and technical writer teams the flexibility and autonomy to innovate and diversify in their messaging contributes to the sale of those API products both internally and externally.
Treating a devportal as if it is not part of your core business will limit
With an API Freezer you can not find the API and there is friction around all the APIs and utilizing them. Simply put - it’s too hard to find. Why bother?
Objective: Provide documentation for our APIs.
Example Execution: Build a devportal where APIs and reference documentation are tied together with Swagger UI. Realize the need for a search function, build a search function.
Experience:
Overall Response:
An example of an API Freezer is when a flat structured API devportal has surpassed its ideal number of APIs. To give a visual: it is a live directory of all of the APIs that are available paired with inconsistent descriptions pulled from code. The initial focus of the portal was to list the APIs with a secondary focus to show developer documentation via Swagger UI. Little or no attention was given to the established documentation protocols and to identifying what additional documentation should or could be visible to the directory. As a result, the devportal does not help to sell or showcase specific APIs. A potential developer consumer needs to hear about the API on a common thread or forum and search the internal or external web to find it.
In this case, the assumption has been made that the developer audience is knowledgeable of the API database. The developer’s experience with the developer portal is frustrating. The documentation may exist but has been left out because of the lack input from technical writers or other stakeholders in decision making. As the API program grows, additional departments adopt the developer portal but documentation is limited and encapsulated - there is no mechanism to find or expose relationships between documents, differentiate types of APIs, or use dynamic keywords to categorize them. The developer portal has reached an endpoint where a fix would involve scrapping the old and moving to a new revised solution.
The cost of a Frankensite is that your API products fail not because of their merits but because of how they are packaged and sold.
Objective: Provide documentation for our APIs. Include landing pages. Showcase case studies and examples. Integrate with our services.
Example Execution: Build a devportal with a reference directory of APIs and documentation tied together with Swagger UI. Search function by Google. Add menu navigation to your company’s technical blog hosted on Medium. Code is linked to the GitHub repository. Integrate with UserVoice chatbot and link out to the API support documentation repository you have been maintaining there. Tie in an open source forum. Disclaimer: None of these tools and solutions mentioned for example purposes are bad for your developer portal. Defining site architecture and understanding your user journeys will help create a more seamless experience while incorporating all of the above.
Experience:
Overall Response:
While devportals can be built as either a static site or as a content management system and integrate successfully with many external tools and services, a Frankensite is a developer portal that is cobbled together with disparate elements and tools. For example a static site generator with some landing pages in html, Swagger UI to show API references, and a support widget. The limited configurations of these tools result in a portal that does not provide a unified experience. The devportal is chaotic to navigate with a jumble of different types of navigation and content styles. A visitor to such a portal would need to be cognisant of where they are and hope to find their way back to where they may need to be, usually via the browser ‘back’ button.
These portals happen when:
Most devportals that result in a Frankensite are a result of not aligning user needs and expectations with business goals before building the devportal. Companies that create a devportal as a one-off tool with a fixed end point quickly find that they need to implement services and tools alongside this portal as their audience grows. The developer portal has been generated without a clear indication of process or governance for documenting the APIs outside of developers pushing code. There is a general assumption that developers, as the audience, do not require optimal user experience: they are smart, very technical, and not particular, so they will figure it out. All of these assumptions are paired with the need to “just get a solution out there”.
The questions to ask here are:
Finding themselves in a Ghost town the user is left wondering, is this business still operating? How can I trust these APIs? Is there anyone out there?
Objective: Provide documentation for our APIs and grow a community of users.
Example Execution: Build a devportal that supports APIs and reference documentation tied together with Swagger UI. Include a blog, a forum, FAQ, and some landing pages.
Experience:
Overall Response:
An API Ghost Town is thorough and beautifully designed at first glance. The company invested $1M or more for the build and design but did not account for the people necessary to maintain and support it. As a result, although the APIs are meticulously kept up to date, you find the last blog post was written long ago. The FAQ makes API references to outdated procedures and the forum is populated with tumbleweeds and trolls. Failure of this type of devportal has come about less from poor planning but from poor execution.
Rather than spending a large amount of money at the beginning of the devportal journey, spend less and focus on a MVP that meets your immediate needs but allows for an iterative product and operating budget to help grow your audience. The best developer portal is limited by the people who maintain and support it. Forums should have an active community and a community manager. Blogs should contain frequent and relevant content. A content manager should periodically curate the FAQ and any other associated support pages. IF necessary, pull back on what you offer to what can be maintained by your team in order to resurrect a signal of trust.
Ghost Towns come about from making the decision early on that the developer portal is not part of your core business and as such, not providing adequate and ongoing support and resources to contribute to its success. The repeated theme that developers are technical people not particular about their experience is echoed in Ghost Towns: visitors are faced with outdated materials and forced to go at it alone. A developer portal is not a tool that can just be delivered and expected to function in one dimension. Providing the communication feedback necessary to show signs of life is vital to building trust in your API products and success for innovation and future works.
When faced with a Tyrannical Toolchain - the tool is so broken and hard to use - why bother?
Objective: We need to document our APIs!
Example Execution: Build exactly what you need - APIs and reference documentation tied together utilizing a customized product.
Experience:
Overall Response:
A devportal with a tyrannical toolchain has limited administration functionality. What this means is that you need to ask a developer to push code for every documentation change. People are mandated to work within restraints to how quickly they can contribute to change control and how quickly they can respond to a support query. If the person in the toolchain leaves, there is a void in knowledge and resources for the devportal to continue functioning. We often hear “we don’t have technical writers” or “the developers provide the documentation” and often see a lone PM managing a giant blob of HTML that is the core of the developer portal.
The goal that was “a devportal that lists our current APIs and their documentation” should have been “a devportal that lists our current APIs and their documentation that we can maintain or delegate to many as our company grows”.
Tyrannical toolchains come about as a result of underestimating the devportal audience from the standpoint of internal people who provide important content to the devportal. This is the most hacked type of site where the people populating the developer portal are just trying to make it work in any way they can to meet their deadlines. Taking a thousand steps back and looking at the needs of your API program is a good way to realize the difference between investing in the design and usability of a developer portal for all involved parties versus relying on a full time employee to be the maintainer of a functional developer portal. A developer portal should never stop being a work in progress. As old problems are solved, new challenges will arise.
Assumptions that a developer portal is only for developers can lead you down these four anti-pattern routes. These types of sites also occur when one department creates a solution for multiple other departments without taking into consideration that people of varying technical backgrounds will have a role to play.
Documentation is never ‘just text’. Give marketing and technical writer teams the flexibility and autonomy to innovate and diversify their messaging: this will contribute to the adoption of your API products both internally and externally. It is an anti-pattern to treat your developer portal like it is not part of your core business: that will limit resources and support for creating a fully operating and designed solution.
Do you want to avoid these anti-patterns? We're here to help you find a solution and align your developer portal to your business goals and needs.
Of course there are many positive examples when a developer portal is carefully planned, designed, and maintained. For exemplary, outstanding devportal solutions, read the following articles:
All Pronovix publications are the fruit of a team effort, enabled by the research and collective knowledge of the entire Pronovix team. Our ideas and experiences are greatly shaped by our clients and the communities we participate in.
Kristof Van Tomme is an open source strategist and architect. He is the CEO and co-founder of Pronovix. He’s got a degree in bioengineering and is a regular speaker at conferences in the API, developer relations, and technical writing communities. He is the host of the Developer Success & the Business of APIs and the API Resilience podcasts.
Articles on devportals, DX and API docs, event recaps, webinars, and more. Sign up to be up to date with the latest trends and best practices.