addedInput schema / properties / action
Added value: +{
+ "description": "save (default): one image from url or data_base64. drop_link: a link where the owner drops many photos from a phone or computer (one website, 1 hour). dropped: the photos dropped for the website, with paths.",
+ "enum": [
+ "save",
+ "drop_link",
+ "dropped"
+ ],
+ "type": "string"
+}
addedInput schema / properties / site_id
Added value: +{
+ "description": "drop_link and dropped: the website (see list_sites).",
+ "maxLength": 40,
+ "type": "string"
+}
addedOutput schema / properties / drop_url
Added value: +{
+ "description": "drop_link: the link to give the owner (works once, for this website, until expires_at).",
+ "type": "string"
+}
addedOutput schema / properties / expires_at
Added value: +{
+ "description": "drop_link: when the link stops working (ISO time).",
+ "type": "string"
+}
addedOutput schema / properties / max_photos
Added value: +{
+ "description": "drop_link: photos one link takes.",
+ "type": "number"
+}
changedOutput schema / properties / path / description
Previous value: -"Path to use in HTML or module data, e.g. /_g/u/abc.webp."New value: +"Saving one image: the path to use in HTML or module data, e.g. /_g/u/abc.webp."
addedOutput schema / properties / photos
Added value: +{
+ "description": "dropped: every photo dropped for the website, oldest first.",
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "bytes": {
+ "type": "number"
+ },
+ "dropped_at": {
+ "type": "string"
+ },
+ "height": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "description": "Clean name from the file name (\"burger.jpg\" → \"burger\").",
+ "type": "string"
+ },
+ "path": {
+ "description": "Path to use in the website's HTML or Part data, e.g. /_g/u/abc.webp.",
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ },
+ "used": {
+ "description": "Already on one of the website's pages or Parts.",
+ "type": "boolean"
+ },
+ "width": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "path",
+ "url",
+ "bytes",
+ "width",
+ "height",
+ "type",
+ "used",
+ "dropped_at"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / site_id
Added value: +{
+ "description": "drop_link / dropped: the website.",
+ "type": "string"
+}
changedOutput schema / properties / url / description
Previous value: -"Full address of the image."New value: +"Saving one image: its full address."
changedOutput schema / required
Previous value: -[
- "path",
- "url",
- "width",
- "height",
- "bytes",
- "type",
- "text"
-]New value: +[
+ "text"
+]