addedOutput schema / properties / items / items / description
Added value: +"A file you brought into Kuro."
changedOutput schema / properties / items / items / properties / bytes / type
Previous value: -"number"New value: +"integer"
addedOutput schema / properties / items / items / properties / created_at
Added value: +{
+ "format": "date-time",
+ "type": "string"
+}
addedOutput schema / properties / items / items / properties / id
Added value: +{
+ "format": "uuid",
+ "type": "string"
+}
removedOutput schema / properties / items / items / properties / kind
Removed value: -{
- "enum": [
- "image",
- "audio",
- "video"
- ],
- "type": "string"
-}
addedOutput schema / properties / items / items / properties / object
Added value: +{
+ "const": "upload",
+ "type": "string"
+}
changedOutput schema / properties / items / items / properties / reference / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "type": {
- "const": "upload",
- "type": "string"
- },
- "upload_id": {
- "format": "uuid",
- "type": "string"
- }
- },
- "required": [
- "type",
- "upload_id"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "generation_id": {
- "format": "uuid",
- "type": "string"
- },
- "type": {
- "const": "generation",
- "type": "string"
- }
- },
- "required": [
- "type",
- "generation_id"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "type": {
+ "const": "upload",
+ "type": "string"
+ },
+ "upload_id": {
+ "$ref": "#/properties/items/items/properties/id"
+ }
+ },
+ "required": [
+ "type",
+ "upload_id"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "generation_id": {
+ "$ref": "#/properties/items/items/properties/id"
+ },
+ "type": {
+ "const": "generation",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "generation_id"
+ ],
+ "type": "object"
+ }
+]
addedOutput schema / properties / items / items / properties / reference / description
Added value: +"Pass this where a request takes media."
addedOutput schema / properties / items / items / properties / status / description
Added value: +"Only a `verified` upload can be used in a generation."
addedOutput schema / properties / items / items / properties / status / enum
Added value: +[
+ "pending",
+ "verified",
+ "rejected",
+ "expired"
+]
addedOutput schema / properties / items / items / properties / type
Added value: +{
+ "enum": [
+ "image",
+ "video",
+ "audio"
+ ],
+ "type": "string"
+}
removedOutput schema / properties / items / items / properties / upload_id
Removed value: -{
- "format": "uuid",
- "type": "string"
-}
addedOutput schema / properties / items / items / properties / url / description
Added value: +"A signed link to the file, for about an hour."
changedOutput schema / properties / items / items / required
Previous value: -[
- "upload_id",
- "filename",
- "kind",
- "mime_type",
- "bytes",
- "status",
- "url",
- "thumbnail_url",
- "reference"
-]New value: +[
+ "object",
+ "id",
+ "filename",
+ "type",
+ "mime_type",
+ "bytes",
+ "status",
+ "url",
+ "thumbnail_url",
+ "reference",
+ "created_at"
+]