diff --git a/README.md b/README.md index 323ef9a..cd773bb 100644 --- a/README.md +++ b/README.md @@ -229,6 +229,67 @@ ce-87654321-...,did:web:example.com,did:web:example.com#key-1,,z3u2en...,, `ValidFrom` and `ValidUntil` are optional. +### Publisher — API publishing (`ce publisher`) + +Publish to the Credential Registry through a **project**: create it, add files, validate them, fix what validation +finds, then complete it. The Publisher has three kinds of project; ce-cli works with two: + +- **Bulk upload (BU)**, the default and the standard project: **BU template CSVs**. The columns are the ones of the + Publisher's BU templates, for example the Credentials template. One class of file per `add`. A CSV you upload with + ce-cli is a BU project, the same project the Publisher UI makes. +- **API publishing**, created with `--jsonld`: **JSON-LD only**, in the shape the CSV transform produces, an array of + graphs, each with `@context`, `@id` and `@graph`. CSVs are refused. +- **Ruby Registry sync** is made by the Ruby Registry when it uploads a changeset. `ce publisher project list` shows + it; ce-cli adds no files to it, validates it or completes it. + +| Command | Description | +| ------- | ----------- | +| `ce publisher project create --name [--jsonld]` | Create a project. A BU project is the default; `--jsonld` makes an API publishing project | +| `ce publisher project add --project-id --file [--type