...
Connection HTTP Interface via http://www.example.org/api/connection/persona.
REST HTTP Interface via http://www.example.org/api/v2/persona.
SCHEMA
Name | Description |
---|---|
_id | The id of the persona. |
organisation | The id of the organisation that this persona belongs to. |
name | The display name of this persona. |
EXAMPLE
Code Block |
---|
{ "_id" : "59c1219936229d4ce9634601", "organisation" : "59c1219936229d4ce9634602", "name" : "Example Persona", } |
Merge personas
Merges two personas by updating the persona
field on the personaIdentifier model
The two URL parameters are:
Name | Description |
---|---|
mergePersonaFromId | Required, |
mergePersonaToId | Required, |
Code Block |
---|
GET http://www.example.org/api/mergepersona?mergePersonaFromId=647a147baa472635729a9ab1&mergePersonaToId=647a149aaa472635729a9b2f
Authorization: Basic YOUR_BASIC_AUTH |
A request like the one above, will respond with a 200 response like the one below with a list of _id
s of the personaIdentifiers that have been updated.
Code Block |
---|
{
"identifierIds": [
"647a147b7d3bcfae15e1b084"
]
} |