46: Make is_seed optional r=jowax a=jowax



Co-authored-by: Joel Wachsler <JoelWachsler@users.noreply.github.com>
This commit is contained in:
bors[bot] 2022-08-05 19:35:55 +00:00 committed by GitHub
commit f0f0f35b6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 8 deletions

View File

@ -1660,7 +1660,7 @@ Property | Type | Description
`size` | integer | File size (bytes)
`progress` | float | File progress (percentage/100)
`priority` | integer | File priority. See possible values here below
`is_seed` | bool | True if file is seeding/complete
`is_seed` _optional_ | bool | True if file is seeding/complete
`piece_range` | integer array | The first number is the starting piece index and the second number is the ending piece index (inclusive)
`availability` | float | Percentage of file pieces currently available (percentage/100)

View File

@ -2994,7 +2994,7 @@
description: Some(
"True if file is seeding/complete",
),
is_optional: false,
is_optional: true,
is_list: false,
},
),
@ -3028,7 +3028,7 @@
ApiMethod {
name: "pieceStates",
description: Some(
"The response is a JSON array of `return_objects`;\n\n\nPossible values of `return_objects`:\n\n\nExample:\n\n```JSON\n[0,0,2,1,0,0,2,1]\n```",
"The response is a JSON array of `return_objects`;\n\nPossible values of `return_objects`:\n\n\nExample:\n\n```JSON\n[0,0,2,1,0,0,2,1]\n```",
),
url: "pieceStates",
types: CompositeTypes {

View File

@ -7962,9 +7962,9 @@ TokenTree {
],
},
TableRow {
raw: "`is_seed` | bool | True if file is seeding/complete",
raw: "`is_seed` _optional_ | bool | True if file is seeding/complete",
columns: [
"is_seed",
"is_seed _optional_",
"bool",
"True if file is seeding/complete",
],
@ -8194,9 +8194,6 @@ TokenTree {
Text(
"",
),
Text(
"",
),
Text(
"Possible values of `return_objects`:",
),