Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

The San Francisco Compute Company Feature Flags API

The Feature Flags API from The San Francisco Compute Company — 2 operation(s) for feature flags.

The San Francisco Compute Company Feature Flags API is one of 14 APIs that The San Francisco Compute Company publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Feature Flags. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and authentication docs.

This API exposes 2 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, https://api.sfcompute.com.

2 operations 2 paths 4 schemas 1 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.sfcompute.com/preview/v2
Authentication
HTTP Bearer
Resource Areas
1

Authentication & Security 1

The San Francisco Compute Company Feature Flags API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (JWT) (bearer_auth). By default, every request must be authenticated.

  • bearer_auth — Create an API token using sf tokens create or at https://sfcompute.com/account/api-keys.

Paths & Operations 2

Across 2 paths, the API surfaces 2 operations — 1 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

Feature Flags 2
GET
/preview/v2/feature_flags
List feature flags scoped to the caller
listUserFeatureFlags → 200401500
POST
/preview/v2/feature_flags/{feature_flag}
Enroll or unenroll the caller in a feature flag
setFeatureFlagEnrollment 1 param body → 200401403404500

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are UserFeatureFlag (5 properties), ListUserFeatureFlagsResponse (3 properties), SetEnrollmentResponse (3 properties), SetEnrollmentRequest (1 property). Each schema is shown below with its type and property counts.

SetEnrollmentResponse
object
3 properties 3 required
UserFeatureFlag
object
5 properties 5 required
ListUserFeatureFlagsResponse
object
3 properties 3 required
SetEnrollmentRequest
object
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

the-san-francisco-compute-company-feature-flags-api-openapi.yml Raw ↑

Other APIs The San Francisco Compute Company publishes across the network.

The San Francisco Compute Company Account API
The San Francisco Compute Company Deployments API
The San Francisco Compute Company Images API
The San Francisco Compute Company Instance SKU Catalog API
The San Francisco Compute Company Instance SKUs API
The San Francisco Compute Company Instance Templates API
The San Francisco Compute Company Instances API
The San Francisco Compute Company Orderbook API
The San Francisco Compute Company Orders API
The San Francisco Compute Company Pools API
The San Francisco Compute Company Procurements API
The San Francisco Compute Company Users API