From 688eca6667f1a361974cf05d84923d43fbe22da0 Mon Sep 17 00:00:00 2001 From: rinsuki <428rinsuki+git@gmail.com> Date: Sun, 20 Jan 2019 17:41:37 +0900 Subject: [PATCH] Add implement version info for some APIs --- content/en/api/rest/apps.md | 2 +- content/en/api/rest/custom-emojis.md | 2 +- content/en/api/rest/domain-blocks.md | 6 +++--- content/en/api/rest/endorsements.md | 6 +++--- content/en/api/rest/filters.md | 10 +++++----- content/en/api/rest/follow-suggestions.md | 4 ++-- content/en/api/rest/lists.md | 18 +++++++++--------- content/en/api/rest/mutes.md | 4 ++-- content/en/api/rest/notifications.md | 8 ++++---- content/en/api/rest/reports.md | 2 +- content/en/api/rest/search.md | 2 +- content/en/api/rest/statuses.md | 4 ++-- content/en/api/rest/timelines.md | 2 +- 13 files changed, 35 insertions(+), 35 deletions(-) diff --git a/content/en/api/rest/apps.md b/content/en/api/rest/apps.md index b0558316..d35ea028 100644 --- a/content/en/api/rest/apps.md +++ b/content/en/api/rest/apps.md @@ -35,4 +35,4 @@ Returns [App]({{< relref "entities.md#app" >}}) ### Resource information -{{< api_method_info auth="Yes" user="No" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="No" version="2.0.0" >}} diff --git a/content/en/api/rest/custom-emojis.md b/content/en/api/rest/custom-emojis.md index 7d6cb36d..00d412c1 100644 --- a/content/en/api/rest/custom-emojis.md +++ b/content/en/api/rest/custom-emojis.md @@ -14,4 +14,4 @@ Returns array of [Emoji]({{< relref "entities.md#emoji" >}}) ### Resource information -{{< api_method_info auth="No" user="No" version="0.0.0" >}} +{{< api_method_info auth="No" user="No" version="2.0.0" >}} diff --git a/content/en/api/rest/domain-blocks.md b/content/en/api/rest/domain-blocks.md index 1d29d0dd..051dc6f8 100644 --- a/content/en/api/rest/domain-blocks.md +++ b/content/en/api/rest/domain-blocks.md @@ -14,7 +14,7 @@ Returns array of string. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:blocks follow" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:blocks follow" version="1.4.0" >}} ### Parameters @@ -32,7 +32,7 @@ Block a domain to hide all public posts from it, all notifications from it, and ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:blocks follow" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:blocks follow" version="1.4.0" >}} ### Parameters @@ -46,7 +46,7 @@ Remove a domain block. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:blocks follow" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:blocks follow" version="1.4.0" >}} ### Parameters diff --git a/content/en/api/rest/endorsements.md b/content/en/api/rest/endorsements.md index f289c3aa..6f317e0b 100644 --- a/content/en/api/rest/endorsements.md +++ b/content/en/api/rest/endorsements.md @@ -14,7 +14,7 @@ Returns array of [Account]({{< relref "entities.md#account" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:account" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:account" version="2.5.0" >}} ### Pagination @@ -28,7 +28,7 @@ Returns [Relationship]({{< relref "entities.md#relationship" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="2.5.0" >}} ## POST /api/v1/accounts/:id/unpin @@ -38,4 +38,4 @@ Returns [Relationship]({{< relref "entities.md#relationship" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="2.5.0" >}} diff --git a/content/en/api/rest/filters.md b/content/en/api/rest/filters.md index 43d6fba8..93f53706 100644 --- a/content/en/api/rest/filters.md +++ b/content/en/api/rest/filters.md @@ -14,7 +14,7 @@ Returns array of [Filter]({{< relref "entities.md#filter" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:filters" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:filters" version="2.4.3" >}} ## POST /api/v1/filters @@ -24,7 +24,7 @@ Returns [Filter]({{< relref "entities.md#filter" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="2.4.3" >}} ### Parameters @@ -44,7 +44,7 @@ Returns [Filter]({{< relref "entities.md#filter" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:filters" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:filters" version="2.4.3" >}} ## PUT /api/v1/filters/:id @@ -54,7 +54,7 @@ Returns [Filter]({{< relref "entities.md#filter" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="2.4.3" >}} ### Parameters @@ -72,4 +72,4 @@ Delete a text filter. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:filters" version="2.4.3" >}} diff --git a/content/en/api/rest/follow-suggestions.md b/content/en/api/rest/follow-suggestions.md index 8b484540..31479526 100644 --- a/content/en/api/rest/follow-suggestions.md +++ b/content/en/api/rest/follow-suggestions.md @@ -14,7 +14,7 @@ Returns array of [Account]({{< relref "entities.md#account" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read" version="2.4.3" >}} ## DELETE /api/v1/suggestions/:account_id @@ -22,4 +22,4 @@ Remove account from suggestions. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read" version="2.4.3" >}} diff --git a/content/en/api/rest/lists.md b/content/en/api/rest/lists.md index d48a4527..a4ffcce3 100644 --- a/content/en/api/rest/lists.md +++ b/content/en/api/rest/lists.md @@ -14,7 +14,7 @@ Returns array of [List]({{< relref "entities.md#list" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="2.1.0" >}} ## GET /api/v1/accounts/:id/lists @@ -24,7 +24,7 @@ Returns array of [List]({{< relref "entities.md#list" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="2.1.0" >}} ## GET /api/v1/lists/:id/accounts @@ -34,7 +34,7 @@ Returns array of [Account]({{< relref "entities.md#account" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="2.1.0" >}} ### Parameters @@ -54,7 +54,7 @@ Returns [List]({{< relref "entities.md#list" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:lists" version="2.1.0" >}} ## POST /api/v1/lists @@ -64,7 +64,7 @@ Returns [List]({{< relref "entities.md#list" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="2.1.0" >}} ### Parameters @@ -80,7 +80,7 @@ Returns [List]({{< relref "entities.md#list" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="2.1.0" >}} ### Parameters @@ -94,7 +94,7 @@ Remove a list. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="2.1.0" >}} ## POST /api/v1/lists/:id/accounts @@ -104,7 +104,7 @@ Add accounts to a list. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="2.1.0" >}} ### Parameters @@ -118,7 +118,7 @@ Remove accounts from a list. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:lists" version="2.1.0" >}} ### Parameters diff --git a/content/en/api/rest/mutes.md b/content/en/api/rest/mutes.md index 1b31b8b8..375c16af 100644 --- a/content/en/api/rest/mutes.md +++ b/content/en/api/rest/mutes.md @@ -60,7 +60,7 @@ Returns [Status]({{< relref "entities.md#status" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:mutes" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:mutes" version="1.4.2" >}} ## POST /api/v1/statuses/:id/unmute @@ -70,4 +70,4 @@ Returns [Status]({{< relref "entities.md#status" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:mutes" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:mutes" version="1.4.2" >}} diff --git a/content/en/api/rest/notifications.md b/content/en/api/rest/notifications.md index f70c5582..bf9e6109 100644 --- a/content/en/api/rest/notifications.md +++ b/content/en/api/rest/notifications.md @@ -70,7 +70,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="push" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="push" version="2.4.0" >}} ### Parameters @@ -90,7 +90,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="push" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="push" version="2.4.0" >}} ## PUT /api/v1/push/subscription @@ -100,7 +100,7 @@ Returns [Push Subscription]({{< relref "entities.md#push-subscription" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="push" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="push" version="2.4.0" >}} ### Parameters @@ -117,4 +117,4 @@ Remove the current Web Push API subscription. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="push" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="push" version="2.4.0" >}} diff --git a/content/en/api/rest/reports.md b/content/en/api/rest/reports.md index 7f4a670b..d741dff8 100644 --- a/content/en/api/rest/reports.md +++ b/content/en/api/rest/reports.md @@ -12,7 +12,7 @@ Report an account. ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:reports" version="1.1.0" >}} ### Parameters diff --git a/content/en/api/rest/search.md b/content/en/api/rest/search.md index 356b2241..78d7720f 100644 --- a/content/en/api/rest/search.md +++ b/content/en/api/rest/search.md @@ -14,7 +14,7 @@ Returns [Results]({{< relref "entities.md#results" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:search" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:search" version="2.4.1" >}} ### Parameters diff --git a/content/en/api/rest/statuses.md b/content/en/api/rest/statuses.md index 0e98726c..3a29339f 100644 --- a/content/en/api/rest/statuses.md +++ b/content/en/api/rest/statuses.md @@ -140,7 +140,7 @@ Returns [Status]({{< relref "entities.md#status" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="1.6.0" >}} ## POST /api/v1/statuses/:id/unpin @@ -150,4 +150,4 @@ Returns [Status]({{< relref "entities.md#status" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="write write:accounts" version="1.6.0" >}} diff --git a/content/en/api/rest/timelines.md b/content/en/api/rest/timelines.md index d397fddb..54257953 100644 --- a/content/en/api/rest/timelines.md +++ b/content/en/api/rest/timelines.md @@ -107,7 +107,7 @@ Returns array of [Status]({{< relref "entities.md#status" >}}) ### Resource information -{{< api_method_info auth="Yes" user="Yes" scope="read read:statuses" version="0.0.0" >}} +{{< api_method_info auth="Yes" user="Yes" scope="read read:statuses" version="2.1.0" >}} ### Parameters