SmugMug API - Hierarchy of nodes from the given node (inclusive) to the root node.

Response [200 Ok]

Uri /api/v2/node/JgMTN5!parents
UriDescription Hierarchy of nodes from the given node (inclusive) to the root node.
EndpointType ParentNodes
Locator Node
LocatorType Objects

Node [1 of 2] - browse
/api/v2/node/JgMTN5

Uri /api/v2/node/JgMTN5
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2016-06-09T09:42:34+00:00
DateModified 2016-06-09T09:42:34+00:00
Description empty string
EffectiveSecurityType None
HasChildren false
IsRoot false
Keywords
Name browse
NodeID JgMTN5
PasswordHint empty string
SecurityType None
ShowCoverImage false
SortIndex 2
Type System Page
UrlName browse
UrlPath /browse
WebUri https://www.alexanderbather.com/browse

Formatted Values

Name [html]

html browse

Description [html, text]

html empty string
text empty string

Uris

HighlightImage
/api/v2/highlight/node/JgMTN5

Uri /api/v2/highlight/node/JgMTN5
UriDescription Highlight image for a folder, album, or page
EndpointType HighlightImage
Locator Image
LocatorType Object

NodeComments
/api/v2/node/JgMTN5!comments

Uri /api/v2/node/JgMTN5!comments
UriDescription Comments on a Node
EndpointType NodeComments
Locator Comment
LocatorType Objects

NodeCoverImage
/api/v2/node/JgMTN5!cover

Uri /api/v2/node/JgMTN5!cover
UriDescription Cover image for a folder, album, or page
EndpointType NodeCoverImage
Locator Image
LocatorType Object

Page
/api/v2/page/JgMTN5

Uri /api/v2/page/JgMTN5
UriDescription Page by ID
EndpointType Page
Locator Page
LocatorType Object

ParentNode
/api/v2/node/JgMTN5!parent

Uri /api/v2/node/JgMTN5!parent
UriDescription Parent node of the given node.
EndpointType ParentNode
Locator Node
LocatorType Object

ParentNodes
/api/v2/node/JgMTN5!parents

Uri /api/v2/node/JgMTN5!parents
UriDescription Hierarchy of nodes from the given node (inclusive) to the root node.
EndpointType ParentNodes
Locator Node
LocatorType Objects

User
/api/v2/user/alexanderbather

Uri /api/v2/user/alexanderbather
UriDescription User By Nickname
EndpointType User
Locator User
LocatorType Object

Node [2 of 2]
/api/v2/node/35nGvM

Uri /api/v2/node/35nGvM
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2016-06-09T09:42:34+00:00
DateModified 2016-06-09T09:42:34+00:00
Description empty string
EffectiveSecurityType None
HasChildren true
IsRoot true
Keywords
Name empty string
NodeID 35nGvM
PasswordHint empty string
SecurityType None
ShowCoverImage false
SortDirection Ascending
SortMethod SortIndex
Type Folder
UrlName empty string
UrlPath /
WebUri https://www.alexanderbather.com

Formatted Values

Name [html]

html empty string

Description [html, text]

html empty string
text empty string

Uris

ChildNodes
/api/v2/node/35nGvM!children

Uri /api/v2/node/35nGvM!children
UriDescription Child nodes of the given node.
EndpointType ChildNodes
Locator Node
LocatorType Objects

FolderByID
/api/v2/folder/id/35nGvM

Uri /api/v2/folder/id/35nGvM
UriDescription Get folder by its ID
EndpointType FolderByID
Locator Folder
LocatorType Object

HighlightImage
/api/v2/highlight/node/35nGvM

Uri /api/v2/highlight/node/35nGvM
UriDescription Highlight image for a folder, album, or page
EndpointType HighlightImage
Locator Image
LocatorType Object

NodeComments
/api/v2/node/35nGvM!comments

Uri /api/v2/node/35nGvM!comments
UriDescription Comments on a Node
EndpointType NodeComments
Locator Comment
LocatorType Objects

NodeCoverImage
/api/v2/node/35nGvM!cover

Uri /api/v2/node/35nGvM!cover
UriDescription Cover image for a folder, album, or page
EndpointType NodeCoverImage
Locator Image
LocatorType Object

ParentNodes
/api/v2/node/35nGvM!parents

Uri /api/v2/node/35nGvM!parents
UriDescription Hierarchy of nodes from the given node (inclusive) to the root node.
EndpointType ParentNodes
Locator Node
LocatorType Objects

User
/api/v2/user/alexanderbather

Uri /api/v2/user/alexanderbather
UriDescription User By Nickname
EndpointType User
Locator User
LocatorType Object

Pages

Count 2
FirstPage /api/v2/node/JgMTN5!parents?start=1&count=7
LastPage /api/v2/node/JgMTN5!parents?start=1&count=7
RequestedCount 7
Start 1
Total 2

Timing

Total

cycles 1
objects 0
time 0.03009

Request

Uri /api/v2/node/JgMTN5!parents
Method GET
Version v2

Config

{
    "expand_method": "ref",
    "shorturis": false
}

Options

Path

  • /api
  • /v2
  • /node
  • /
  • !parents

Notes

  • _multiargs does not work at this endpoint

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/node/JgMTN5!parents"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Notes": [
            "_multiargs does not work at this endpoint"
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "node"
            },
            {
                "type": "singleparam",
                "param_name": "nodeid",
                "param_value": "JgMTN5"
            },
            {
                "type": "action",
                "text": "parents"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/node/JgMTN5!parents",
        "Locator": "Node",
        "LocatorType": "Objects",
        "Node": [
            {
                "Description": "",
                "Name": "browse",
                "Keywords": [],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": false,
                "Type": "System Page",
                "UrlName": "browse",
                "DateAdded": "2016-06-09T09:42:34+00:00",
                "DateModified": "2016-06-09T09:42:34+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": "browse"
                    },
                    "Description": {
                        "html": "",
                        "text": ""
                    }
                },
                "HasChildren": false,
                "IsRoot": false,
                "NodeID": "JgMTN5",
                "SortIndex": 2,
                "UrlPath": "/browse",
                "Uri": "/api/v2/node/JgMTN5",
                "WebUri": "https://www.alexanderbather.com/browse",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "Page": {
                        "Uri": "/api/v2/page/JgMTN5",
                        "Locator": "Page",
                        "LocatorType": "Object",
                        "UriDescription": "Page by ID",
                        "EndpointType": "Page"
                    },
                    "ParentNode": {
                        "Uri": "/api/v2/node/JgMTN5!parent",
                        "Locator": "Node",
                        "LocatorType": "Object",
                        "UriDescription": "Parent node of the given node.",
                        "EndpointType": "ParentNode"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/JgMTN5!parents",
                        "Locator": "Node",
                        "LocatorType": "Objects",
                        "UriDescription": "Hierarchy of nodes from the given node (inclusive) to the root node.",
                        "EndpointType": "ParentNodes"
                    },
                    "User": {
                        "Uri": "/api/v2/user/alexanderbather",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/JgMTN5!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/JgMTN5",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/JgMTN5!comments",
                        "Locator": "Comment",
                        "LocatorType": "Objects",
                        "UriDescription": "Comments on a Node",
                        "EndpointType": "NodeComments"
                    }
                },
                "ResponseLevel": "Public"
            },
            {
                "Description": "",
                "Name": "",
                "Keywords": [],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": false,
                "SortDirection": "Ascending",
                "SortMethod": "SortIndex",
                "Type": "Folder",
                "UrlName": "",
                "DateAdded": "2016-06-09T09:42:34+00:00",
                "DateModified": "2016-06-09T09:42:34+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": ""
                    },
                    "Description": {
                        "html": "",
                        "text": ""
                    }
                },
                "HasChildren": true,
                "IsRoot": true,
                "NodeID": "35nGvM",
                "UrlPath": "/",
                "Uri": "/api/v2/node/35nGvM",
                "WebUri": "https://www.alexanderbather.com",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "FolderByID": {
                        "Uri": "/api/v2/folder/id/35nGvM",
                        "Locator": "Folder",
                        "LocatorType": "Object",
                        "UriDescription": "Get folder by its ID",
                        "EndpointType": "FolderByID"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/35nGvM!parents",
                        "Locator": "Node",
                        "LocatorType": "Objects",
                        "UriDescription": "Hierarchy of nodes from the given node (inclusive) to the root node.",
                        "EndpointType": "ParentNodes"
                    },
                    "User": {
                        "Uri": "/api/v2/user/alexanderbather",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/35nGvM!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/35nGvM",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/35nGvM!comments",
                        "Locator": "Comment",
                        "LocatorType": "Objects",
                        "UriDescription": "Comments on a Node",
                        "EndpointType": "NodeComments"
                    },
                    "ChildNodes": {
                        "Uri": "/api/v2/node/35nGvM!children",
                        "Locator": "Node",
                        "LocatorType": "Objects",
                        "UriDescription": "Child nodes of the given node.",
                        "EndpointType": "ChildNodes"
                    }
                },
                "ResponseLevel": "Public"
            }
        ],
        "UriDescription": "Hierarchy of nodes from the given node (inclusive) to the root node.",
        "EndpointType": "ParentNodes",
        "Pages": {
            "Total": 2,
            "Start": 1,
            "Count": 2,
            "RequestedCount": 7,
            "FirstPage": "/api/v2/node/JgMTN5!parents?start=1\u0026count=7",
            "LastPage": "/api/v2/node/JgMTN5!parents?start=1\u0026count=7"
        },
        "Timing": {
            "Total": {
                "time": 0.03009,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}