Skip to content

Navigation Menu

Sign in
Sign up

Latest commit

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

CoreLink API Contracts

Contract: 1.0.0-draft Contract compatibility Maturity: Draft OpenAPI AsyncAPI

Versioned, implementation-independent contracts for CoreLink APIs and events. This repository is the normative machine-readable handoff boundary between the Platform runtime and Console, SDKs, CLI, mock server, MCP server and external integrations.

Contents

Path Intended contract
openapi/corelink-public-v1.yaml Partner/product-facing public API
openapi/corelink-admin-v1.yaml Privileged administrative API
openapi/corelink-internal-v1.yaml Internal service contract; never expose as public API
asyncapi/corelink-events-v1.yaml Event channels/payloads
schemas/ Reusable JSON Schemas for device, command, event envelope and errors
postman/ Versioned collection/environment/examples
docs/compatibility-policy.md Compatibility/versioning rules
docs/compatibility-matrix.md Consumer/release compatibility inventory
docs/runtime-parity.md Runtime parity boundary/evidence expectations
docs/terminology.md Shared public-contract vocabulary

Current public baseline

The immutable v1.0.0-draft baseline defines the reviewed public Device + Command slice and canonical event envelope. It is intentionally narrower than the private runtime and Console product surface.

Broader Asset/binding/telemetry/location/alerts, partner credential/webhook/usage/operations and full event schema work remains owned by the corresponding API-02/API-03/API-04 backlog and runtime acceptance gates.

A contract tag is reproducibility evidence; it is not by itself a runtime/SDK/Stable-support claim.

See CHANGELOG.md, compatibility policy, compatibility matrix and runtime parity.

Contract rules

  • Public device identity is corelink_device_id; provider/integration IDs remain implementation details.
  • Model CoreLink resources, not raw provider payloads.
  • Keep public, admin and internal audiences in separate documents.
  • Define authentication, tenant scope, authorization failures, pagination, idempotency and problem responses for every operation.
  • Preserve provider-neutral semantics for Console/SDK/CLI/MCP consumers.
  • Breaking changes require an explicit versioned contract and coordinated migration/release decision.

Consumer responsibilities

  • Platform implements/accepts runtime behavior; merged code alone is not parity evidence.
  • Console may isolate missing read models in an adapter, but fallbacks are not normative API contracts.
  • TypeScript/Python SDKs are generated prerelease consumers and must retain immutable contract provenance before supported publication.
  • Java/CLI/mock/MCP remain Scaffold/Planned until their own implementation/release gates pass.
  • developer-docs explains use of this contract without copying/forking normative schemas.

Before merging a contract change

  1. Confirm product/runtime ownership and the primary Product Epic/implementation issue.
  2. Validate OpenAPI/AsyncAPI syntax and references.
  3. Add representative request, response, authorization and error examples.
  4. Assess backward compatibility and migration impact.
  5. Reconcile affected Platform, Console, SDK, mock/MCP/CLI, developer-docs and website claims.
  6. Run the contract compatibility/parity checks required by the current maturity gate.

Human documentation

Use CoreLinkPlatform/developer-docs for tutorials, concepts, operational guidance and runnable developer journeys. This repository remains the schema/compatibility source of truth.

About

Versioned OpenAPI, AsyncAPI, JSON Schema, webhook, and Postman contracts for CoreLink APIs.

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /