Document 2.9.2 instance dict changes
This commit is contained in:
pare
09012b690f
commit
5f425d3786
S'han modificat 3 arxius amb 6 adicions i 3 eliminacions
|
@ -4,6 +4,7 @@ version number. Breaking changes will be indicated by a change in the minor
|
||||||
|
|
||||||
v1.4.4
|
v1.4.4
|
||||||
------
|
------
|
||||||
|
* Added support for moderation API (Thanks Gargron for the clarifications and dotUser for helping with testing)
|
||||||
* Made status_delete return the deleted status (With "source" attribute)
|
* Made status_delete return the deleted status (With "source" attribute)
|
||||||
* Added account_id parameter to notifications
|
* Added account_id parameter to notifications
|
||||||
* Added streaming_health
|
* Added streaming_health
|
||||||
|
|
|
@ -634,6 +634,7 @@ Instance dicts
|
||||||
# Returns the following dictionary
|
# Returns the following dictionary
|
||||||
{
|
{
|
||||||
'description': # A brief instance description set by the admin
|
'description': # A brief instance description set by the admin
|
||||||
|
'short_description': # An even briefer instance description
|
||||||
'email': # The admin contact e-mail
|
'email': # The admin contact e-mail
|
||||||
'title': # The instances title
|
'title': # The instances title
|
||||||
'uri': # The instances URL
|
'uri': # The instances URL
|
||||||
|
@ -643,11 +644,12 @@ Instance dicts
|
||||||
'stats: # A dictionary containing three stats, user_count (number of local users),
|
'stats: # A dictionary containing three stats, user_count (number of local users),
|
||||||
# status_count (number of local statuses) and domain_count (number of known
|
# status_count (number of local statuses) and domain_count (number of known
|
||||||
# instance domains other than this one).
|
# instance domains other than this one).
|
||||||
'contact_account': # Account dict of the primary contact for the instance.
|
'contact_account': # Account dict of the primary contact for the instance
|
||||||
'languages': # Array of ISO 639-1 (two-letter) language codes the instance
|
'languages': # Array of ISO 639-1 (two-letter) language codes the instance
|
||||||
# has chosen to advertise.
|
# has chosen to advertise.
|
||||||
'registrations': # Boolean indication whether registrations on this instance are open
|
'registrations': # Boolean indication whether registrations on this instance are open
|
||||||
# (True) or not (False).
|
# (True) or not (False)
|
||||||
|
'approval_required': # True if account approval is required when registering
|
||||||
}
|
}
|
||||||
|
|
||||||
Activity dicts
|
Activity dicts
|
||||||
|
|
|
@ -190,7 +190,7 @@ class Mastodon:
|
||||||
__DICT_VERSION_POLL = "2.8.0"
|
__DICT_VERSION_POLL = "2.8.0"
|
||||||
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1",
|
__DICT_VERSION_STATUS = bigger_version(bigger_version(bigger_version(bigger_version(bigger_version("2.9.1",
|
||||||
__DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
|
__DICT_VERSION_MEDIA), __DICT_VERSION_ACCOUNT), __DICT_VERSION_APPLICATION), __DICT_VERSION_MENTION), __DICT_VERSION_POLL)
|
||||||
__DICT_VERSION_INSTANCE = bigger_version("2.7.2", __DICT_VERSION_ACCOUNT)
|
__DICT_VERSION_INSTANCE = bigger_version("2.9.2", __DICT_VERSION_ACCOUNT)
|
||||||
__DICT_VERSION_HASHTAG = "2.3.4"
|
__DICT_VERSION_HASHTAG = "2.3.4"
|
||||||
__DICT_VERSION_EMOJI = "2.1.0"
|
__DICT_VERSION_EMOJI = "2.1.0"
|
||||||
__DICT_VERSION_RELATIONSHIP = "2.5.0"
|
__DICT_VERSION_RELATIONSHIP = "2.5.0"
|
||||||
|
|
Loading…
Referencia en una nova incidència