Skip to main content

getSubscriptionInfos

This action allows you to recover information about a Folder.

info

The API key must have access rights to commons.

Request​

NameTypeDefaultDescription
apikeyRequired
stringAPI public key
signatureRequired
stringSignature of the request. See how to sign your requests
expires
timestampUNIX timestamp for request expiration (GMT)
output
stringFormat of the response. Either XML (default), JSON or PHP
subscription_idRequired
integerID of the folder

Response​

This method returns a Folder.

NameTypeDefaultDescription
IDintegerUnique identifying key for the folder
AccountIDintegerUnique identifying key for the account of the folder
NamestringTitle of the folder
DescriptionstringDescription of the folder
BooksintegerAvailable publications inside the folder
SubscribersintegerAvailable subscribers inside the folder (only returned for your account's folder)
CreationdatetimeDate of the folder's creation
ModificationdatetimeDate of the folder's last modification
PublicUrlstringAbsolute URL for the folder's overview

Example response​

JSON
{
"response": {
"status": "ok",
"version": 2,
"requestid": "eK4YhB",
"requests": 161,
"content": {
"ID": 4540112,
"AccountID": 4516825,
"Name": "Mon dossier",
"Description": "",
"Books": 0,
"Subscribers": 0,
"Creation": "2015-10-06 16:55:39",
"Modification": "2015-10-06 16:55:39",
"PublicUrl": "https://www.calameo.com/subscriptions/4540112"
}
}
}