API/Python/Open-Source Solutions

Expand all | Collapse all

How to get a timestamp in list book marks

Jump to Best Answer
  • 1.  How to get a timestamp in list book marks

    Posted 05-12-2016 12:37:00 PM

    How to get a timestamp in list book mark API.

    GET /resources/json/delphix/jetstream/bookmark
       {
             "type": "NamedUserObject",
             "reference": "JS_BOOKMARK-20",
             "namespace": null,
             "name": "bookm1"
          }

    Is there any API to get the time stamp for a bookmark. Thanks in Advance.


    #DemoEnvironment


  • 2.  RE: How to get a timestamp in list book marks
    Best Answer

    Posted 05-12-2016 12:45:00 PM

    Operations

    === GET /resources/json/delphix/jetstream/bookmark/JS_BOOKMARK-2 ===

    === RESPONSE ===

    {

        "type": "OKResult",

        "status": "OK",

        "result": {

            "type": "JSBookmark",

            "reference": "JS_BOOKMARK-2",

            "namespace": null,

            "name": "Certified Masked - Tue May  3 12:56:05 EDT 2016",

            "branch": "JS_BRANCH-1",

            "timestamp": "2016-05-03T16:56:30.988Z",

            "description": null,

            "tags": [

                "SugarCRM",

                "Masked",

                "Validated"

            ],

            "shared": true,

            "container": null,

            "template": "JS_DATA_TEMPLATE-1",

            "containerName": null,

            "templateName": "Masked SugarCRM Application",

            "usable": true,

            "checkoutCount": 0,

            "bookmarkType": "DATA_TEMPLATE",

            "expiration": null,

            "creationTime": "2016-05-03T16:56:29.981Z"

        },

        "job": null,

        "action": null

    }

    === END ===



  • 3.  RE: How to get a timestamp in list book marks

    Posted 05-12-2016 01:21:00 PM

    === GET /resources/json/delphix/jetstream/bookmark ===

    === RESPONSE ===

    {

        "type": "ListResult",

        "status": "OK",

        "result": [

            {

                "type": "JSBookmark",

                "reference": "JS_BOOKMARK-2",

                "namespace": null,

                "name": "Certified Masked - Tue May  3 12:56:05 EDT 2016",

                "branch": "JS_BRANCH-1",

                "timestamp": "2016-05-03T16:56:30.988Z",

                "description": null,

                "tags": [

                    "SugarCRM",

                    "Masked",

                    "Validated"

                ],

                "shared": true,

                "container": null,

                "template": "JS_DATA_TEMPLATE-1",

                "containerName": null,

                "templateName": "Masked SugarCRM Application",

                "usable": true,

                "checkoutCount": 0,

                "bookmarkType": "DATA_TEMPLATE",

                "expiration": null,

                "creationTime": "2016-05-03T16:56:29.981Z"

            },

            {

                "type": "JSBookmark",

                "reference": "JS_BOOKMARK-3",

                "namespace": null,

                "name": "Initial Version 1.1",

                "branch": "JS_BRANCH-2",

                "timestamp": "2016-05-03T18:44:36.542Z",

                "description": null,

                "tags": [

                    "SugarCRM",

                    "Masked",

                    "Validated"

                ],

                "shared": false,

                "container": "JS_DATA_CONTAINER-1",

                "template": "JS_DATA_TEMPLATE-1",

                "containerName": "Sugar Dev Container",

                "templateName": "Masked SugarCRM Application",

                "usable": true,

                "checkoutCount": 0,

                "bookmarkType": "DATA_CONTAINER",

                "expiration": null,

                "creationTime": "2016-05-03T18:44:35.343Z"

            },

            {

                "type": "JSBookmark",

                "reference": "JS_BOOKMARK-4",

                "namespace": null,

                "name": "Initial Version 1.2",

                "branch": "JS_BRANCH-3",

                "timestamp": "2016-05-03T18:46:23.390Z",

                "description": null,

                "tags": [

                    "SugarCRM",

                    "Masked",

                    "Validated"

                ],

                "shared": false,

                "container": "JS_DATA_CONTAINER-1",

                "template": "JS_DATA_TEMPLATE-1",

                "containerName": "Sugar Dev Container",

                "templateName": "Masked SugarCRM Application",

                "usable": true,

                "checkoutCount": 0,

                "bookmarkType": "DATA_CONTAINER",

                "expiration": null,

                "creationTime": "2016-05-03T18:46:22.047Z"

            },

            {

                "type": "JSBookmark",

                "reference": "JS_BOOKMARK-1",

                "namespace": null,

                "name": "Initial Master",

                "branch": "JS_BRANCH-2",

                "timestamp": "2016-05-03T16:56:21.974Z",

                "description": null,

                "tags": [],

                "shared": false,

                "container": "JS_DATA_CONTAINER-1",

                "template": "JS_DATA_TEMPLATE-1",

                "containerName": "Sugar Dev Container",

                "templateName": "Masked SugarCRM Application",

                "usable": true,

                "checkoutCount": 2,

                "bookmarkType": "DATA_CONTAINER",

                "expiration": null,

                "creationTime": "2016-05-03T16:56:21.072Z"

            },

            {

                "type": "JSBookmark",

                "reference": "JS_BOOKMARK-5",

                "namespace": null,

                "name": "Initial Version 2.0",

                "branch": "JS_BRANCH-4",

                "timestamp": "2016-05-03T18:47:41.434Z",

                "description": null,

                "tags": [

                    "SugarCRM",

                    "Masked",

                    "Validated"

                ],

                "shared": false,

                "container": "JS_DATA_CONTAINER-1",

                "template": "JS_DATA_TEMPLATE-1",

                "containerName": "Sugar Dev Container",

                "templateName": "Masked SugarCRM Application",

                "usable": true,

                "checkoutCount": 0,

                "bookmarkType": "DATA_CONTAINER",

                "expiration": null,

                "creationTime": "2016-05-03T18:47:40.281Z"

            }

        ],

        "job": null,

        "action": null,

        "total": 5,

        "overflow": false

    }

    === END ===