Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions annofabapi/generated_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,6 @@ def get_annotation_list(self, project_id: str, query_params: dict[str, Any] | No
query_params (dict[str, Any]): Query Parameters
page (int): 検索結果のうち、取得したいページの番号(1始まり)
limit (int): 1ページあたりの取得するデータ件数
aggregate_by_task_and_input (bool): `true`を指定すると、「タスクIDと入力データIDの組」ごとに検索結果を集計します。
no_aggregate_label_and_input (bool): `true`を指定すると、ラベルIDによるアノテーション検索数の集約結果、および属性IDによるアノテーション検索数の集約結果を取得しません。 このパラメーターを`true`に指定することで集約計算は行われなくなるので、アノテーションの検索が速くなる可能性があります。
query (str): 絞り込み条件([AnnotationQuery](#tag/x-data-types/AnnotationQuery))をJSON形式で表した文字列。
sort (str): ソート順の指定。 以下のキーを使用できます。 * `task_id` * `input_data_id` * `detail.annotation_id` * `detail.account_id` * `detail.label_id` * `detail.data_holding_type` * `detail.created_datetime` * `detail.updated_datetime` キーの先頭に`-`を付けると、降順でソートされます。 `,`でキーを区切ると、複数のキーでソートされます。先頭のキーから順に優先順位が割り振られます。
Expand Down Expand Up @@ -2034,7 +2033,7 @@ def get_project_inputs_url(self, project_id: str, **kwargs) -> tuple[Any, reques
authorizations: ProjectDataUser


入力データ全件ファイルにアクセスするための、認証済み一時URLを取得します。 取得したURLは1時間で失効し、アクセスできなくなります。 入力データ全件ファイルは、すべての入力データが記載されたJSONファイルです。SON構造は、[InputData](#tag/x-data-types/InputData)の配列です。 ただしInputData中のurlは常にnullです。 毎日AM02:00(JST)頃に更新されます。 [postProjectInputsUpdate](#operation/postProjectInputsUpdate) APIを利用すれば、手動で入力データ全件ファイルを更新できます。
入力データ全件ファイルにアクセスするための、認証済み一時URLを取得します。 取得したURLは1時間で失効し、アクセスできなくなります。 入力データ全件ファイルは、すべての入力データが記載されたJSONファイルです。JSON構造は、[InputData](#tag/x-data-types/InputData)の配列です。 ただしInputData中のurlは常にnullです。 毎日AM02:00(JST)頃に更新されます。 [postProjectInputsUpdate](#operation/postProjectInputsUpdate) APIを利用すれば、手動で入力データ全件ファイルを更新できます。

Args:
project_id (str): プロジェクトID (required)
Expand Down
2 changes: 1 addition & 1 deletion generate/partial-header/dataclass/annotation.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
TaskStatus,
)

AnnotationDataV1 = Union[str, dict[str, Any]]
AnnotationDataV1 = str | dict[str, Any]
FullAnnotationData = Any
AdditionalDataValue = dict[str, Any]
FullAnnotationAdditionalDataValue = dict[str, Any]
Expand Down
2 changes: 1 addition & 1 deletion generate/partial-header/dataclass/annotation_specs.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from annofabapi.models import AdditionalDataDefinitionType, AnnotationTypeFieldMinWarnRule

AdditionalDataDefaultType = Union[bool, int, str]
AdditionalDataDefaultType = bool | int | str

AdditionalDataRestrictionCondition = dict[str, Any]

Expand Down
2 changes: 1 addition & 1 deletion generate/swagger/swagger.v2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ info:

上記例 `account_id_count` は、タスクのフィールド `account_id` でタスクを分類したところ「`account_id` が `c5eee002` であるタスクが9件、`9f110e48` であるタスクが5件、`b25dfeb3` であるタスクが1件」だったという結果を表しています。

version: 0.206.0
version: 0.210.0
title: Annofab Web API
x-logo:
url: "https://annofab.com/resource/images/logo_landscape.png"
Expand Down
12 changes: 2 additions & 10 deletions generate/swagger/swagger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ info:
上記例 `account_id_count` は、タスクのフィールド `account_id` でタスクを分類したところ「`account_id` が `c5eee002` であるタスクが9件、`9f110e48` であるタスクが5件、`b25dfeb3` であるタスクが1件」だったという結果を表しています。
また、AggregationResultの集約の件数は、合計で10000件以下に制限されており、それを超える件数がある場合は上位10000件が取得されます。もし、省略された部分を取得したい場合は、検索条件を縛って結果に上る集約の数を減らしてください。

version: 0.206.0
version: 0.210.0
title: Annofab Web API
x-logo:
url: "https://annofab.com/resource/images/logo_landscape.png"
Expand Down Expand Up @@ -2094,7 +2094,7 @@ paths:
入力データ全件ファイルにアクセスするための、認証済み一時URLを取得します。
取得したURLは1時間で失効し、アクセスできなくなります。

入力データ全件ファイルは、すべての入力データが記載されたJSONファイルです。SON構造は、[InputData](#tag/x-data-types/InputData)の配列です。
入力データ全件ファイルは、すべての入力データが記載されたJSONファイルです。JSON構造は、[InputData](#tag/x-data-types/InputData)の配列です。
ただしInputData中のurlは常にnullです。

毎日AM02:00(JST)頃に更新されます。
Expand Down Expand Up @@ -4607,14 +4607,6 @@ paths:
minimum: 0
maximum: 200
default: 30
- name: aggregate_by_task_and_input
in: query
description: |
`true`を指定すると、「タスクIDと入力データIDの組」ごとに検索結果を集計します。
required: false
schema:
type: boolean
default: false
- name: no_aggregate_label_and_input
in: query
description: |
Expand Down
Loading