The Sites API provides functionality for obtaining a list of Unet user sites.
RESOURCE_URI — URI is obtained from token exchange point.
TARGET_RESOURCE_URI — URI is obtained from the "sites/" endpoint.
| Prefix | Endpoint | Description |
|---|---|---|
| RESOURCE_URI | sites/ | Getting a list of user sites |
| TARGET_RESOURCE_URI | info/ | Retrieving a full site info |
| TARGET_RESOURCE_URI | members/ | Getting a list of site members |
| TARGET_RESOURCE_URI | invitations/ | Getting a list of site invitations |
| TARGET_RESOURCE_URI | invitations/add | Adding an invitation |
| TARGET_RESOURCE_URI | invitations/lookup | Searching for an existing invitation |
| TARGET_RESOURCE_URI | invitations/ID/status | Updating an invitation |
| TARGET_RESOURCE_URI | invitations/ID/update | Updating an invitation |
| TARGET_RESOURCE_URI | invitations/ID/delete | Deleting an invitation |
Get a list of sites where user is a member or administrator
sites/info/members/invitations/invitations/add/invitations/ID/statusinvitations/ID/updateinvitations/ID/deleteinvitations/lookup| Name | Description |
|---|---|
is_admin (o) |
Filter sites where user is admin or not |
type (o) |
Filter sites by type
|
limit (o) |
Number of items expected in response. Default: 100 |
cursor (o) |
The value of the |
fields (o) |
Fields that it needs to be obtained. |
| Name | Description |
|---|---|
items[] |
|
limit |
Number of returned items (items per page). |
next_cursor |
URL for the next portion of items (next page). |
prev_cursor |
URL for the previous portion of items (previous page). |
total_count |
Total number of items. |
| Name | Description |
|---|---|
id |
Site ID within Unet. |
title |
Site name. |
type |
Possible values:
|
url |
Site address. |
logo_url |
Site logo URL. |
is_admin |
Flag that describes whether the current user is the site admin. |
target_resource_uri |
The URI to be used as |
permissions ? |
| Name | Description |
|---|---|
limit (o) |
Number of items expected in response. Default: 100 |
cursor (o) |
The value of the |
| Name | Description |
|---|---|
items[] |
|
next_cursor |
URL for the next portion of items (next page). |
prev_cursor |
URL for the previous portion of items (previous page). |
total_count |
Total number of items. |
| Name | Description |
|---|---|
identifier |
String to represent invitation (email, social profile, contact id) |
label |
Human readable name of invitation (basically name of contatct to invite) |
| Name | Description |
|---|---|
label (o) |
|
status (o) |
Possible Values:
|
| Name | Description |
|---|---|
status (o) |
Possible Values:
|
| Name | Description |
|---|---|
id |
Unique id of this invitation |
label |
Label added for this invitation |
identifier |
String this invitation was created for (email, social profile, contact id) |
link |
Invitation link |
type |
Invitation type
|
status |
Invitation status
|
create_uid |
Id of user who created this invitation |
create_time |
Time when this invitation was created |
used_uid |
Id of user who have used this invitaion (status = used) |
used_time |
Time when invitaion was used (status = used) |