Platform API

The Platform API is the contract between the CNB lifecycle and a platform such as pack, kpack, or a CI runner. It defines how builders, stacks, run images, and inputs are passed to the lifecycle phases (analyze, detect, restore, build, export, and rebase) and how outputs are consumed.

API entry from apis.yml

apis.yml Raw ↑
aid: cloud-native-buildpacks:platform-api
name: Platform API
tags:
- Lifecycle
- Platform
- Specification
image: https://kinlane-productions2.s3.amazonaws.com/apis-json/apis-json-logo.jpg
humanURL: https://github.com/buildpacks/spec/blob/main/platform.md
properties:
- url: https://github.com/buildpacks/spec/blob/main/platform.md
  type: Specification
- url: https://buildpacks.io/docs/for-platform-operators/
  type: Documentation
description: The Platform API is the contract between the CNB lifecycle and a platform such as pack, kpack,
  or a CI runner. It defines how builders, stacks, run images, and inputs are passed to the lifecycle
  phases (analyze, detect, restore, build, export, and rebase) and how outputs are consumed.