Opened 7 years ago

#5806 new Enhancement

RPC specification - Getting only some fields from an array

Reported by: AlmightyDragon Owned by: jordan
Priority: Low Milestone: None Set
Component: libtransmission Version: 2.84
Severity: Normal Keywords:
Cc:

Description

Sorry, but I don't know if this is currently possible with the current RPC specification:

I would like to get only the field "seederCount" of the array "trackerStats" when I perform a torrent-get request.

It could look this:

{

"arguments": {

"fields": [

"id", "name", "totalSize", {

"trackerStats": [

"seederCount"

]

}

], "ids": [

7, 10

]

}, "method": "torrent-get", "tag": 39693

}

Change History (0)

Note: See TracTickets for help on using tickets.