Response [200 Ok]

Uri /api/v2/node/gpRNsd!parents?start=1&count=7
UriDescription Hierarchy of nodes from the given node (inclusive) to the root node.
EndpointType ParentNodes
Locator Node
LocatorType Objects

Node [1 of 2] - 20060630 Summer Camp 2006
/api/v2/node/gpRNsd

Uri /api/v2/node/gpRNsd
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2019-04-09T10:57:21+00:00
DateModified 2019-04-09T10:57:21+00:00
Description empty string
EffectiveSecurityType None
HasChildren false
IsRoot false
Keywords
Name 20060630 Summer Camp 2006
NodeID gpRNsd
PasswordHint empty string
SecurityType None
ShowCoverImage true
SortDirection Descending
SortIndex 30
SortMethod DateModified
Type Album
UrlName 20060630-Summer-Camp-2006
UrlPath /20060630-Summer-Camp-2006
WebUri https://troop281.smugmug.com/20060630-Summer-Camp-2006

Formatted Values

Name [html]

html 20060630 Summer Camp 2006

Description [html, text]

html empty string
text empty string

Uris

Album
/api/v2/album/4mLsKn

Uri /api/v2/album/4mLsKn
UriDescription Album by key
EndpointType Album
Locator Album
LocatorType Object

HighlightImage
/api/v2/highlight/node/gpRNsd

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

NodeComments
/api/v2/node/gpRNsd!comments

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

NodeCoverImage
/api/v2/node/gpRNsd!cover

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

ParentNode
/api/v2/node/gpRNsd!parent

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

ParentNodes
/api/v2/node/gpRNsd!parents

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

User
/api/v2/user/troop281

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

Node [2 of 2]
/api/v2/node/XhHJSS

Uri /api/v2/node/XhHJSS
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2019-04-04T23:40:14+00:00
DateModified 2019-04-04T23:40:14+00:00
Description empty string
EffectiveSecurityType None
HasChildren true
IsRoot true
Keywords
Name empty string
NodeID XhHJSS
PasswordHint empty string
SecurityType None
ShowCoverImage true
SortDirection Descending
SortMethod SortIndex
Type Folder
UrlName empty string
UrlPath /
WebUri https://troop281.smugmug.com

Formatted Values

Name [html]

html empty string

Description [html, text]

html empty string
text empty string

Uris

ChildNodes
/api/v2/node/XhHJSS!children

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

FolderByID
/api/v2/folder/id/XhHJSS

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

HighlightImage
/api/v2/highlight/node/XhHJSS

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

NodeComments
/api/v2/node/XhHJSS!comments

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

NodeCoverImage
/api/v2/node/XhHJSS!cover

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

ParentNodes
/api/v2/node/XhHJSS!parents

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

User
/api/v2/user/troop281

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

Pages

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

Timing

Total

cycles 1
objects 0
time 0.03685

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/gpRNsd!parents?start=1&count=7"
    },
    "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": "gpRNsd",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "parents"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/node/gpRNsd!parents?start=1&count=7",
        "Locator": "Node",
        "LocatorType": "Objects",
        "Node": [
            {
                "Description": "",
                "Name": "20060630 Summer Camp 2006",
                "Keywords": [],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": true,
                "SortDirection": "Descending",
                "SortMethod": "DateModified",
                "Type": "Album",
                "UrlName": "20060630-Summer-Camp-2006",
                "DateAdded": "2019-04-09T10:57:21+00:00",
                "DateModified": "2019-04-09T10:57:21+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": "20060630 Summer Camp 2006"
                    },
                    "Description": {
                        "html": "",
                        "text": ""
                    }
                },
                "HasChildren": false,
                "IsRoot": false,
                "NodeID": "gpRNsd",
                "SortIndex": 30,
                "UrlPath": "/20060630-Summer-Camp-2006",
                "Uri": "/api/v2/node/gpRNsd",
                "WebUri": "https://troop281.smugmug.com/20060630-Summer-Camp-2006",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "Album": {
                        "Uri": "/api/v2/album/4mLsKn",
                        "Locator": "Album",
                        "LocatorType": "Object",
                        "UriDescription": "Album by key",
                        "EndpointType": "Album"
                    },
                    "ParentNode": {
                        "Uri": "/api/v2/node/gpRNsd!parent",
                        "Locator": "Node",
                        "LocatorType": "Object",
                        "UriDescription": "Parent node of the given node.",
                        "EndpointType": "ParentNode"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/gpRNsd!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/troop281",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/gpRNsd!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/gpRNsd",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/gpRNsd!comments",
                        "Locator": "Comment",
                        "LocatorType": "Objects",
                        "UriDescription": "Comments on a Node",
                        "EndpointType": "NodeComments"
                    }
                },
                "ResponseLevel": "Public"
            },
            {
                "Description": "",
                "Name": "",
                "Keywords": [],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": true,
                "SortDirection": "Descending",
                "SortMethod": "SortIndex",
                "Type": "Folder",
                "UrlName": "",
                "DateAdded": "2019-04-04T23:40:14+00:00",
                "DateModified": "2019-04-04T23:40:14+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": ""
                    },
                    "Description": {
                        "html": "",
                        "text": ""
                    }
                },
                "HasChildren": true,
                "IsRoot": true,
                "NodeID": "XhHJSS",
                "UrlPath": "/",
                "Uri": "/api/v2/node/XhHJSS",
                "WebUri": "https://troop281.smugmug.com",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "FolderByID": {
                        "Uri": "/api/v2/folder/id/XhHJSS",
                        "Locator": "Folder",
                        "LocatorType": "Object",
                        "UriDescription": "Get folder by its ID",
                        "EndpointType": "FolderByID"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/XhHJSS!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/troop281",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/XhHJSS!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/XhHJSS",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/XhHJSS!comments",
                        "Locator": "Comment",
                        "LocatorType": "Objects",
                        "UriDescription": "Comments on a Node",
                        "EndpointType": "NodeComments"
                    },
                    "ChildNodes": {
                        "Uri": "/api/v2/node/XhHJSS!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/gpRNsd!parents?start=1&count=7",
            "LastPage": "/api/v2/node/gpRNsd!parents?start=1&count=7"
        },
        "Timing": {
            "Total": {
                "time": 0.03685,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}