Available methods:
See also:
Required API scope: contacts:read
GET /api/v1/aspects
[
{
"id": 1,
"name": "Family",
"order": 1
},
{
"id": 2,
"name": "Friends",
"order": 2
}
]
Required API scope: contacts:read
GET /api/v1/aspects/:aspect_id
{
"id": 1,
"name": "Family",
"order": 1
}
Required API scope: contacts:modify
POST /api/v1/aspects
{
"name": "diaspora developers"
}
{
"id": 3,
"name": "diaspora developers",
"order": 4
}
Required API scope: contacts:modify
PATCH /api/v1/aspects/:aspect_id
{
"name": "diaspora community"
}
Name | Type | Description |
---|---|---|
name | string | The aspects name. |
order | integer | The aspects position in the aspect list. If provided, the aspect will get inserted into the given position and other aspects will be reordered. |
{
"id": 3,
"name": "diaspora community",
"order": 4
}
Required API scope: contacts:modify
DELETE /api/v1/aspects/:aspect_id
Status: 204 No Content