Noob_NoVoice
Noob_NoVoice

Reputation: 217

"sequence_id" in Box.com Create Folder API call

In Box.com API document it is written that, if you will create a folder then you will get some response.

So I have gone through the response, and wondering what is "sequence_id" means in this block of of code.

"parent": {
        "type": "folder",
        "id": "0",
        "sequence_id": null,
        "etag": null,
        "name": "All Files"
    },

Regards

Upvotes: 1

Views: 452

Answers (1)

Peter
Peter

Reputation: 2599

The folder with id=0 is the users "root" folder. As such it isn't a real folder with an etag or a sequence_id. Every other folder at every other level will have a non-zero id, and will have a sequence_id and a non-null etag.

Upvotes: 2

Related Questions