UNSOLVED

pragad

updated

9 years ago

P

pragad

7 Posts

0

1302

October 2nd, 2017 10:00

Changelist - How to get CL_FLAG information from OneFS API response

Hi, I am using EMC Changelist API to get changes that happened between two snapshots.

On the EMC box running Isilon OneFS v8.1.0.0, using "isi_changelist_mod -a change_list" I can see details of what changes happened to a file by looking at the CL_FLAG. https://www.emc.com/collateral/TechnicalDocument/docu84280.pdf Pg 280

However I am unable to find CL_FLAG information in the OneFS GET API response. OneFS GET API only has "type" that says the "type of file". Is there someway I can find what changes happened to a file from OneFS API response? Thanks for your help!

Here is the GET response schema:

GET response body schema:

{

  "type": [

    {

      "additionalProperties": false,

      "type": "object",

      "description": "A list of errors that may be returned.",

      "properties": {

        "errors": {

          "items": {

            "additionalProperties": false,

            "type": "object",

            "description": "An object describing a single error.",

            "properties": {

              "field": {

                "type": "string",

                "description": "The field with the error if applicable."

              },

              "message": {

                "type": "string",

                "description": "The error message."

              },

              "code": {

                "type": "string",

                "description": "The error code."

              }

            }

          },

          "type": "array"

        }

      }

    },

    {

      "type": "object",

      "properties": {

        "ctime": {

          "type": "object",

          "properties": {

            "sec": {

              "required": true,

              "type": "integer",

              "description": "Seconds component of timespec."

            },

            "nsec": {

              "required": false,

              "type": "integer",

              "description": "Nanoseconds component of timespec."

            }

          }

        },

        "mtime": {

          "type": "object",

          "properties": {

            "sec": {

              "required": true,

              "type": "integer",

              "description": "Seconds component of timespec."

            },

            "nsec": {

              "required": false,

              "type": "integer",

              "description": "Nanoseconds component of timespec."

            }

          }

        },

        "path": {

          "required": true,

          "type": "string",

          "description": "The path to the file associated with the entry."

        },

        "atime": {

          "type": "object",

          "properties": {

            "sec": {

              "required": true,

              "type": "integer",

              "description": "Seconds component of timespec."

            },

            "nsec": {

              "required": false,

              "type": "integer",

              "description": "Nanoseconds component of timespec."

            }

          }

        },

        "type": {

          "required": true,

          "type": "string",

          "description": "Type of file."

        },

        "id": {

          "required": true,

          "type": "string",

          "description": "The LIN number of the file associated with the entry."

        },

        "size": {

          "required": true,

          "type": "integer",

          "description": "The size of the file associated with the entry."

        }

      }

    }

  ]

}

No Responses