Pulsarr

Get Sonarr root folders

GET
/v1/sonarr/root-folders

Retrieve root folders from a Sonarr instance

Authorization

headerX-API-Key<token>

API key authentication using X-API-Key header

Query Parameters

instanceId*integer
Range0 < value <= 9007199254740991

Response Body

Default Response

application/json
  1. response

Root folders read from a saved Radarr or Sonarr instance

success*boolean
instance*

The Radarr or Sonarr instance a lookup ran against

rootFolders*array<>
Example Request
curl -X GET 'http://localhost:3003/v1/sonarr/root-folders?instanceId=1'
Example Response
{  "success": true,  "instance": {    "id": 1,    "name": "string",    "baseUrl": "string"  },  "rootFolders": [    {      "id": 0,      "path": "string",      "property1": null,      "property2": null    }  ]}