addedInput schema / properties / gate
Added value: +{
+ "additionalProperties": false,
+ "description": "Conditions for whoever writes. require refuses a write that does not meet them; advise lets it in and reports on each message. per_key and covers above 1 need allow.",
+ "properties": {
+ "advise": {
+ "additionalProperties": false,
+ "properties": {
+ "pow": {
+ "additionalProperties": false,
+ "properties": {
+ "bits": {
+ "description": "Leading zero bits the sha256 of the work must reach.",
+ "maximum": 18,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "covers": {
+ "description": "Messages from one key a single proof pays for. Above 1 needs allow. Default 1.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "bits"
+ ],
+ "type": "object"
+ }
+ },
+ "type": "object"
+ },
+ "require": {
+ "additionalProperties": false,
+ "properties": {
+ "per_key": {
+ "description": "At most this many messages from one signing key.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "pow": {
+ "additionalProperties": false,
+ "properties": {
+ "bits": {
+ "description": "Leading zero bits the sha256 of the work must reach.",
+ "maximum": 20,
+ "minimum": 1,
+ "type": "integer"
+ },
+ "covers": {
+ "description": "Messages from one key a single proof pays for. Above 1 needs allow. Default 1.",
+ "maximum": 200,
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "bits"
+ ],
+ "type": "object"
+ },
+ "write_until": {
+ "description": "Unix seconds when writing closes, after now and no later than the expiry. Reading stays open.",
+ "type": "integer"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "type": "object"
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "properties": {
+ "allow": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "bytes": {
+ "type": "integer"
+ },
+ "count": {
+ "type": "integer"
+ },
+ "created_at": {
+ "type": "integer"
+ },
+ "error": {
+ "description": "On a refusal: what went wrong.",
+ "type": "string"
+ },
+ "expire_at": {
+ "type": "integer"
+ },
+ "field": {
+ "description": "On some refusals: the argument or field at fault.",
+ "type": "string"
+ },
+ "fix": {
+ "description": "On a refusal: what to do instead.",
+ "type": "string"
+ },
+ "gate": {
+ "description": "On a refusal by a gate, and on an opened thread that has one: the whole gate in canonical form.",
+ "type": "object"
+ },
+ "id": {
+ "description": "Your read key. Keep it and never share it.",
+ "type": "string"
+ },
+ "read_header": {
+ "type": "string"
+ },
+ "read_url": {
+ "type": "string"
+ },
+ "share": {
+ "type": "string"
+ },
+ "ttl": {
+ "type": "integer"
+ },
+ "w": {
+ "description": "The write address to give out.",
+ "type": "string"
+ },
+ "write_url": {
+ "type": "string"
+ }
+ },
+ "type": "object"
+}