Endpoint

/v1/file-system/settings/atime

GET

Get atime-related settings.

Parameters

This resource has no parameters.

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "atime_config",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether atime update is enabled",
      "type": "boolean"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK"
      ],
      "description": "Granularity for atime updates (HOUR/DAY/WEEEK):\n * `DAY` - ATIME_GRANULARITY_DAY,\n * `HOUR` - ATIME_GRANULARITY_HOUR,\n * `WEEK` - ATIME_GRANULARITY_WEEK"
    }
  }
}

PUT

Set atime-related settings.

Parameters

Name Description Required
If-Match ETag for expected version No

Request

Schema

{
  "description": "atime_config",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether atime update is enabled",
      "type": "boolean"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK"
      ],
      "description": "Granularity for atime updates (HOUR/DAY/WEEEK):\n * `DAY` - ATIME_GRANULARITY_DAY,\n * `HOUR` - ATIME_GRANULARITY_HOUR,\n * `WEEK` - ATIME_GRANULARITY_WEEK"
    }
  }
}

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "atime_config",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether atime update is enabled",
      "type": "boolean"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK"
      ],
      "description": "Granularity for atime updates (HOUR/DAY/WEEEK):\n * `DAY` - ATIME_GRANULARITY_DAY,\n * `HOUR` - ATIME_GRANULARITY_HOUR,\n * `WEEK` - ATIME_GRANULARITY_WEEK"
    }
  }
}

PATCH

Update atime-related settings.

Parameters

Name Description Required
If-Match ETag for expected version No

Request

Schema

{
  "description": "atime_config_patch",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether atime update is enabled",
      "type": "boolean"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK"
      ],
      "description": "Granularity for atime updates (HOUR/DAY/WEEEK):\n * `DAY` - ATIME_GRANULARITY_DAY,\n * `HOUR` - ATIME_GRANULARITY_HOUR,\n * `WEEK` - ATIME_GRANULARITY_WEEK"
    }
  }
}

Response

Codes

Code Description
200 Return value on success

Schema

{
  "description": "atime_config",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether atime update is enabled",
      "type": "boolean"
    },
    "granularity": {
      "type": "string",
      "enum": [
        "HOUR",
        "DAY",
        "WEEK"
      ],
      "description": "Granularity for atime updates (HOUR/DAY/WEEEK):\n * `DAY` - ATIME_GRANULARITY_DAY,\n * `HOUR` - ATIME_GRANULARITY_HOUR,\n * `WEEK` - ATIME_GRANULARITY_WEEK"
    }
  }
}