From bec582ecab22f7da8e071138025920e8eb438024 Mon Sep 17 00:00:00 2001 From: Alex Thomassen Date: Wed, 27 Oct 2021 18:43:36 +0200 Subject: [PATCH] [Twitch] Accountage/Creation - Document caching and side effects --- public/static/yaml/endpoints/twitch.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/public/static/yaml/endpoints/twitch.yaml b/public/static/yaml/endpoints/twitch.yaml index 4bbf1ef..bfa7d30 100644 --- a/public/static/yaml/endpoints/twitch.yaml +++ b/public/static/yaml/endpoints/twitch.yaml @@ -13,6 +13,7 @@ endpoints: description: 'How precise the timestamp should be in terms of years, months, weeks, days, hours, minutes & seconds.- Default: 2.' notes: - 'Retrieves the account age of the specified user.' + - 'Creation date (from which the accountage is calculated from) is cached for up to 6 hours, which may inaccuracies in certain situations (account suspensions/disabling, username changes etc.)' - route: "avatar/:user" parameters: - name: ':user' @@ -27,6 +28,7 @@ endpoints: description: "The name of the user." notes: - Retrieves the creation date/time of the specified user. + - 'Creation date (from which the accountage is calculated from) is cached for up to 6 hours, which may inaccuracies in certain situations (account suspensions/disabling, username changes etc.)' qs: - name: "format" description: @@ -299,9 +301,7 @@ endpoints: - name: "text" description: 'If this is specified, the list will be returned in plaintext compared to a JSON array.' - name: "implode" - description: 'Works similarly to text.
- Specify the text that should separate each team member in a plaintext response. This is an alternative to having a list of members separated by a newline.
- If this is specified, specifying the text query string is not necessary as that will already be implied.' + description: 'Works similarly to text.
Specify the text that should separate each team member in a plaintext response. This is an alternative to having a list of members separated by a newline.
If this is specified, specifying the text query string is not necessary as that will already be implied.' notes: - 'Retrieves the members of a specified team.' - 'The team identifier is the identifier used in URLs. Example: The team "New Game Plus" has the identifier "newgameplus".'