v1

latestSwagger 2.02026-07-178567199.3 KB
retention policies

Retrieve all retention policies for a database

get/sources/{id}/dbs/{db}/rps

Path parameters

idstring required

ID of the data source

dbstring required

Name of the database

Response

Listing of all retention policies for a database

Example response

{
  "retentionPolicies": [
    {
      "name": "weekly",
      "duration": "7d",
      "replication": 1,
      "shardDuration": "7d",
      "default": true,
      "links": {
        "self": "/chronograf/v1/sources/1/dbs/NOAA_water_database/rps/liquid"
      }
    }
  ]
}