X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAPI-Entities.md;h=213b2494f1a8b4697241b73afe767662f2cd6cc9;hb=13b184e2b491a3bf916f55e8f148023d82e05d51;hp=6a851014e97fe2507fb60c3937401429ac4486bd;hpb=caa1a5aeacaf617c2f852b45e2ed891dd8be358c;p=friendica.git diff --git a/doc/API-Entities.md b/doc/API-Entities.md index 6a851014e9..213b2494f1 100644 --- a/doc/API-Entities.md +++ b/doc/API-Entities.md @@ -410,13 +410,13 @@ Ex: Wed May 23 06:01:13 +0000 2007 -startTime +start_time String (UTC YYYY-MM-DD HH:II:SS)) -endTime +end_time String (UTC YYYY-MM-DD HH:II:SS)) Optional (null date is 0001-01-01 00:00:00 @@ -765,7 +765,7 @@ Identical to [the Twitter Media Object](https://developer.twitter.com/en/docs/tw
  • 64: Unused
  • 128: Mention
  • 256: Tag added to a post
  • -
  • 512: Poke
  • +
  • 512: Poke (Obsolete)
  • 1024: New post
  • 16384: System email
  • 32768: System event
  • @@ -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 images to a Mastodon Post Status + + + created String (Date) @@ -1001,6 +1008,14 @@ Mutually exclusive with data datasize. + +scales +Array of Photo Scales + +List of the various resized versions of the Photo + + + 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 @@ -1103,6 +1170,40 @@ Mutually exclusive with link.
    + +## Photo Album + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    AttributeTypeDescription
    nameStringThe name of the photo album
    createdString (Date)The creation date of the album. Format YYYY-MM-DD HH:MM:SS
    countIntegerThe number of images in the album
    + ## Private message