A client library implementing the full v1 REST API protocol for Mastodon in Guile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 KiB

timelines Module


Table of Contents

  1. <mastodon-account>
  2. <mastodon-application>
  3. <mastodon-attachment>
  4. <mastodon-card>
  5. <mastodon-conversation>
  6. <mastodon-emoji>
  7. <mastodon-field>
  8. <mastodon-history>
  9. <mastodon-mention>
  10. <mastodon-meta-focus>
  11. <mastodon-meta-subtree>
  12. <mastodon-meta>
  13. <mastodon-pagination-object>
  14. <mastodon-poll>
  15. <mastodon-status>
  16. <mastodon-tag>
  17. masto-account-acct
  18. masto-account-avatar
  19. masto-account-avatar-static
  20. masto-account-bot?
  21. masto-account-created-at
  22. masto-account-discoverable?
  23. masto-account-display-name
  24. masto-account-emojis
  25. masto-account-fields
  26. masto-account-followers-count
  27. masto-account-following-count
  28. masto-account-group?
  29. masto-account-header
  30. masto-account-header-static
  31. masto-account-id
  32. masto-account-last-status-at
  33. masto-account-locked?
  34. masto-account-moved
  35. masto-account-note
  36. masto-account-statuses-count
  37. masto-account-url
  38. masto-account-username
  39. masto-account?
  40. masto-application-name
  41. masto-application-website
  42. masto-application?
  43. masto-attachment-blurhash
  44. masto-attachment-description
  45. masto-attachment-id
  46. masto-attachment-meta
  47. masto-attachment-preview-url
  48. masto-attachment-remote-url
  49. masto-attachment-text-url
  50. masto-attachment-type
  51. masto-attachment-url
  52. masto-attachment?
  53. masto-card-author-name
  54. masto-card-author-url
  55. masto-card-description
  56. masto-card-height
  57. masto-card-html
  58. masto-card-image
  59. masto-card-provider-name
  60. masto-card-provider-url
  61. masto-card-title
  62. masto-card-type
  63. masto-card-url
  64. masto-card-width
  65. masto-card?
  66. masto-conversation-delete
  67. masto-conversation-read
  68. masto-conversations-all
  69. masto-convo-accounts
  70. masto-convo-id
  71. masto-convo-last-status
  72. masto-convo-unread?
  73. masto-convo?
  74. masto-emoji-shortcode
  75. masto-emoji-static-url
  76. masto-emoji-url
  77. masto-emoji-visible-in-picker?
  78. masto-emoji?
  79. masto-field-name
  80. masto-field-value
  81. masto-field-verified-at
  82. masto-field?
  83. masto-history-accounts
  84. masto-history-day
  85. masto-history-uses
  86. masto-history?
  87. masto-mention-acct
  88. masto-mention-id
  89. masto-mention-url
  90. masto-mention-username
  91. masto-mention?
  92. masto-meta-focus
  93. masto-meta-focus-x
  94. masto-meta-focus-y
  95. masto-meta-focus?
  96. masto-meta-original
  97. masto-meta-small
  98. masto-meta-subtree-aspect
  99. masto-meta-subtree-bitrate
  100. masto-meta-subtree-duration
  101. masto-meta-subtree-frame-rate
  102. masto-meta-subtree-height
  103. masto-meta-subtree-size
  104. masto-meta-subtree-width
  105. masto-meta-subtree?
  106. masto-meta?
  107. masto-page-next
  108. masto-page-objects
  109. masto-page-prev
  110. masto-page?
  111. masto-poll-expired
  112. masto-poll-expires-at
  113. masto-poll-id
  114. masto-poll-multiple
  115. masto-poll-options
  116. masto-poll-voted
  117. masto-poll-votes-count
  118. masto-poll?
  119. masto-status-account
  120. masto-status-application
  121. masto-status-card
  122. masto-status-content
  123. masto-status-created-at
  124. masto-status-emojis
  125. masto-status-favorited
  126. masto-status-favorites-count
  127. masto-status-id
  128. masto-status-in-reply-to-account-id
  129. masto-status-in-reply-to-id
  130. masto-status-language
  131. masto-status-media-attachments
  132. masto-status-mentions
  133. masto-status-muted
  134. masto-status-pinned
  135. masto-status-poll
  136. masto-status-reblog-status
  137. masto-status-reblogged
  138. masto-status-reblogs-count
  139. masto-status-replies-count
  140. masto-status-sensitive
  141. masto-status-spoiler-text
  142. masto-status-tags
  143. masto-status-uri
  144. masto-status-url
  145. masto-status-visibility
  146. masto-status?
  147. masto-tag-history
  148. masto-tag-name
  149. masto-tag-url
  150. masto-tag?
  151. masto-timelines-home
  152. masto-timelines-list
  153. masto-timelines-public
  154. masto-timelines-tag


<mastodon-account>

Summary

A record object that can be returned by an API call.

Record Fields

id
username
acct
displayName
locked
bot
discoverable
group
createdAt
followersCount
followingCount
statusesCount
lastStatusAt
note
url
avatar
avatarStatic
header
headerStatic
emojis
moved
fields


<mastodon-application>

Summary

A record object that can be returned by an API call.

Record Fields

name
website


<mastodon-attachment>

Summary

A record object that can be returned by an API call.

Record Fields

id
type
url
remoteURL
previewURL
textURL
meta
description
blurhash


<mastodon-card>

Summary

A record object that can be returned by an API call.

Record Fields

url
title
description
image
type
authorName
authorURL
providerName
providerURL
html
width
height


<mastodon-conversation>

Summary

A record object that can be returned by an API call.

Record Fields

id
accounts
lastStatus
unread


<mastodon-emoji>

Summary

A record object that can be returned by an API call.

Record Fields

shortcode
staticURL
url
visibleInPicker


<mastodon-field>

Summary

A record object that can be returned by an API call.

Record Fields

name
value
verifiedAt


<mastodon-history>

Summary

A record object that can be returned by an API call.

Record Fields

day
uses
accounts


<mastodon-mention>

Summary

A record object that can be returned by an API call.

Record Fields

url
username
acct
id


<mastodon-meta-focus>

Summary

A record object that can be returned by an API call.

Record Fields

x
y


<mastodon-meta-subtree>

Summary

A record object that can be returned by an API call.

Record Fields

width
height
size
aspect
frameRate
duration
bitrate


<mastodon-meta>

Summary

A record object that can be returned by an API call.

Record Fields

small
original
focus


<mastodon-pagination-object>

Summary

A record object that can be returned by an API call.

Record Fields

objectCollection
prevURL
prevPage
nextURL
nextPage
http-call
generate-fn


<mastodon-poll>

Summary

A record object that can be returned by an API call.

Record Fields

id
expiresAt
expired
multiple
votesCount
options
voted


<mastodon-status>

Summary

A record object that can be returned by an API call.

Record Fields

id
uri
url
account
inReplyToID
inReplyToAccountID
reblogStatus
content
createdAt
emojis
repliesCount
reblogsCount
favoritesCount
reblogged
favorited
muted
bookmarked
sensitive
spoilerText
visibility
mediaAttachments
mentions
tags
card
poll
application
language
pinned


<mastodon-tag>

Summary

A record object that can be returned by an API call.

Record Fields

name
url
history


masto-account-acct

Summary

#f

Parameters

#f03c15 s


masto-account-avatar

Summary

#f

Parameters

#f03c15 s


masto-account-avatar-static

Summary

#f

Parameters

#f03c15 s


masto-account-bot?

Summary

#f

Parameters

#f03c15 s


masto-account-created-at

Summary

#f

Parameters

#f03c15 s


masto-account-discoverable?

Summary

#f

Parameters

#f03c15 s


masto-account-display-name

Summary

#f

Parameters

#f03c15 s


masto-account-emojis

Summary

#f

Parameters

#f03c15 s


masto-account-fields

Summary

#f

Parameters

#f03c15 s


masto-account-followers-count

Summary

#f

Parameters

#f03c15 s


masto-account-following-count

Summary

#f

Parameters

#f03c15 s


masto-account-group?

Summary

#f

Parameters

#f03c15 s


masto-account-header

Summary

#f

Parameters

#f03c15 s


masto-account-header-static

Summary

#f

Parameters

#f03c15 s


masto-account-id

Summary

#f

Parameters

#f03c15 s


masto-account-last-status-at

Summary

#f

Parameters

#f03c15 s


masto-account-locked?

Summary

#f

Parameters

#f03c15 s


masto-account-moved

Summary

#f

Parameters

#f03c15 s


masto-account-note

Summary

#f

Parameters

#f03c15 s


masto-account-statuses-count

Summary

#f

Parameters

#f03c15 s


masto-account-url

Summary

#f

Parameters

#f03c15 s


masto-account-username

Summary

#f

Parameters

#f03c15 s


masto-account?

Summary

#f

Parameters

#f03c15 obj


masto-application-name

Summary

#f

Parameters

#f03c15 s


masto-application-website

Summary

#f

Parameters

#f03c15 s


masto-application?

Summary

#f

Parameters

#f03c15 obj


masto-attachment-blurhash

Summary

#f

Parameters

#f03c15 s


masto-attachment-description

Summary

#f

Parameters

#f03c15 s


masto-attachment-id

Summary

#f

Parameters

#f03c15 s


masto-attachment-meta

Summary

#f

Parameters

#f03c15 s


masto-attachment-preview-url

Summary

#f

Parameters

#f03c15 s


masto-attachment-remote-url

Summary

#f

Parameters

#f03c15 s


masto-attachment-text-url

Summary

#f

Parameters

#f03c15 s


masto-attachment-type

Summary

#f

Parameters

#f03c15 s


masto-attachment-url

Summary

#f

Parameters

#f03c15 s


masto-attachment?

Summary

#f

Parameters

#f03c15 obj


masto-card-author-name

Summary

#f

Parameters

#f03c15 s


masto-card-author-url

Summary

#f

Parameters

#f03c15 s


masto-card-description

Summary

#f

Parameters

#f03c15 s


masto-card-height

Summary

#f

Parameters

#f03c15 s


masto-card-html

Summary

#f

Parameters

#f03c15 s


masto-card-image

Summary

#f

Parameters

#f03c15 s


masto-card-provider-name

Summary

#f

Parameters

#f03c15 s


masto-card-provider-url

Summary

#f

Parameters

#f03c15 s


masto-card-title

Summary

#f

Parameters

#f03c15 s


masto-card-type

Summary

#f

Parameters

#f03c15 s


masto-card-url

Summary

#f

Parameters

#f03c15 s


masto-card-width

Summary

#f

Parameters

#f03c15 s


masto-card?

Summary

#f

Parameters

#f03c15 obj


masto-conversation-delete

Summary

Delete the conversation for the user tied to mastoApp which has the ID conversationID.

This function, if successful, returns #t.

Find the original documentation here.

Parameters

#f03c15 mastoApp
#f03c15 conversationID


masto-conversation-read

Summary

Mark the conversation as read, for the user tied to mastoApp, which has the ID conversationID.

A <mastodon-conversation> is returned.

Find the original documentation here.

Parameters

#f03c15 mastoApp
#f03c15 conversationID


masto-conversations-all

Summary

Retrieve all conversations associated with the user tied to mastoApp.

If no limit value is provided, the value 20 is used; the max. is 40, regardless of the value provided.

A list of <mastodon-status>s are returned.

Find the original documentation here.

Parameters

#f03c15 mastoApp
#1589F0 #:maxID (argument position 2)
#1589F0 #:sinceID (argument position 3)
#1589F0 #:minID (argument position 4)
#1589F0 #:limit (argument position 5)


masto-convo-accounts

Summary

#f

Parameters

#f03c15 s


masto-convo-id

Summary

#f

Parameters

#f03c15 s


masto-convo-last-status

Summary

#f

Parameters

#f03c15 s


masto-convo-unread?

Summary

#f

Parameters

#f03c15 s


masto-convo?

Summary

#f

Parameters

#f03c15 obj


masto-emoji-shortcode

Summary

#f

Parameters

#f03c15 s


masto-emoji-static-url

Summary

#f

Parameters

#f03c15 s


masto-emoji-url

Summary

#f

Parameters

#f03c15 s


masto-emoji-visible-in-picker?

Summary

#f

Parameters

#f03c15 s


masto-emoji?

Summary

#f

Parameters

#f03c15 obj


masto-field-name

Summary

#f

Parameters

#f03c15 s


masto-field-value

Summary

#f

Parameters

#f03c15 s


masto-field-verified-at

Summary

#f

Parameters

#f03c15 s


masto-field?

Summary

#f

Parameters

#f03c15 obj


masto-history-accounts

Summary

#f

Parameters

#f03c15 s


masto-history-day

Summary

#f

Parameters

#f03c15 s


masto-history-uses

Summary

#f

Parameters

#f03c15 s


masto-history?

Summary

#f

Parameters

#f03c15 obj


masto-mention-acct

Summary

#f

Parameters

#f03c15 s


masto-mention-id

Summary

#f

Parameters

#f03c15 s


masto-mention-url

Summary

#f

Parameters

#f03c15 s


masto-mention-username

Summary

#f

Parameters

#f03c15 s


masto-mention?

Summary

#f

Parameters

#f03c15 obj


masto-meta-focus

Summary

#f

Parameters

#f03c15 s


masto-meta-focus-x

Summary

#f

Parameters

#f03c15 s


masto-meta-focus-y

Summary

#f

Parameters

#f03c15 s


masto-meta-focus?

Summary

#f

Parameters

#f03c15 obj


masto-meta-original

Summary

#f

Parameters

#f03c15 s


masto-meta-small

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-aspect

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-bitrate

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-duration

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-frame-rate

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-height

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-size

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree-width

Summary

#f

Parameters

#f03c15 s


masto-meta-subtree?

Summary

#f

Parameters

#f03c15 obj


masto-meta?

Summary

#f

Parameters

#f03c15 obj


masto-page-next

Summary

#f

Parameters

#f03c15 mastoApp
#f03c15 page


masto-page-objects

Summary

#f

Parameters

#f03c15 s


masto-page-prev

Summary

#f

Parameters

#f03c15 mastoApp
#f03c15 page


masto-page?

Summary

#f

Parameters

#f03c15 obj


masto-poll-expired

Summary

#f

Parameters

#f03c15 s


masto-poll-expires-at

Summary

#f

Parameters

#f03c15 s


masto-poll-id

Summary

#f

Parameters

#f03c15 s


masto-poll-multiple

Summary

#f

Parameters

#f03c15 s


masto-poll-options

Summary

#f

Parameters

#f03c15 s


masto-poll-voted

Summary

#f

Parameters

#f03c15 s


masto-poll-votes-count

Summary

#f

Parameters

#f03c15 s


masto-poll?

Summary

#f

Parameters

#f03c15 obj


masto-status-account

Summary

#f

Parameters

#f03c15 s


masto-status-application

Summary

#f

Parameters

#f03c15 s


masto-status-card

Summary

#f

Parameters

#f03c15 s


masto-status-content

Summary

#f

Parameters

#f03c15 s


masto-status-created-at

Summary

#f

Parameters

#f03c15 s


masto-status-emojis

Summary

#f

Parameters

#f03c15 s


masto-status-favorited

Summary

#f

Parameters

#f03c15 s


masto-status-favorites-count

Summary

#f

Parameters

#f03c15 s


masto-status-id

Summary

#f

Parameters

#f03c15 s


masto-status-in-reply-to-account-id

Summary

#f

Parameters

#f03c15 s


masto-status-in-reply-to-id

Summary

#f

Parameters

#f03c15 s


masto-status-language

Summary

#f

Parameters

#f03c15 s


masto-status-media-attachments

Summary

#f

Parameters

#f03c15 s


masto-status-mentions

Summary

#f

Parameters

#f03c15 s


masto-status-muted

Summary

#f

Parameters

#f03c15 s


masto-status-pinned

Summary

#f

Parameters

#f03c15 s


masto-status-poll

Summary

#f

Parameters

#f03c15 s


masto-status-reblog-status

Summary

#f

Parameters

#f03c15 s


masto-status-reblogged

Summary

#f

Parameters

#f03c15 s


masto-status-reblogs-count

Summary

#f

Parameters

#f03c15 s


masto-status-replies-count

Summary

#f

Parameters

#f03c15 s


masto-status-sensitive

Summary

#f

Parameters

#f03c15 s


masto-status-spoiler-text

Summary

#f

Parameters

#f03c15 s


masto-status-tags

Summary

#f

Parameters

#f03c15 s


masto-status-uri

Summary

#f

Parameters

#f03c15 s


masto-status-url

Summary

#f

Parameters

#f03c15 s


masto-status-visibility

Summary

#f

Parameters

#f03c15 s


masto-status?

Summary

#f

Parameters

#f03c15 obj


masto-tag-history

Summary

#f

Parameters

#f03c15 s


masto-tag-name

Summary

#f

Parameters

#f03c15 s


masto-tag-url

Summary

#f

Parameters

#f03c15 s


masto-tag?

Summary

#f

Parameters

#f03c15 obj


masto-timelines-home

Summary

Retrieve the home timeline associated with the user tied to mastoApp.

If no limit value is provided, the value 20 is used.

If no local value is provided, the value #f is used.

A list of <mastodon-status>s are returned.

Find the original documentation here.

Parameters

#f03c15 mastoApp
#1589F0 #:maxID (argument position 2)
#1589F0 #:sinceID (argument position 3)
#1589F0 #:minID (argument position 4)
#1589F0 #:limit (argument position 5)
#1589F0 #:local (argument position 6)


masto-timelines-list

Summary

Retrieve the statuses in the given list that has the ID listID.

If no limit value is provided, the value 20 is used.

A list of <mastodon-status>s are returned.

Find the original documentation here.

Parameters

#f03c15 mastoApp
#f03c15 listID
#1589F0 #:maxID (argument position 3)
#1589F0 #:sinceID (argument position 4)
#1589F0 #:minID (argument position 5)
#1589F0 #:limit (argument position 6)


masto-timelines-public

Summary

Retrieve the public timeline associated with instance.

domainOrApp can be the instance domain as a String or a <mastodon-instance-application>, whose associated domain will be used instead.

If no local value is provided, the value #f is used.

If no remote value is provided, the value #f is used.

If no onlyMedia value is provided, the value #f is used.

If no limit value is provided, the value 20 is used.

A list of <mastodon-status>s are returned.

Find the original documentation here.

Parameters

#f03c15 domainOrApp
#1589F0 #:local (argument position 2)
#1589F0 #:remote (argument position 3)
#1589F0 #:onlyMedia (argument position 4)
#1589F0 #:maxID (argument position 5)
#1589F0 #:sinceID (argument position 6)
#1589F0 #:minID (argument position 7)
#1589F0 #:limit (argument position 8)


masto-timelines-tag

Summary

Retrieve public statuses containing the given hashtag.

domainOrApp can be the instance domain as a String or a <mastodon-instance-application>, whose associated domain will be used instead.

If no local value is provided, the value #f is used.

If no remote value is provided, the value #f is used.

If no onlyMedia value is provided, the value #f is used.

If no limit value is provided, the value 20 is used.

A list of <mastodon-status>s are returned.

Find the original documentation here.

Parameters

#f03c15 domainOrApp
#f03c15 hashtag
#1589F0 #:local (argument position 3)
#1589F0 #:onlyMedia (argument position 4)
#1589F0 #:maxID (argument position 5)
#1589F0 #:sinceID (argument position 6)
#1589F0 #:minID (argument position 7)
#1589F0 #:limit (argument position 8)