From: Hank Grabowski Date: Thu, 23 Feb 2023 02:31:07 +0000 (-0500) Subject: Add changes to the Photo entries in Friendica API endpoint X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=dacda1b3647c366cba91a065ebe6264ae968e68f;p=friendica.git Add changes to the Photo entries in Friendica API endpoint --- diff --git a/doc/API-Entities.md b/doc/API-Entities.md index 23fc2cec48..6c3e94a39b 100644 --- a/doc/API-Entities.md +++ b/doc/API-Entities.md @@ -908,6 +908,13 @@ Identical to [the Twitter Media Object](https://developer.twitter.com/en/docs/tw Resource ID (32 hex chars) + +media-id +String (Integer) +ID used for attaching to a Mastodon Post Status + + + created String (Date) @@ -1001,6 +1008,14 @@ Mutually exclusive with data datasize. + +scales +Array of Photo Scales + +List of Scale objects listing the id, scale, link, etc. of each scale + + + datasize Integer @@ -1040,6 +1055,58 @@ Mutually exclusive with link. +## Photo Scale + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
AttributeTypeNullable
idString (Integer)Row ID of this photo scale
scaleIntegerScale number
linkString (URL)URL to this scale's image
heightIntegerImage height in pixels
widthIntegerImage width in pixels
sizeIntegerImage size in bytes
+ + ## Photo List Item