Product
|
Cloud costs
|
released
February 22, 2022
|
3
min read
|

Announcing: Public APIs for Feature Flags

Updated
9/13/2023

We’re thrilled to announce the addition of public-facing REST APIs to Harness Feature Flags. Users of Feature Flags now have the option to work entirely in code to create, edit, and manage feature flags.

Can’t I Work In Code Instead of a UI?

As nifty as a UI is, it’s not always the most efficient way to get a job done. While UIs provide visual clarity and functionality such as dashboards or reporting, those aren’t always relevant on the job from day to day. Especially for developers and platform engineers who already have too many tools and UIs, there needs to be a more efficient way to manage feature flags.

We talked in a previous post about the Harness Feature Flags Git Sync and why it’s important for developers to be able to work how it best suits them. While there are many tools and ways to solve problems that developers face, the commonality between the work all developers do is that they work in code.

You can imagine, for something like a feature management system, the day-to-day is making new flags, editing existing ones, and managing the impact radius to customers. This is very similar to what a dev might do with any database - but they don’t do database queries or make changes in a UI, they do it in code.

Making Feature Flag Development Simpler

Public APIs Announcement - Creating Feature Flags

The answer to this is simple: let devs work in code. The management capabilities that are needed through a UI like reporting or dashboarding aren’t always needed, but being able to create, edit, and manage flags are a daily task.

Building on our developer-first ethos here at Harness, we released our own public APIs that Feature Flags users can leverage to create, edit, and manage flags - all in code. Need I say more about the power of APIs?

In addition to being more dev-centric with the tooling, the use of APIs unlocks the ability to create automation feature management processes. This is especially useful for things like new feature rollouts, progressive delivery or canary testing. Instead of having to manually create new flags or rules for rollouts each time a feature is released or some configuration change is required, teams can programmatically handle this legwork, making feature rollouts even simpler.

You can imagine that for teams that have a large number of flags, involved teams, or a variety of processes involved in feature management, being able to manage all of it in code, in the business logic, can be a huge time and stress saver. And as teams scale up, the use of APIs allows teams to get more clever about how they manage the lifecycle of feature flags - making updates, creating more stringent policies, or deleting flags. 

How to Get Started

If you’re already a Harness Feature Flags user, you’ll want to head over to the Documentation for the public APIs, which will describe in detail what’s available and how to use it.

And if you haven’t signed up to use Harness yet but want to get started, you can easily sign up for a free trial and put the APIs into action. Happy developing!

Sign up now

Sign up for our free plan, start building and deploying with Harness, take your software delivery to the next level.

Get a demo

Sign up for a free 14 day trial and take your software development to the next level

Documentation

Learn intelligent software delivery at your own pace. Step-by-step tutorials, videos, and reference docs to help you deliver customer happiness.

Case studies

Learn intelligent software delivery at your own pace. Step-by-step tutorials, videos, and reference docs to help you deliver customer happiness.

We want to hear from you

Enjoyed reading this blog post or have questions or feedback?
Share your thoughts by creating a new topic in the Harness community forum.

Sign up for our monthly newsletter

Subscribe to our newsletter to receive the latest Harness content in your inbox every month.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Feature Flags