Public API Specs: 1927 URL Findings
In this article
- Why 1927 URLs Appear in API Discussions
- What a Three-Year Check of Public API Specs Actually Means
- How Public API Specifications Are Structured
- Common Problems Found During API Spec Reviews
- How to Choose a Specification Format
- Costs and Tools for Maintaining API Specs
- Safety and Security Best Practices
- Frequently Asked Questions
Public API specifications from 1927 do not exist, and no three-year check of them has ever occurred—because the concept of an API, let alone a public API specification, was not invented until decades later. The earliest remote procedure call (RPC) systems emerged in the 1960s and 1970s, and the term "API" itself only gained widespread use in the 2000s. This article explains what a three-year check of public API specs actually involves today, why 1927 URLs are a common source of confusion, and what you need to know about API specification maintenance.
Why 1927 URLs Appear in API Discussions
The mention of "1927 URLs" in the context of public API specs is almost certainly a misunderstanding or a typo. It could refer to:
- HTTP status code 1927 – No such standard status code exists; HTTP status codes are three digits, and 1927 is not defined by the IANA registry.
- A port number – Port 1927 is not reserved by IANA for any common service; it is in the dynamic/private range (49152–65535) or unassigned.
- A date or version number – Some internal systems use timestamps or version numbers that include "1927," but this is not a public standard.
- A misremembered year – 1927 is sometimes cited in relation to the first use of the term "URL" or "API," but neither existed then. The first URL proposal was by Tim Berners-Lee in 1990, and the first APIs were developed in the 1960s (e.g., in operating systems).
In short, there is no real connection between 1927 and public API specifications. The confusion likely stems from a search query or a data entry error.
What a Three-Year Check of Public API Specs Actually Means
Maintaining a public API specification involves periodic reviews to ensure it remains accurate, secure, and aligned with the implementation. A "three-year check" is a common practice in software lifecycle management, especially for long-lived APIs. The goal is to identify:
- Deprecated endpoints – Are any endpoints marked as deprecated? If so, have they been removed or scheduled for removal?
- Security vulnerabilities – Have any authentication or authorization flaws been discovered since the last review?
- Compatibility issues – Do the current client libraries and SDKs still match the specification?
- Documentation accuracy – Are all examples, schemas, and error codes up to date?
- Performance bottlenecks – Have response times or rate limits changed?
This review is typically performed by the API's owning team, often with input from developers who consume the API. It is not a formal standard but a best practice.
How Public API Specifications Are Structured
Modern public API specifications are usually written in machine-readable formats like OpenAPI (formerly Swagger), RAML, or API Blueprint. These formats describe:
- Endpoints – URL paths and HTTP methods (GET, POST, etc.)
- Parameters – Query, path, header, and body parameters
- Request/response schemas – Data structures using JSON Schema or XML Schema
- Authentication methods – API keys, OAuth 2.0, JWT, etc.
- Error codes – Standard and custom error responses
- Rate limits – Maximum requests per time period
These specs are often hosted on platforms like GitHub, ReadMe, or SwaggerHub, and they can be versioned using semantic versioning (e.g., v1.0.0, v1.1.0, v2.0.0).
Common Problems Found During API Spec Reviews
When a team conducts a three-year review, they often uncover recurring issues:
- Broken links – URLs in the documentation may point to resources that have moved or been deleted.
- Schema drift – The actual API response may have changed (e.g., added a field) without updating the spec.
- Inconsistent naming – Endpoint names or parameters may use different conventions (e.g., camelCase vs. snake_case).
- Missing deprecation notices – Endpoints that are no longer supported may still be documented as active.
- Security gaps – The spec may not mention new authentication requirements or may include outdated security schemes.
Addressing these issues often involves updating the spec, notifying developers, and sometimes releasing a new version.
How to Choose a Specification Format
Selecting the right format for a public API specification depends on your team's needs:
- OpenAPI (Swagger) – Most widely adopted, with extensive tooling for code generation, documentation, and testing. Ideal for REST APIs.
- RAML – Focuses on design-first development and reuse. Good for large enterprises with many APIs.
- API Blueprint – Markdown-based, simple to read, but less tooling support.
- AsyncAPI – Designed for event-driven APIs (e.g., WebSockets, Kafka). Use if your API is asynchronous.
For most new public REST APIs, OpenAPI is the safest choice due to its ecosystem and community support.
Costs and Tools for Maintaining API Specs
Maintaining a public API spec has both time and monetary costs:
- Time – Regular reviews (e.g., quarterly or annually) require developer hours.
- Tools – Many tools are free (e.g., Swagger Editor, Redocly), but enterprise features like team collaboration or custom domains may require paid plans.
- Hosting – Hosting the spec on a public URL is often free on GitHub Pages or ReadMe, but premium documentation platforms charge a fee.
There is no standard "cost" for a three-year check—it depends on the API's complexity and the team's processes.
Safety and Security Best Practices
When reviewing a public API spec, prioritize security:
- Never expose secrets – Ensure the spec does not include real API keys, passwords, or tokens.
- Use HTTPS – All example URLs should use HTTPS, not HTTP.
- Specify authentication – Clearly document how to authenticate, but avoid showing real credentials.
- Validate inputs – The spec should define input constraints (e.g., max length, allowed values) to prevent injection attacks.
- Plan for rate limiting – Include rate limit headers in responses and document them.
If you find a security issue during a review, fix it immediately and consider a coordinated disclosure if it affects users.
Frequently Asked Questions
Is there a public API specification from 1927?
No. APIs did not exist in 1927. The earliest remote procedure call mechanisms were developed in the 1960s, and the term "API" became common in the 2000s. Any reference to a 1927 API spec is a mistake or a hoax.
What does "three-year check" mean for an API?
It refers to a periodic review of the API specification and implementation to ensure accuracy, security, and compatibility. It is not a formal requirement but a good practice for long-lived APIs.
How often should I review my public API spec?
It depends on the API's stability and usage. For active APIs, consider a review every 6–12 months. For stable, rarely changed APIs, a three-year cycle may be sufficient.
Can I use OpenAPI for a non-REST API?
OpenAPI is designed for REST APIs. For GraphQL, use GraphQL SDL; for gRPC, use proto files; for event-driven APIs, use AsyncAPI.
What should I do if my API spec is outdated?
Update the spec to match the current implementation, add a changelog, and notify developers via your communication channels. If changes are breaking, consider versioning the API.
Are there any free tools to host API specs?
Yes. You can host OpenAPI specs on GitHub Pages, use Swagger UI (open-source), or use free tiers of documentation platforms like ReadMe or Postman.