X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=doc%2FAPI-Entities.md;h=de3eac9b9af1c5ed3fc3139108247a05d87ad154;hb=3cf9edf7cc9df7ac9af53d5ec49935a9079c2161;hp=e369cb4ffdaad218a922ec8258175fcb7fae2353;hpb=d09b3f5bdeae444f785f6283e55dbf2f61caadac;p=friendica.git diff --git a/doc/API-Entities.md b/doc/API-Entities.md index e369cb4ffd..de3eac9b9a 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 @@ -439,12 +439,6 @@ Ex: Wed May 23 06:01:13 +0000 2007 Optional. Location. - -adjust -Boolean -??? - - ignore Boolean @@ -460,7 +454,7 @@ Ex: Wed May 23 06:01:13 +0000 2007 allow_gid String (angle-brackets escaped integers) -Optional. List of allowed group ids +Optional. List of allowed circle ids @@ -472,7 +466,7 @@ Ex: Wed May 23 06:01:13 +0000 2007 deny_gid String (angle-brackets escaped integers) -Optional. List of disallowed group ids +Optional. List of disallowed circle ids @@ -589,7 +583,7 @@ Ex: Wed May 23 06:01:13 +0000 2007 friendica_owner - + Contact No @@ -771,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
  • @@ -914,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) @@ -983,7 +984,7 @@ Identical to [the Twitter Media Object](https://developer.twitter.com/en/docs/tw allow_gid String (ACL) -List of contact group ids wrapped in angle brackets allowed to access the photo. +List of contact circle ids wrapped in angle brackets allowed to access the photo. @@ -995,7 +996,7 @@ Identical to [the Twitter Media Object](https://developer.twitter.com/en/docs/tw deny_gid String (ACL) -List of contact group ids wrapped in angle brackets forbidden to access the photo. +List of contact circle ids wrapped in angle brackets forbidden to access the photo. @@ -1007,6 +1008,14 @@ Mutually exclusive with data datasize. + +scales +Array of Photo Scales + +List of the various resized versions of the Photo + + + datasize Integer @@ -1046,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 @@ -1109,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 @@ -1446,4 +1541,4 @@ Unused ## User Mention -Unused \ No newline at end of file +Unused