Response [200 Ok]

Uri /api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015
UriDescription A folder or legacy (sub)category by UrlPath
EndpointType Folder
Locator Folder
LocatorType Object

Folder [1 of 1] - Day 2 - August 7, 2015
/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015

Uri /api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015
UriDescription A folder or legacy (sub)category by UrlPath
ResponseLevel Public
DateAdded 2015-08-24T02:40:58+00:00
DateModified 2015-08-26T06:08:08+00:00
Description empty string
IsEmpty false
Keywords empty string
Name Day 2 - August 7, 2015
NodeID 7ZFDXq
PasswordHint empty string
SecurityType None
SortDirection Ascending
SortMethod SortIndex
UrlName Day-2-August-7-2015
UrlPath /Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015
WebUri https://photos.usasean.org/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015

Uris

FolderByID
/api/v2/folder/id/7ZFDXq

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

HighlightImage
/api/v2/highlight/node/7ZFDXq

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

Node
/api/v2/node/7ZFDXq

Uri /api/v2/node/7ZFDXq
UriDescription Node with the given id.
EndpointType Node
Locator Node
LocatorType Object

ParentFolders
/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission!parents

Uri /api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission!parents
UriDescription The sequence of parent folders, from the given folder to the root
EndpointType ParentFolders
Locator Folder
LocatorType Objects

User
/api/v2/user/US-ASEAN

Uri /api/v2/user/US-ASEAN
UriDescription User By Nickname
EndpointType User
Locator User
LocatorType Object

Timing

Total

cycles 1
objects 0
time 0.03057

Config

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

Options

Path

  • /api
  • /v2
  • /folder
  • /user
  • /
  • /

Notes

  • FolderHighlightImage is deprecated, use HighlightImage instead

Methods

OPTIONS

Permissions
  • Read

GET

Permissions
  • Read

PATCH

Permissions
  • Modify

DELETE

Permissions
  • Modify

Parameters

GET

Output Fields

DateAdded datetimeiso8601
DateModified datetimeiso8601
Description text
HighlightImageUri uri
IsEmpty boolean Whether this folder contains any albums, folders, or pages.
Keywords text
Name text
NodeID text
Password text
PasswordHint text
Privacy select
  • Public
  • Unlisted
  • Private
SecurityType select
  • None
  • Password
  • GrantAccess
SmugSearchable select
  • No
  • Local
  • LocalUser
  • Yes
  • Inherit from User
SortDirection select
  • Ascending
  • Descending
SortMethod select
  • SortIndex
  • Name
  • DateAdded
  • DateModified
UrlName text
UrlPath text
WorldSearchable select
  • No
  • HomeOnly
  • Yes
  • Inherit from User

JSON

{
    "Request": {
        "Version": "v2",
        "Method": "GET",
        "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015"
    },
    "Options": {
        "MethodDetails": {
            "OPTIONS": {
                "Permissions": [
                    "Read"
                ]
            },
            "GET": {
                "Permissions": [
                    "Read"
                ]
            },
            "PATCH": {
                "Permissions": [
                    "Modify"
                ]
            },
            "DELETE": {
                "Permissions": [
                    "Modify"
                ]
            }
        },
        "Methods": [
            "OPTIONS",
            "GET"
        ],
        "ParameterDescription": {
            "Varchar": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)"
        },
        "Parameters": {
            "GET": [
                {
                    "Name": "FolderID",
                    "Required": false,
                    "ReadOnly": false,
                    "Default": "",
                    "Type": "Varchar",
                    "MIN_CHARS": 5,
                    "MAX_CHARS": "INFINITY"
                }
            ]
        },
        "MediaTypes": [
            "application/json",
            "application/vnd.php.serialized",
            "application/x-msgpack",
            "text/html",
            "text/csv"
        ],
        "Output": [
            {
                "Name": "Name",
                "Type": "Varchar",
                "MIN_CHARS": 1,
                "MAX_CHARS": 254
            },
            {
                "Name": "UrlName",
                "Type": "Varchar",
                "MIN_CHARS": 1,
                "MAX_CHARS": 32
            },
            {
                "Name": "SecurityType",
                "Type": "Select",
                "OPTIONS": [
                    "None",
                    "Password",
                    "GrantAccess"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "SortMethod",
                "Type": "Select",
                "OPTIONS": [
                    "SortIndex",
                    "Name",
                    "DateAdded",
                    "DateModified"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "SortDirection",
                "Type": "Select",
                "OPTIONS": [
                    "Ascending",
                    "Descending"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "Description",
                "Type": "Text",
                "MIN_CHARS": 0,
                "MAX_CHARS": 65535
            },
            {
                "Name": "Keywords",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 255
            },
            {
                "Name": "Password",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 50
            },
            {
                "Name": "PasswordHint",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": 255
            },
            {
                "Name": "Privacy",
                "Type": "Select",
                "OPTIONS": [
                    "Public",
                    "Unlisted",
                    "Private"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "SmugSearchable",
                "Type": "Select",
                "OPTIONS": [
                    "No",
                    "Local",
                    "LocalUser",
                    "Yes",
                    "Inherit from User"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "WorldSearchable",
                "Type": "Select",
                "OPTIONS": [
                    "No",
                    "HomeOnly",
                    "Yes",
                    "Inherit from User"
                ],
                "MIN_COUNT": 1,
                "MAX_COUNT": 1
            },
            {
                "Name": "HighlightImageUri",
                "Type": "Uri",
                "MAX_LENGTH": "INFINITY",
                "Locator": [
                    "Image"
                ]
            },
            {
                "Name": "DateAdded",
                "Type": "DateTimeISO8601"
            },
            {
                "Name": "DateModified",
                "Type": "DateTimeISO8601"
            },
            {
                "Name": "UrlPath",
                "Type": "Varchar",
                "MIN_CHARS": 0,
                "MAX_CHARS": "INFINITY"
            },
            {
                "Name": "NodeID",
                "Type": "Varchar",
                "MIN_CHARS": 1,
                "MAX_CHARS": "INFINITY"
            },
            {
                "Name": "IsEmpty",
                "Description": "Whether this folder contains any albums, folders, or pages.",
                "Type": "Boolean"
            }
        ],
        "Notes": [
            "FolderHighlightImage is deprecated, use HighlightImage instead"
        ],
        "ResponseLevels": [
            "Full",
            "Public",
            "Password",
            "GrantAccess"
        ],
        "Path": [
            {
                "type": "path",
                "text": "api"
            },
            {
                "type": "path",
                "text": "v2"
            },
            {
                "type": "path",
                "text": "folder"
            },
            {
                "type": "path",
                "text": "user"
            },
            {
                "type": "singleparam",
                "param_name": "nickname",
                "param_value": "US-ASEAN",
                "param_validator": {}
            },
            {
                "type": "multipleparam",
                "param_name": "folder",
                "param_value": [
                    "Business-Missions",
                    "2015",
                    "Thailand-Business-Mission",
                    "Day-2-August-7-2015"
                ],
                "param_validator": {}
            }
        ],
        "Deprecated": {
            "Alternative": "/api/v2/node/:nodeid"
        }
    },
    "Response": {
        "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015",
        "Locator": "Folder",
        "LocatorType": "Object",
        "Folder": {
            "Name": "Day 2 - August 7, 2015",
            "UrlName": "Day-2-August-7-2015",
            "SecurityType": "None",
            "SortMethod": "SortIndex",
            "SortDirection": "Ascending",
            "Description": "",
            "Keywords": "",
            "PasswordHint": "",
            "DateAdded": "2015-08-24T02:40:58+00:00",
            "DateModified": "2015-08-26T06:08:08+00:00",
            "UrlPath": "/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015",
            "NodeID": "7ZFDXq",
            "IsEmpty": false,
            "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015",
            "WebUri": "https://photos.usasean.org/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015",
            "UriDescription": "A folder or legacy (sub)category by UrlPath",
            "Uris": {
                "FolderByID": {
                    "Uri": "/api/v2/folder/id/7ZFDXq",
                    "Locator": "Folder",
                    "LocatorType": "Object",
                    "UriDescription": "Get folder by its ID",
                    "EndpointType": "FolderByID"
                },
                "Node": {
                    "Uri": "/api/v2/node/7ZFDXq",
                    "Locator": "Node",
                    "LocatorType": "Object",
                    "UriDescription": "Node with the given id.",
                    "EndpointType": "Node"
                },
                "User": {
                    "Uri": "/api/v2/user/US-ASEAN",
                    "Locator": "User",
                    "LocatorType": "Object",
                    "UriDescription": "User By Nickname",
                    "EndpointType": "User"
                },
                "ParentFolders": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission!parents",
                    "Locator": "Folder",
                    "LocatorType": "Objects",
                    "UriDescription": "The sequence of parent folders, from the given folder to the root",
                    "EndpointType": "ParentFolders"
                },
                "ParentFolder": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!parent",
                    "Locator": "Folder",
                    "LocatorType": "Object",
                    "UriDescription": "Parent folder",
                    "EndpointType": "ParentFolder"
                },
                "HighlightImage": {
                    "Uri": "/api/v2/highlight/node/7ZFDXq",
                    "Locator": "Image",
                    "LocatorType": "Object",
                    "UriDescription": "Highlight image for a folder, album, or page",
                    "EndpointType": "HighlightImage"
                },
                "FolderHighlightImage": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!highlightimage",
                    "Locator": "Image",
                    "LocatorType": "Object",
                    "UriDescription": "Highlight image for folder",
                    "EndpointType": "FolderHighlightImage"
                },
                "Folders": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!folders",
                    "Locator": "Folder",
                    "LocatorType": "Objects",
                    "UriDescription": "Folders inside of the folder",
                    "EndpointType": "Folders"
                },
                "FolderList": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!folderlist",
                    "Locator": "FolderList",
                    "LocatorType": "List",
                    "UriDescription": "Recursive list of all of the user's folders",
                    "EndpointType": "FolderList"
                },
                "FolderAlbums": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!albums",
                    "Locator": "Album",
                    "LocatorType": "Objects",
                    "UriDescription": "Albums inside of the folder",
                    "EndpointType": "FolderAlbums"
                },
                "AlbumList": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!albumlist",
                    "Locator": "AlbumList",
                    "LocatorType": "List",
                    "UriDescription": "List of user's albums",
                    "EndpointType": "AlbumList"
                },
                "FolderSearch": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!search",
                    "Locator": "FolderByID",
                    "LocatorType": "Objects",
                    "UriDescription": "Search for folders",
                    "EndpointType": "FolderSearch"
                },
                "FolderPages": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!pages",
                    "Locator": "Page",
                    "LocatorType": "Objects",
                    "UriDescription": "Pages inside of the folder",
                    "EndpointType": "FolderPages"
                },
                "Size": {
                    "Uri": "/api/v2/folder/user/US-ASEAN/Business-Missions/2015/Thailand-Business-Mission/Day-2-August-7-2015!size",
                    "Locator": "Size",
                    "LocatorType": "Object",
                    "UriDescription": "Size of folder",
                    "EndpointType": "Size"
                }
            },
            "ResponseLevel": "Public"
        },
        "UriDescription": "A folder or legacy (sub)category by UrlPath",
        "EndpointType": "Folder",
        "Timing": {
            "Total": {
                "time": 0.03057,
                "cycles": 1,
                "objects": 0
            }
        }
    },
    "Code": 200,
    "Message": "Ok"
}