Legal documents
One immutable revision of a project's legal agreement.
One immutable revision of a project's legal agreement.
Service Sylphx Auth · Resource type auth.sylphx.com/LegalDocument · Name pattern orgs/{org}/projects/{project}/legal_documents/{legal_document} · Shape record
Fields
| Field | Type | What it is |
|---|---|---|
name | string | Canonical Resource name. |
uid | string | Server-assigned immutable ID. Output only. |
meta | ResourceMeta | Resource metadata. |
spec | LegalDocumentSpec | The immutable agreement text and publication policy. Required. |
status | LegalDocumentStatus | Computed hash and publication state. Output only. |
Methods
Every method of the collection, in the registry's order, with the scope it needs. The full request, response and examples are one link away.
| Method | Call | What it does |
|---|---|---|
GET | get | Gets a legal revision, including draft or published state. |
POST | create | Creates an immutable draft revision. |
GET | list | Lists all agreement revisions of the project. |
POST | publish | Publishes an immutable revision with its configured effective time. |
get
Gets a legal revision, including draft or published state.
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/legal_documents/legal-document · scope auth:read · effect read · Request, response and examples
create
Creates an immutable draft revision.
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/legal_documents · scope auth:write · effect write · Request, response and examples
list
Lists all agreement revisions of the project.
GET https://api.sylphx.com/v1/orgs/acme/projects/shop/legal_documents · scope auth:read · effect read · paginated · Request, response and examples
publish
Publishes an immutable revision with its configured effective time.
POST https://api.sylphx.com/v1/orgs/acme/projects/shop/legal_documents/legal-document:publish · scope auth:write · effect write · Request, response and examples