API REFERENCE GUIDE

CLOUD DATA  data_list

api description

purpose

data_list returns an associative array composed of two elements:

  • "total" is the total number of of data owned by the current signed subscriber.
  • "list" is the array of data descriptors owned by the current subscriber. As this list may be very long, the result may be a subset, returned in page mode (See optional parameters). Each data descriptor is an array composed of six elements:
    1. Data ID
    2. Share code (see data_up)
    3. Creation date/time
    4. Latest update date/time
    5. Number of downloads
    6. Number of updates

See below an example of response.

{
  "lines":"7",
  "list": [
	["316b6be55a68a5b89930","0","2015-07-15 18:29:15","2015-07-15 18:29:15","0","0"],
	["ef8534c55a68a66d991f","0","2015-07-15 18:29:26","2015-07-15 18:29:26","0","0"],
	["4d5592a55a68b2e84b8c","0","2015-07-15 18:32:46","2015-07-15 18:32:46","0","0"],
	["534cad455a68b97089c1","0","2015-07-15 18:34:31","2015-07-15 18:34:31","0","0"],
	["b6bef8555a68c07d2eed","0","2015-07-15 18:36:23","2015-07-15 18:41:52","1","2"],
	["bef853455a76fac7f52e","0","2015-07-16 10:47:40","2015-07-16 10:47:40","4","0"],
	["ad4d55955a7734381816","3","2015-07-16 11:02:59","2015-07-16 11:02:59","1","0"]
  ]
}

http method: POST

call cost: 1 point

See the pricing section for more details.

mandatory parameter(s)

parameter values / comments
api"data_list"
key E.g. "c54e7837e0cd0ced286cb5995327d1ab54e35987179b2". It is an application key generated by AuverCloud Studio.
uuidUnique User ID.
usidUnique Session ID.
udidUnique Device ID.
eostEnd of Session Time.

optional parameters(s)

parameter values / comments
pagelenMaximum length of the returned list. Default value: 100. Maximum value: 500.
pagenumPage number. Default value: 0 (first page).

call sample

This example is the code used in the test case below. It assumes that jQuery and the JavaScript AuverCloud runtime client are loaded in order to use the arc.api() method. See the API client section for more details.


							

errors

None

See also the Common errors section.

test bed

Call

To test the API with your own keys, please see the section Application keys in AuverCloud Studio.

api
data_list
key
pagelen
pagenum
 send
request
 clear
response
Response
code
msg
data

discussion