Add ContentAPI method for /artefacts.json

This will be used by the mirrorer, and mean that it will support
pagination when it's enabled.