Not logged in : Login |
ODS supports profile import from a variety of services thanks to the power of Virtuoso's Sponger cartridges. This API method uses the Sponger to fetch profile details from another service and optionally merge them into the ODS profile.The method has two modes of operations: Clients can either provide a serviceId which is already connected to the authenticated user account (see user.authenticate.authenticationUrl()) to import the data directly from the third-party service.Or they can provide a blob of FOAF or VCard data in any of the supported RDF serializations in the request body. Be aware that the method will signal an error if no profile data can be found, ie. if there is no Sponger cartridge available to handle the given service. service The service type like "facebook" or "webid" serviceId The identifier like the facebook profile URL or the actual WebID. If empty, the data is read from the HTTP request body. Before being able to import profile details the service ID first has to be connected to the authenticated ODS account. This is typically done via user.authenticate.authenticationUrl(). target Where to import the profile data to. This can be one of personal, business, or none. In the latter case the data is only imported into a private data graph but not into the ODS profile. keepGraph If keep then the profile data will be kept in a private data graph in addition to storing it in the ODS profile. If clear then the original data will be thrown away after import. Be aware that a target value of none in combination with a keepGraph value of clear does not make much sense. On error an appropriate HTTP status code will be set.user.authenticate.authenticationUrl(), user.dataGraphs.list()
Attributes | Values |
---|---|
type | |
name |
|
schema:contentType |
|
description |
user.authenticate.authenticationUrl(), user.dataGraphs.list() |
schema:httpMethod |
|
url | |
oplwebsrv:hasParameter | |
oplwebsrv:isWebServiceOf | |
oplwebsrv:endPointURL | |
schema:shortDescription |
|
is target of |