The Entries API provides a range of actions for manipulating entries within Unet.
entries/
RESOURCE_URI
— URI is obtained from token exchange point.
TARGET_RESOURCE_URI
— URI is obtained from the "sites/" or the "contacts/" endpoint.
Prefix | Endpoint | Description |
---|---|---|
RESOURCE_URI | entries/ | Getting a list of entries |
RESOURCE_URI | entries/add/ | Adding an entry |
RESOURCE_URI | entries/ID | Retrieving entry details |
RESOURCE_URI | entries/ID/comments/ | Getting a list of entry comments |
RESOURCE_URI | entries/ID/comments/add/ | Adding a comment for the entry |
RESOURCE_URI | entries/ID/rating/ | Getting a list of entry ratings |
RESOURCE_URI | entries/ID/rating/add/ | Adding a rating for the entry |
RESOURCE_URI | entries/ID/edit/ | Editing an entry |
RESOURCE_URI | entries/ID/delete/ | Deleting an entry |
RESOURCE_URI | entries/categories/ | Getting a list of categories |
RESOURCE_URI | entries/categories/add/ | Adding a category |
RESOURCE_URI | entries/categories/ID | Retrieving category details |
RESOURCE_URI | entries/categories/ID/edit/ | Editing a category |
RESOURCE_URI | entries/categories/ID/sort/ | Sorting a category |
RESOURCE_URI | entries/categories/ID/delete/ | Deleting a category |
entries/
entries/ID
entries/add/
entries/ID/edit/
entries/ID/delete/
entries/categories/
entries/categories/ID
entries/categories/add/
entries/categories/ID/edit/
entries/categories/ID/sort/
entries/categories/ID/delete/
Name | Description |
---|---|
limit (o) |
Number of items expected in response. |
cursor (o) |
The value of the |
category_id (o) |
Category ID whose items are requested. |
author_uid (o) |
User ID whose items are requested. |
fields (o) |
@EntriesItemFields |
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 |
---|---|
fields (o) |
@EntriesItemFields |
Name | Description |
---|---|
id |
Entry ID. |
category_id |
Category ID. |
author_uid |
ID of the user who added the entry. |
publish_time |
Publish time. |
title |
Entry title. |
message ? |
HTML formatted text of the entry. |
access ? |
|
can_comment ? |
|
can_edit ? |
|
can_share ? |
|
is_pending ? |
Flag that describes whether the entry is pending approval. |
rating ? |
|
comments_count ? |
Total number of comments for the entry. |
shares_count ? |
Total number of sharings. |
tags[] ? |
The list of tags. |
attachments ? |
Name | Description |
---|---|
category_id |
Not available for use in |
title |
Entry title. |
message (r) |
Entry text (HTML formatted). |
disable_comments |
|
access |
|
publish_at |
Date and time of publication of the entry. |
attachments[] |
|
tags[] |
The list of tags. |
Name | Description |
---|---|
title |
Category name. |
access |
Name | Description |
---|---|
items[] |
Name | Description |
---|---|
id |
Category ID. |
title |
Category name. |
items_count |
Number of entries in the category. |
access |
|
sort |
Sorting value. |
Name | Description |
---|---|
after_item (r) |
Category ID, after which the target category must be placed. |
Name | Description |
---|---|
sort |
Sorting value. |
Name | Description |
---|---|
mode |
Possible values:
|
member_groups |
Bitmask with member groups IDs |