Response [200 Ok]
| Uri | /api/v2/folder/user/naapausa/Browse/Workshop!size |
|---|---|
| UriDescription | Size of folder |
| EndpointType | Size |
| Locator | Size |
| LocatorType | Object |
Size [1 of 1]
/api/v2/folder/user/naapausa/Browse/Workshop!size
| Uri | /api/v2/folder/user/naapausa/Browse/Workshop!size |
|---|---|
| UriDescription | Size of folder |
| AlbumCount | 40 |
| DynamicMediaCount | 667 |
| FolderCount | 2 |
| MediaCount | 659 |
| PageCount | 8 |
Request
| Uri | /api/v2/folder/user/naapausa/Browse/Workshop!size |
|---|---|
| Method | GET |
| Version | v2 |
Config
{
"expand_method": "ref",
"shorturis": false
}
Options
Methods
OPTIONS
| Permissions |
|
|---|
GET
| Permissions |
|
|---|
Output Fields
| AlbumCount | integer | |
|---|---|---|
| DynamicMediaCount | integer | |
| DynamicMediaSize | integer | |
| FolderCount | integer | |
| MediaCount | integer | |
| MediaSize | integer | |
| PageCount | integer |
JSON
{
"Request": {
"Version": "v2",
"Method": "GET",
"Uri": "/api/v2/folder/user/naapausa/Browse/Workshop!size"
},
"Options": {
"MethodDetails": {
"OPTIONS": {
"Permissions": [
"Read"
]
},
"GET": {
"Permissions": [
"Read"
]
}
},
"Methods": [
"OPTIONS",
"GET"
],
"ParameterDescription": {
"Varchar": "Variable length text from MIN_CHARS to MAX_CHARS (MAX_CHARS = INFINITY meaning arbitrary length)",
"Select": "Select one option. Options should pass only the \"Value\"."
},
"Parameters": {
"GET": [
{
"Name": "FolderID",
"Required": false,
"ReadOnly": false,
"Default": "",
"Type": "Varchar",
"MIN_CHARS": 5,
"MAX_CHARS": "INFINITY"
},
{
"Name": "depth",
"Required": false,
"ReadOnly": false,
"Default": "MAX",
"Description": "How deep down the tree do you want to count?",
"Type": "Select",
"OPTIONS": [
"1",
"MAX"
],
"MIN_COUNT": 1,
"MAX_COUNT": 1
}
]
},
"MediaTypes": [
"application/json",
"application/vnd.php.serialized",
"application/x-msgpack",
"text/html",
"text/csv"
],
"Output": [
{
"Name": "FolderCount",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "AlbumCount",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "PageCount",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "MediaCount",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "MediaSize",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "DynamicMediaCount",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
},
{
"Name": "DynamicMediaSize",
"Type": "Integer",
"MIN_VALUE": "NEGATIVE_INFINITY",
"MAX_VALUE": "POSITIVE_INFINITY"
}
],
"Path": [
{
"type": "path",
"text": "api"
},
{
"type": "path",
"text": "v2"
},
{
"type": "path",
"text": "folder"
},
{
"type": "path",
"text": "user"
},
{
"type": "singleparam",
"param_name": "nickname",
"param_value": "naapausa",
"param_validator": {}
},
{
"type": "multipleparam",
"param_name": "folder",
"param_value": [
"Browse",
"Workshop"
],
"param_validator": {}
},
{
"type": "action",
"text": "size"
}
]
},
"Response": {
"Uri": "/api/v2/folder/user/naapausa/Browse/Workshop!size",
"Locator": "Size",
"LocatorType": "Object",
"Size": {
"FolderCount": 2,
"AlbumCount": 40,
"PageCount": 8,
"MediaCount": 659,
"DynamicMediaCount": 667,
"Uri": "/api/v2/folder/user/naapausa/Browse/Workshop!size",
"UriDescription": "Size of folder"
},
"UriDescription": "Size of folder",
"EndpointType": "Size",
"Timing": {
"Total": {
"time": 0.08272,
"cycles": 1,
"objects": 0
}
}
},
"Code": 200,
"Message": "Ok"
}