action apicurio_create_artifact_rule { label: "Create artifact rule" description: "Adds a rule to the list of rules that get applied to the artifact when adding new\nversions. All configured rules must pass to successfully add a new artifact version.\n\nThis operation can fail for the following reasons:\n\n* No artifact with this `artifactId` exists (HTTP error `404`)\n* Rule (named in the request body) is unknown (HTTP error `400`)\n* A server error occurred (HTTP error `500`)" provider: apicurio method: POST path: "/groups/{groupId}/artifacts/{artifactId}/rules" encoding: json input: { type: "object" required: ["config"] properties: { config: { type: "string" } type: { type: "string" enum: ["VALIDITY", "COMPATIBILITY"] } } } output: { type: "object" additionalProperties: true } }