changedInput schema / properties / name / description
Previous value: -"The file's name with its extension, for example episode-1.mp4. 1 to 300 characters."New value: +"Without url: the file's name with its extension, for example episode-1.mp4. 1 to 300 characters."
changedInput schema / properties / size / description
Previous value: -"The file's exact size in bytes (from ls -l or stat), at most 5 GB. A file that turns out larger is refused at the PUT."New value: +"Without url: the file's exact size in bytes (from ls -l or stat), at most 5 GB. A file that turns out larger is refused at the PUT."
addedInput schema / properties / title
Added value: +{
+ "description": "With url: the file's title in the Library, 1 to 300 characters. Left out: the file's own name.",
+ "maxLength": 300,
+ "minLength": 1,
+ "type": "string"
+}
changedInput schema / properties / type / description
Previous value: -"The file's MIME type: video/mp4, video/quicktime, image/jpeg, image/png and so on. Left out: read from the name's extension. Send the same value as the PUT's Content-Type."New value: +"Without url: the file's MIME type: video/mp4, video/quicktime, image/jpeg, image/png and so on. Left out: read from the name's extension. Send the same value as the PUT's Content-Type."
addedInput schema / properties / url
Added value: +{
+ "description": "The file's https address. Postkey fetches it and adds it to the Library in this one call. Send it without name, size and type.",
+ "maxLength": 2000,
+ "pattern": "^https://",
+ "type": "string"
+}
removedInput schema / required
Removed value: -[
- "name",
- "size"
-]
addedOutput schema / properties / kind
Added value: +{
+ "description": "With url: video, image or audio, read from the file itself.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / library_item_id
Added value: +{
+ "description": "With url: the new Library file's id. The file is in the Library; there is no finish step.",
+ "type": [
+ "string",
+ "null"
+ ]
+}
addedOutput schema / properties / size_bytes
Added value: +{
+ "description": "With url: the stored file's size.",
+ "type": [
+ "number",
+ "null"
+ ]
+}