Response [200 Ok]

Uri /api/v2/node/ZjdkbK!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] - Canon EF 50mm f/1.0L
/api/v2/node/ZjdkbK

Uri /api/v2/node/ZjdkbK
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2016-08-17T12:31:01+00:00
DateModified 2016-10-16T13:44:43+00:00
Description All images uncropped.
EffectiveSecurityType None
HasChildren false
IsRoot false
Keywords
Array [4]
0 canon 50mmf1
1 bokeh
2 ultrafast
3 portrait
Name Canon EF 50mm f/1.0L
NodeID ZjdkbK
PasswordHint empty string
SecurityType None
ShowCoverImage false
SortDirection Descending
SortIndex 1471437061
SortMethod DateModified
Type Album
UrlName Canon-50mm-f1
UrlPath /Canon-50mm-f1
WebUri https://www.linyangchen.com/Canon-50mm-f1

Formatted Values

Name [html]

html Canon EF 50mm f/1.0L

Description [html, text]

html All images uncropped.
text All images uncropped.

Uris

Album
/api/v2/album/N2nLMv

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

HighlightImage
/api/v2/highlight/node/ZjdkbK

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

NodeComments
/api/v2/node/ZjdkbK!comments

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

NodeCoverImage
/api/v2/node/ZjdkbK!cover

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

ParentNode
/api/v2/node/ZjdkbK!parent

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

ParentNodes
/api/v2/node/ZjdkbK!parents

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

User
/api/v2/user/yangchen

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

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

Uri /api/v2/node/LhhMf
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2013-11-03T19:13:11+00:00
DateModified 2013-11-03T19:13:11+00:00
Description empty string
EffectiveSecurityType None
HasChildren true
IsRoot true
Keywords
Name empty string
NodeID LhhMf
PasswordHint empty string
SecurityType None
ShowCoverImage false
SortDirection Ascending
SortMethod SortIndex
Type Folder
UrlName empty string
UrlPath /
WebUri https://www.linyangchen.com

Formatted Values

Name [html]

html empty string

Description [html, text]

html empty string
text empty string

Uris

ChildNodes
/api/v2/node/LhhMf!children

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

FolderByID
/api/v2/folder/id/LhhMf

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

HighlightImage
/api/v2/highlight/node/LhhMf

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

NodeComments
/api/v2/node/LhhMf!comments

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

NodeCoverImage
/api/v2/node/LhhMf!cover

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

ParentNodes
/api/v2/node/LhhMf!parents

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

User
/api/v2/user/yangchen

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

Pages

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

Timing

Total

cycles 1
objects 0
time 0.03123

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/ZjdkbK!parents?start=1&count=7&_accept=text%2Fhtml"
    },
    "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": "ZjdkbK",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "parents"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/node/ZjdkbK!parents?start=1&count=7",
        "Locator": "Node",
        "LocatorType": "Objects",
        "Node": [
            {
                "Description": "All images uncropped.",
                "Name": "Canon EF 50mm f/1.0L",
                "Keywords": [
                    "canon 50mmf1",
                    "bokeh",
                    "ultrafast",
                    "portrait"
                ],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": false,
                "SortDirection": "Descending",
                "SortMethod": "DateModified",
                "Type": "Album",
                "UrlName": "Canon-50mm-f1",
                "DateAdded": "2016-08-17T12:31:01+00:00",
                "DateModified": "2016-10-16T13:44:43+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": "Canon EF 50mm f/1.0L"
                    },
                    "Description": {
                        "html": "All images uncropped.",
                        "text": "All images uncropped."
                    }
                },
                "HasChildren": false,
                "IsRoot": false,
                "NodeID": "ZjdkbK",
                "SortIndex": 1471437061,
                "UrlPath": "/Canon-50mm-f1",
                "Uri": "/api/v2/node/ZjdkbK",
                "WebUri": "https://www.linyangchen.com/Canon-50mm-f1",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "Album": {
                        "Uri": "/api/v2/album/N2nLMv",
                        "Locator": "Album",
                        "LocatorType": "Object",
                        "UriDescription": "Album by key",
                        "EndpointType": "Album"
                    },
                    "ParentNode": {
                        "Uri": "/api/v2/node/ZjdkbK!parent",
                        "Locator": "Node",
                        "LocatorType": "Object",
                        "UriDescription": "Parent node of the given node.",
                        "EndpointType": "ParentNode"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/ZjdkbK!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/yangchen",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/ZjdkbK!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/ZjdkbK",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/ZjdkbK!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": "2013-11-03T19:13:11+00:00",
                "DateModified": "2013-11-03T19:13:11+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": ""
                    },
                    "Description": {
                        "html": "",
                        "text": ""
                    }
                },
                "HasChildren": true,
                "IsRoot": true,
                "NodeID": "LhhMf",
                "UrlPath": "/",
                "Uri": "/api/v2/node/LhhMf",
                "WebUri": "https://www.linyangchen.com",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "FolderByID": {
                        "Uri": "/api/v2/folder/id/LhhMf",
                        "Locator": "Folder",
                        "LocatorType": "Object",
                        "UriDescription": "Get folder by its ID",
                        "EndpointType": "FolderByID"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/LhhMf!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/yangchen",
                        "Locator": "User",
                        "LocatorType": "Object",
                        "UriDescription": "User By Nickname",
                        "EndpointType": "User"
                    },
                    "NodeCoverImage": {
                        "Uri": "/api/v2/node/LhhMf!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/LhhMf",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/LhhMf!comments",
                        "Locator": "Comment",
                        "LocatorType": "Objects",
                        "UriDescription": "Comments on a Node",
                        "EndpointType": "NodeComments"
                    },
                    "ChildNodes": {
                        "Uri": "/api/v2/node/LhhMf!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/ZjdkbK!parents?start=1&count=7",
            "LastPage": "/api/v2/node/ZjdkbK!parents?start=1&count=7"
        },
        "Timing": {
            "Total": {
                "time": 0.03123,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}