Quantcast
Channel: Question and Answer » web-services
Viewing all articles
Browse latest Browse all 136

Profile data not showing using REST server

$
0
0

When visiting user profile page /user/1 the page shows the custom profile data (bio, and a few other fields), but when accessing the same resource via rest (using web services), the data isn’t present:

GET /user/1

Returns:

{
    "uid": "1",
    "name": "andy",
    "mail": "sdfsdfsdf@gmail.com",
    "theme": "",
    "signature": "",
    "signature_format": null,
    "created": "1417791919",
    "access": "1417956542",
    "login": "1417952019",
    "status": "1",
    "timezone": "UTC",
    "language": "",
    "picture": null,
    "init": "sdfsdfsdf@gmail.com",
    "data": false,
    "roles": {
        "2": "authenticated user",
        "3": "administrator"
    },
    "rdf_mapping": {
        "rdftype": [
            "sioc:UserAccount"
        ],
        "name": {
            "predicates": [
                "foaf:name"
            ]
        },
        "homepage": {
            "predicates": [
                "foaf:page"
            ],
            "type": "rel"
        }
    }
}

How can I access (CRUD) the profile information?


Viewing all articles
Browse latest Browse all 136

Trending Articles