Merge #46
46: Make is_seed optional r=jowax a=jowax Co-authored-by: Joel Wachsler <JoelWachsler@users.noreply.github.com>
This commit is contained in:
commit
f0f0f35b6f
|
@ -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)
|
||||
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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`:",
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user