# site-api: the contract Carrel uses to publish to a site | Dustin Edwards

> site-api is the contract Carrel uses to list, edit and publish a site's content. Each of Dustin Edwards's sites mounts the same handler.

Source: https://dustinedwards.info/software/site-api

## The contract with Carrel[#](https://dustinedwards.info/software/site-api#the-contract-with-carrel)

site-api is the contract [Carrel](https://dustinedwards.info/software/carrel) uses to list, edit and publish this site’s content. Each site mounts one handler and implements an adapter over its own storage, so Carrel talks to every site the same way. It is MIT licensed.

## Source[#](https://dustinedwards.info/software/site-api#source)

[DrDustinEdwards/site-api on GitHub](https://github.com/DrDustinEdwards/site-api). The [colophon](https://dustinedwards.info/colophon) describes how this site uses it.
