penny_wei

How to get the web maps infomations in custom folders in AGOL

Discussion created by penny_wei on Nov 1, 2013
I have get all the web map informations which have been published in default folder through this link:
http://www.arcgis.com/sharing/rest/content/users/testUserName? token=<'token'>&f=json

it returns:

{
    "username": "testUserName",
    "currentFolder": null,
    "items": [       
        {
            "id": "yhr5e9d532dery46b6aio0731b1b46jb",
            "owner": "testUserName",
            "created": 11111111,
            "modified": 111111,
            "guid": "",
            "name": "",
            "title": "",
            "type": "",
            "typeKeywords": [
                ".sd",
                "ArcGIS",
                "SDE Feature Class",
                "Service Definition",
                "Online"
            ],
            "description": "the data resource is SDE format",
            "tags": [
                "arconline_test"
            ],
            "snippet": "",
            "thumbnail": "thumbnail/thumbnail.png",
            "documentation": null,
            "extent": [
                [
                    -111.655931046781,
                    35.1890522265254
                ],
                [
                    -111.595559007645,
                    35.2287393943794
                ]
            ],
            "spatialReference": "NAD_1983_StatePlane_Arizona_Central_FIPS_0202_Feet",
            "accessInformation": null,
            "licenseInfo": null,
            "culture": "en-us",
            "properties": null,
            "url": null,
            "access": "private",
            "size": 1897693,
            "appCategories": [],
            "industries": [],
            "languages": [],
            "largeThumbnail": null,
            "banner": null,
            "screenshots": [],
            "listed": false,
            "numComments": 0,
            "numRatings": 0,
            "avgRating": 0,
            "numViews": 0
        }
    ],
    "folders": [
        {
            "username": "testUserName",
            "id": "dfedec457c7048b809f432999artucge",
            "title": "test1",
            "created":11111111111111
        },
        {
            "username": "testUserName",
            "id": fd999hhjh888ugyguuhhuhhuj8y554",
            "title": "test2",
            "created": 11111111111111
        }
    ]
}

From the json data,we can get all the web map in default folder(show in 'items' node), but this json data just return the custom folders ,it seems not enough datas show.How can I get all the web map in the custom folders .

Thanks,
Tom

Outcomes