Mock API overview
Mock content
This page is placeholder content in compliance-framework/mock-docs, the CCF Factory's safe target. It documents no real software, and its versions are fake. For the real documentation, see the CCF docs.
The mock-api repository is a stand-in for the CCF API. It pretends to store compliance data and take in evidence from agents. This page is for developers who test the CCF Factory against it. It documents the fake 0.0 line.
How it works
- The mock API starts one HTTP server on
MOCK_API_PORT. - It answers every request with a fixed, empty response.
- It keeps nothing: restarting it loses no data, because it stores none.
Use it
mock-api run
Set it up with the environment variables in the configuration reference.