Skip to content

fix(docs): API overview advertises three surfaces but lists two #2658

Open

Description

@coygeek

Summary

The API overview says it provides three API surfaces and its page description includes Mastodon, but Available APIs lists only FxTwitter and FxBluesky. Readers cannot tell whether the third surface is omitted or the overview wording is stale.

Runtime or environment

Verified against default branch main at commit 4aae23e3162b9ae16b74522c9df055e16b1fecef and the published docs site. The repository has no published GitHub releases or tags. A plain GET to the public Atmosphere OpenAPI endpoint returned HTTP 200 and an OpenAPI 3.0.0 document titled FxEmbed Atmosphere API, version 2.0.0; this establishes availability of that specification, not a support commitment for every advertised operation.

Steps to reproduce

  1. Open the published API overview.
  2. Read the Available APIs introduction, then count its API subsections before Versioning.
  3. Inspect docs/src/content/docs/api/introduction.mdx on the stated baseline and compare its frontmatter description, opening paragraph, and Available APIs section.
  4. For additional context, run curl -sS -A 'curl' -o atmosphere-openapi.json -w '%{http_code}\n' https://api.atmosphere.tools/2/openapi.json and inspect the returned document's info and paths fields.

Expected behavior

The overview's stated API count and platform coverage agree with the APIs it actually introduces. A reader can identify each surface the page claims to cover without guessing. This does not require documenting a surface the project intentionally withholds from its public overview.

Actual behavior

Available APIs says “FxEmbed provides three separate API surfaces:” but has only FxTwitter API and FxBluesky API subsections. The page description includes Mastodon while the opening paragraph mentions only X/Twitter and Bluesky. These inconsistencies reproduce in both the source and published page.

The Atmosphere specification is publicly retrievable and contains 43 paths, including 12 paths under /2/mastodon/. No social-data operation was exercised. Public spec availability alone does not establish that the project intends the overview to introduce that surface.

Evidence

  • Expected source: The API overview's Available APIs heading and explicit surface count establish an enumerated overview; its frontmatter description states its platform scope.
  • Failure source: The baseline source, lines 1–28 and the published overview both contain the mismatch described above.
  • Evidence provenance: observed
  • Local verification: reproduced
  • Reproduction completeness: complete

History provides useful context: the commit titled “should not be documented yet” removed the Generic API (Mastodon / ActivityPub) subsection but left the surface count and Mastodon description. This report concerns the remaining inconsistent wording and does not infer a reason to reverse that removal.

Restoration check

Reopen the published overview and inspect the corresponding source. The stated surface count, platform description, opening paragraph, and listed API sections agree. Keeping the overview scoped to two APIs or introducing a supported third surface can each satisfy this check; the report does not prescribe which coverage the project should choose.

References

Open documentation PR #2527 proposes an Atmosphere subsection in this page alongside broader deployment documentation. It is not merged into the tested default branch, where the mismatch remains. This report tracks the current overview inconsistency and does not request a separate implementation from that PR.

Triage assessment

  • Impact level: P3
  • Assessment status: supported
  • Impact basis: This is an observed documentation wording inconsistency; no broken API operation or consequential integration failure was demonstrated.
  • Workaround status: available
  • Workaround basis: Readers can use the two explicitly listed API sections and their reference links without relying on the inconsistent count. The independently retrieved Atmosphere spec is additional context, not a verified workaround for undocumented operations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions