/api/v0/pin/remote/service/ls

List remote pinning services.

Arguments

  • stat [bool]: Try to fetch and display current pin count on remote service (queued/pinning/pinned/failed). Default: false. Required: no.

Response

On success, the call to this endpoint will return with 200 and the following body:

{
  "RemoteServices": [
    {
      "ApiEndpoint": "<string>",
      "Service": "<string>",
      "Stat": {
        "PinCount": {
          "Failed": "<int>",
          "Pinned": "<int>",
          "Pinning": "<int>",
          "Queued": "<int>"
        },
        "Status": "<string>"
      }
    }
  ]
}

cURL Example

curl -X POST "http://127.0.0.1:5001/api/v0/pin/remote/service/ls?stat=false"

Last updated