Response [200 Ok]

Uri /api/v2/node/dn4BR4!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] - Sport
/api/v2/node/dn4BR4

Uri /api/v2/node/dn4BR4
UriDescription Node with the given id.
ResponseLevel Public
DateAdded 2020-10-15T23:35:23+00:00
DateModified 2020-10-15T23:35:23+00:00
Description Discovering myself.
EffectiveSecurityType None
HasChildren false
IsRoot false
Keywords
Name Sport
NodeID dn4BR4
PasswordHint empty string
SecurityType None
ShowCoverImage false
SortIndex 1602804923
Type Page
UrlName Sport
UrlPath /Sport
WebUri https://www.linyangchen.com/Sport

Formatted Values

Name [html]

html Sport

Description [html, text]

html Discovering myself.
text Discovering myself.

Uris

HighlightImage
/api/v2/highlight/node/dn4BR4

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

NodeComments
/api/v2/node/dn4BR4!comments

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

NodeCoverImage
/api/v2/node/dn4BR4!cover

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

Page
/api/v2/page/dn4BR4

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

ParentNode
/api/v2/node/dn4BR4!parent

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

ParentNodes
/api/v2/node/dn4BR4!parents

Uri /api/v2/node/dn4BR4!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/dn4BR4!parents?start=1&count=7
LastPage /api/v2/node/dn4BR4!parents?start=1&count=7
RequestedCount 7
Start 1
Total 2

Timing

Total

cycles 1
objects 0
time 0.03404

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/dn4BR4!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": "dn4BR4",
                "param_validator": {}
            },
            {
                "type": "action",
                "text": "parents"
            }
        ]
    },
    "Response": {
        "Uri": "/api/v2/node/dn4BR4!parents?start=1&count=7",
        "Locator": "Node",
        "LocatorType": "Objects",
        "Node": [
            {
                "Description": "Discovering myself.",
                "Name": "Sport",
                "Keywords": [],
                "PasswordHint": "",
                "SecurityType": "None",
                "ShowCoverImage": false,
                "Type": "Page",
                "UrlName": "Sport",
                "DateAdded": "2020-10-15T23:35:23+00:00",
                "DateModified": "2020-10-15T23:35:23+00:00",
                "EffectiveSecurityType": "None",
                "FormattedValues": {
                    "Name": {
                        "html": "Sport"
                    },
                    "Description": {
                        "html": "Discovering myself.",
                        "text": "Discovering myself."
                    }
                },
                "HasChildren": false,
                "IsRoot": false,
                "NodeID": "dn4BR4",
                "SortIndex": 1602804923,
                "UrlPath": "/Sport",
                "Uri": "/api/v2/node/dn4BR4",
                "WebUri": "https://www.linyangchen.com/Sport",
                "UriDescription": "Node with the given id.",
                "Uris": {
                    "Page": {
                        "Uri": "/api/v2/page/dn4BR4",
                        "Locator": "Page",
                        "LocatorType": "Object",
                        "UriDescription": "Page by ID",
                        "EndpointType": "Page"
                    },
                    "ParentNode": {
                        "Uri": "/api/v2/node/dn4BR4!parent",
                        "Locator": "Node",
                        "LocatorType": "Object",
                        "UriDescription": "Parent node of the given node.",
                        "EndpointType": "ParentNode"
                    },
                    "ParentNodes": {
                        "Uri": "/api/v2/node/dn4BR4!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/dn4BR4!cover",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Cover image for a folder, album, or page",
                        "EndpointType": "NodeCoverImage"
                    },
                    "HighlightImage": {
                        "Uri": "/api/v2/highlight/node/dn4BR4",
                        "Locator": "Image",
                        "LocatorType": "Object",
                        "UriDescription": "Highlight image for a folder, album, or page",
                        "EndpointType": "HighlightImage"
                    },
                    "NodeComments": {
                        "Uri": "/api/v2/node/dn4BR4!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/dn4BR4!parents?start=1&count=7",
            "LastPage": "/api/v2/node/dn4BR4!parents?start=1&count=7"
        },
        "Timing": {
            "Total": {
                "time": 0.03404,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}