Resource (interface)
Object details
-
aspectratio
Internal object reference
-
Data Type AspectRatio
-
Example
json{"accuracy": 87.5,"actual": "3:2","closest": "4:3"}
-
-
bitrate
"Resource bitrate e.g. 320000"
-
Data Type
number
-
Example 432000
-
-
caption
- Data Type
boolean
- Data Type
-
definition
- Data Type
string
- Data Type
-
dimension
- Data Type
string
- Data Type
-
duration
"Resource duration in milliseconds e.g. 30033"
-
Data Type
number
-
Example 17600
-
-
height
"Resource height in pixels e.g. 1600"
-
Data Type
number
-
Example 213
-
-
licensedcontent
- Data Type
boolean
- Data Type
-
mimetype
"Resource mime type e.g. image/jpeg, image/png, video/mp4, audio/mp3"
-
Data Type
string
-
Example "image/jpeg"
-
-
pcloudrelativepath
"Resource relative file path within library in pCloud e.g. /photos/Flickr/Default User/avatars/1-2000/0a9ff53361406d49fc3fb4055a8f77d0.jpg"
-
Data Type
string
-
-
projection
- Data Type
string
- Data Type
-
resize
"Resource resizing method used to obtain the resource width and height e.g. crop (cropped in order to fit a specific resolution), fit (resized to fit one dimension, keeping its native aspect ratio)"
-
Data Type
string
-
Example "crop"
-
-
type
"Resource type identifier e.g. 0=image, 1=video, 2=audio"
-
Data Type Media.TYPE
-
Example 1
-
-
url
"Resource URL, favour HTTPS over HTTP when possible e.g. http://p.twimg.com/AZVLmp-CIAAbkyy.jpg"
-
urlsigningstrategy
"Resource URL signing strategy (signing a request with OAuth 1.0A is a use case) e.g. 0=none, 1=OAuth1.0A"
-
Data Type
number
-
-
width
"Resource width in pixels e.g. 900"
-
Data Type
number
-
Example 320
-