Credit policy
Publish a policy version
Write a Credit policy version and record who published it.
POST
The version is immutable from this moment. Changed content is the next version.
It is not adoptable yet. A second person confirms it, and until then an adoption naming it is refused.
Publishing the same content twice under one number is a retry and answers
200 with what is published. Different content under a taken number is 409.
Who may call
An administrator of the organization, as a person. The agent is refused on live and sandbox Tenancies alike.Path parameters
The Tenancy acting. It comes from Read the tenancy; your organization must be bound to it.
Body
A claim about the content. Stated, it is checked against what you sent; omitted, nothing is claimed. Content copied from a read and then edited must drop it.
Rules that settle an application outright. Every rule identifier carries your Tenancy’s identifier as its namespace.
Entries awarding points for the bands of one attribute’s values. The bands cover the attribute’s whole domain.
The attributes the rules read, echoed back from a read. Checked against the vocabulary; a disagreement is refused.
Response
Answers201.
A 64-character hexadecimal digest of the content. A number is a label; the digest can be checked, and every Decision records it.
Refusals
Every refusal carries the error shape.
429 and 503 answer as at the signing door.