Resources

Resources represent user data stored in Digita Connect.

Refresh all resources

You can refresh all resources in Digita Connect’s cache by executing the following request.

POST /resource/refresh HTTP/1.1
Host: [DIGITA_HOST]
Authorization: Bearer [ACCESS_TOKEN]
[
    {
        "triples": [
            {
                "subject": {
                    "value": "http://localhost:3001/sparql/holder/wouter",
                    "termType": "uri"
                },
                "predicate": "http://www.w3.org/2006/vcard/ns#fn",
                "object": {
                    "value": "Lucy Marsden",
                    "termType": "literal",
                    "dataType": "http://www.w3.org/2001/XMLSchema#string"
                }
            },
        ],
        "uri": "http://localhost:3001/foo/bar"
    },
]