GET /api/users/{UserID}/feeds/homefeed
Returns the user's feed from the user's Action Dashboard.
Authorization Roles/Permissions: Must be logged in. Self (logged in) or Site Admin (for any user).
This topic includes the following sections:
HTTP Method
GET
URL
https://{hostname}/api/users/{UserID}/feeds/homefeed[?APIID=APIID][&ItemType=ItemType][&TicketLabel=TicketLabel] [&TicketState=TicketState][&ItemID=ItemID][&Tag=Tag][&IncludeComments=IncludeComments] [&NumberOfComments=NumberOfComments][&IncludeActions=IncludeActions][&count=count][&SortBy=SortBy]
Sample Request
Request URL #1
The example below requests the first 5 items for the specified user.
https://{hostname}/api/users/522320b9-cb6b-495d-ae07-e4b3bfdb3f6a.acmepaymentscorp/feeds/homefeed?start=0&count=5
Request URL #2
The example below requests the third and fourth items, with comments excluded.
https://{hostname}/api/users/522320b9-cb6b-495d-ae07-e4b3bfdb3f6a.acmepaymentscorp/feeds/homefeed?start=2&count=2&IncludeComments=false
Sample request headers
GET /api/users/522320b9-cb6b-495d-ae07-e4b3bfdb3f6a.acmepaymentscorp/feeds/homefeed?start=0&count=5&SortBy=DescendingDate HTTP/1.1 Host: {hostname} Accept: application/json, text/javascript, */*; q=0.01 Cookie: AtmoAuthToken_acmepaymentscorp=TokenID%3Df9133a54-994c-4fc6-833d-47fb723120ee%2Cclaimed_id%3Durn%3Aatmosphere%3Auser%3Aacmepaymentscorp%3A1c17993a-3e53-4ff7-aa4e-970ba6d7a58d%2CissueTime%3D1615558191897%2CexpirationTime%3D1615560051891%2... X-Csrf-Token_acmepaymentscorp:TokenID%3Df9133a54-994c-4fc6-833d-47fb723120ee%2CexpirationTime%3D153...
Sample request body
Not applicable.
Request Headers
For general information on request header values, refer to HTTP Request Headers.
Header | Description |
---|---|
Accept | application/json, text/xml, application/vnd.soa.v71+json, application/vnd.soa.v71+xml, application/vnd.soa.v72+json, application/vnd.soa.v72+xml, application/vnd.soa.v80+json, application/vnd.soa.v80+xml, application/vnd.soa.v81+json, application/vnd.soa.v81+xml |
Cookie | AtmoAuthToken_{fedmemberid}={cookie value, which usually starts with TokenID}—The platform cookie. This is the Akana API Platform authorization token, and must be sent with every API request that requires login. For more information and an example, see Session cookies. |
X-Csrf-Token_{fedmemberID} | The CSRF prevention header; may or may not be required, depending on platform settings. See CSRF Prevention on the Platform. By default, the CSRF header is not required for GET operations and is required for all others, with a few exceptions relating to user login. |
Request Parameters
Parameter | Parm Type | Data Type | Required | Description |
---|---|---|---|---|
UserID | Path | string | Required | The unique ID for a specific user. |
AppID | Query | string | Optional | If specified, only board items relating to that app are returned. If not specified, items relating to all apps are returned. |
APIID | Query | string | Required | The unique ID for a specific API. |
ItemType | Query | string[ ] | Optional | A filtering parameter, specifying one or more board item (forum entry) types to be returned, such as an alert, discussion, or ticket. For a list of valid values, see Board Item (forum entry) Types. |
DiscussionType | Query | string | Optional | The type of discussion. No longer in use. |
TicketLabel | Query | string | Optional | A filtering parameter: if specified, only tickets with that label are returned. If not specified, no filter is applied. For valid values, refer to Ticket Label Values. |
TicketState | Query | string | Optional | A filtering parameter: if specified, only tickets of that state are returned. For valid values, refer to Ticket State Values. |
ItemID | Query | string | Optional |
The unique ID for a specific forum entry. If specified, results are limited to items relating to that item ID. If not specified, no filter is applied. |
Tag | Query | string | Optional |
A user-defined tag. If specified, results are limited to resources relating to that tag. If not specified, no filter is applied. |
IncludeComments | Query | boolean | Optional | Indicates whether comments should be included in the information returned. Default: true. If set to false, comments are excluded. |
NumberOfComments | Query | integer | Optional | The number of comments to be returned (if IncludeComments is not set to false). Default value: 2. |
IncludeActions | Query | boolean | Optional | Indicates whether workflow actions currently valid for the resource should be included in the results. Default: true. For valid workflow actions, see Workflow Actions. |
start | Query | integer | Optional | An index number indicating the starting point for the results to be returned. If not specified, results start at position 0, the first result. |
count | Query | integer | Optional | The number of results to be returned, from the specified starting point. If not specified, all matching results are returned. |
SortBy | Query | string | Optional | An optional parameter allowing users to sort results by a specific value; for example, com.soa.sort.order.updated sorts with the most updated entries first. For valid values, see Sort By Values. If not specified, items are returned in the sort order of DescendingDate, which means that the most recent items are first. |
IncludeSelfAuthored | Query | string | Optional |
Indicates whether resources authored by the requestor should be included. Default: true. |
PublishedState | Query | string | Optional |
Indicates that only resources in a specific state should be returned. Valid values: published or unpublished. Default: published, indicating that only resources that have been published are returned. |
Response
If successful, this operation returns HTTP status code 200, with the home feed for the specified user. The information is sent as an RSS channel in JSON or XML format.
Sample Response
The sample response below shows the results from request query #1 above—the first 5 Dashboard items.
Sample response headers
HTTP/1.1 200 OK Content-Type: application/json Date: Tue, 09 Mar 2021 22:43:07 GMT
{ "channel":{ "title":"User Feed", "startIndex":0, "itemsPerPage":5, "item":[ { "title":"Api Version Deleted", "description":"Member JenMead has deleted api version Swagger_Petstore [1.0.5].", "category":[ { "value":"DISCUSSION", "domain":"uddi:soa.com:resourcetype" }, { "value":"true", "domain":"uddi:soa.com:archivable" }, { "value":"true", "domain":"uddi:soa.com:published" }, { "value":"com.soa.board.item.open", "domain":"uddi:soa.com:state" }, { "value":"text/markdown", "domain":"uddi:soa.com:descriptionmediatype" }, { "value":"com.soa.discussion.type.comment", "domain":"uddi:soa.com:discussiontype" }, { "value":"Published", "domain":"uddi:soa.com:wfstate" } ], "guid":{ "value":"discussion630061.acmepaymentscorp" }, "pubDate":"Tue, 16 Feb 2021 21:29:36 +0000", "BoardItemArtifacts":{ "BoardItemArtifact":[ ] }, "Actions":{ "Action":[ { "value":"discussion.action.delete", "label":"discussion.action.delete" } ] }, "AuthoringUser":{ "ID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Name":"JenMead", "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Title":"JenMead", "Link":"#/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/details" } }, "CreatedDate":"Tue, 16 Feb 2021 21:29:36 +0000", "EntityReference":[ { "Title":"Business Administrators - acmepaymentscorp", "Guid":"bizadmin-tenantbusiness.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Site Administrators - acmepaymentscorp", "Guid":"tenantadmin.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"JenMead", "Guid":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Category":[ { "value":"user", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Swagger_Petstore", "Guid":"d17e236a-e082-4a0c-8e98-0ef31590f233.acmepaymentscorp", "Category":[ { "value":"api", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"1.0.5", "Guid":"bacf9853-9c33-4373-919b-d859cba05f41.acmepaymentscorp", "Category":[ { "value":"apiversion", "domain":"uddi:soa.com:resourcetype" } ] } ], "Marks":{ "Count":0, "IsMarkedByReader":false }, "CommentsPreview":{ "Count":0, "Comment":[ ] }, "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/apis/avatar/_V-kphPbc-fzFAxnwujbxYtw", "Link":"#/apiversion/d17e236a-e082-4a0c-8e98-0ef31590f233.acmepaymentscorp" } }, { "title":"Api Deleted", "description":"Member JenMead has deleted api Swagger_Petstore. All versions for this api have been deleted.", "category":[ { "value":"DISCUSSION", "domain":"uddi:soa.com:resourcetype" }, { "value":"true", "domain":"uddi:soa.com:archivable" }, { "value":"true", "domain":"uddi:soa.com:published" }, { "value":"com.soa.board.item.open", "domain":"uddi:soa.com:state" }, { "value":"text/markdown", "domain":"uddi:soa.com:descriptionmediatype" }, { "value":"com.soa.discussion.type.comment", "domain":"uddi:soa.com:discussiontype" }, { "value":"Published", "domain":"uddi:soa.com:wfstate" } ], "guid":{ "value":"discussion630072.acmepaymentscorp" }, "pubDate":"Tue, 16 Feb 2021 21:29:36 +0000", "BoardItemArtifacts":{ "BoardItemArtifact":[ ] }, "Actions":{ "Action":[ { "value":"discussion.action.delete", "label":"discussion.action.delete" } ] }, "AuthoringUser":{ "ID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Name":"JenMead", "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Title":"JenMead", "Link":"#/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/details" } }, "CreatedDate":"Tue, 16 Feb 2021 21:29:36 +0000", "EntityReference":[ { "Title":"Business Administrators - acmepaymentscorp", "Guid":"bizadmin-tenantbusiness.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Site Administrators - acmepaymentscorp", "Guid":"tenantadmin.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"JenMead", "Guid":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Category":[ { "value":"user", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Swagger_Petstore", "Guid":"d17e236a-e082-4a0c-8e98-0ef31590f233.acmepaymentscorp", "Category":[ { "value":"api", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Administrators for [Swagger_Petstore]", "Guid":"apiadmin-d17e236a-e082-4a0c-8e98-0ef31590f233.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] } ], "Marks":{ "Count":0, "IsMarkedByReader":false }, "CommentsPreview":{ "Count":0, "Comment":[ ] }, "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/apis/avatar/_V-kphPbc-fzFAxnwujbxYtw", "Link":"#/api/d17e236a-e082-4a0c-8e98-0ef31590f233.acmepaymentscorp" } }, { "title":"API Access request", "description":"acmepaymentscorp member JenMead has requested access to the Sandbox environment for the Payment_Initiation_API_UK_OB_UC (v3.1.6) on behalf of the PaymentsApp_UK_OB_UC (v1) application. ", "category":[ { "value":"CONTRACT_REQUEST", "domain":"uddi:soa.com:resourcetype" }, { "value":"false", "domain":"uddi:soa.com:archivable" }, { "value":"true", "domain":"uddi:soa.com:published" }, { "value":"text/plain", "domain":"uddi:soa.com:descriptionmediatype" }, { "value":"apicontract.status.activated", "domain":"uddi:soa.com:wfstate" }, { "value":"Sandbox", "domain":"uddi:soa.com:environment" } ], "guid":{ "value":"contract_request617982.acmepaymentscorp" }, "pubDate":"Fri, 23 Oct 2020 13:44:51 +0000", "EntityReferences":{ "EntityReference":[ { "Guid":"b80f4adc-45ea-4eb6-a954-ab6c735c6908.acmepaymentscorp", "Category":[ { "value":"contract", "domain":"uddi:soa.com:resourcetype" } ] } ] }, "BoardItemArtifacts":{ "BoardItemArtifact":[ ] }, "Actions":{ "Action":[ { "value":"apicontract.action.suspend", "label":"apicontract.action.suspend" }, { "value":"apicontract.action.cancel", "label":"apicontract.action.cancel" }, { "value":"apicontract.action.revise", "label":"apicontract.action.revise" } ] }, "AuthoringUser":{ "ID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Name":"JenMead", "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Title":"JenMead", "Link":"#/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/details" } }, "CreatedDate":"Fri, 23 Oct 2020 13:44:51 +0000", "EntityReference":[ { "Title":"Payment_Initiation_API_UK_OB_UC", "Guid":"2d22983b-0d97-456b-8f65-fe9bbd7e6757.acmepaymentscorp", "Category":[ { "value":"api", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"v3.1.6", "Guid":"25100069-66a0-4cd5-b5c4-202db0da59a4.acmepaymentscorp", "Category":[ { "value":"apiversion", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"PaymentsApp_UK_OB_UC", "Guid":"c78dd39c-79c7-44e7-8a17-e511b6e15791.acmepaymentscorp", "Category":[ { "value":"app", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"v1", "Guid":"ReKwH8jqV5brfVrcHVxGO0tpGmewUXWf3BxYgCYU.acmepaymentscorp", "Category":[ { "value":"app-version", "domain":"uddi:soa.com:resourcetype" } ] } ], "Marks":{ "Count":0, "IsMarkedByReader":false }, "CommentsPreview":{ "Count":1, "Comment":[ { "CommentID":"4ed7bc04-e2d3-4823-b201-46ae5c0f0f97.acmepaymentscorp", "CommentSubjectID":"contract_request617982.acmepaymentscorp", "Content":"API access has been activated. ", "Created":"2020-10-23T13:44:51Z", "Marks":0, "IsMarked":false, "UserID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "UserName":"JenMead", "AvatarURL":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Published":true, "MediaType":"text/markdown", "BoardItemArtifacts":{ "BoardItemArtifact":[ ] } } ] }, "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/apis/avatar/_V-kphPbc-fzFAxnwujbxYtw", "Link":"#/apiversion/2d22983b-0d97-456b-8f65-fe9bbd7e6757.acmepaymentscorp" } }, { "title":"App Version marked for Delete", "description":"Member JenMead has marked app version Crosfhocal for deletion.", "category":[ { "value":"DISCUSSION", "domain":"uddi:soa.com:resourcetype" }, { "value":"true", "domain":"uddi:soa.com:archivable" }, { "value":"true", "domain":"uddi:soa.com:published" }, { "value":"com.soa.board.item.open", "domain":"uddi:soa.com:state" }, { "value":"text/markdown", "domain":"uddi:soa.com:descriptionmediatype" }, { "value":"Published", "domain":"uddi:soa.com:wfstate" } ], "guid":{ "value":"discussion613158.acmepaymentscorp" }, "pubDate":"Thu, 17 Sep 2020 15:12:37 +0000", "BoardItemArtifacts":{ "BoardItemArtifact":[ ] }, "Actions":{ "Action":[ { "value":"discussion.action.delete", "label":"discussion.action.delete" } ] }, "AuthoringUser":{ "ID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Name":"JenMead", "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Title":"JenMead", "Link":"#/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/details" } }, "CreatedDate":"Thu, 17 Sep 2020 15:12:37 +0000", "EntityReference":[ { "Title":"JenMead", "Guid":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Category":[ { "value":"user", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Crosfhocal", "Guid":"b2dfaa95-1a45-425a-8b78-5a97e6e2012a.acmepaymentscorp", "Category":[ { "value":"app", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Application team for [Crosfhocal]", "Guid":"appteam-b2dfaa95-1a45-425a-8b78-5a97e6e2012a.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"1.0", "Guid":"4pg3oSwgEuGZruzwORllQY8XsYYo4KBMMqcnOjru.acmepaymentscorp", "Category":[ { "value":"app-version", "domain":"uddi:soa.com:resourcetype" } ] } ], "Marks":{ "Count":0, "IsMarkedByReader":false }, "CommentsPreview":{ "Count":0, "Comment":[ ] }, "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/apps/avatar/_V-kphPbc-fzFAxnwujbxYtw", "Link":"#/app-version/b2dfaa95-1a45-425a-8b78-5a97e6e2012a.acmepaymentscorp" } }, { "title":"App Certificate Added or Modified", "description":"App: AccountsApp_UK_OB_UC | Version: v2 | Certificate added or modified by: JenMead | Comment: Importing credentials.", "category":[ { "value":"DISCUSSION", "domain":"uddi:soa.com:resourcetype" }, { "value":"true", "domain":"uddi:soa.com:archivable" }, { "value":"true", "domain":"uddi:soa.com:published" }, { "value":"com.soa.board.item.open", "domain":"uddi:soa.com:state" }, { "value":"text/markdown", "domain":"uddi:soa.com:descriptionmediatype" }, { "value":"Published", "domain":"uddi:soa.com:wfstate" } ], "guid":{ "value":"discussion591693.acmepaymentscorp" }, "pubDate":"Thu, 07 May 2020 16:45:18 +0000", "BoardItemArtifacts":{ "BoardItemArtifact":[ ] }, "Actions":{ "Action":[ { "value":"discussion.action.delete", "label":"discussion.action.delete" } ] }, "AuthoringUser":{ "ID":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Name":"JenMead", "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/avatars/7057fa39-e78d-4055-bbb0-3afa21532f51.png", "Title":"JenMead", "Link":"#/users/f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp/details" } }, "CreatedDate":"Thu, 07 May 2020 16:45:18 +0000", "EntityReference":[ { "Title":"JenMead", "Guid":"f1ee5aaa-e58e-4bc7-989e-490ccd854904.acmepaymentscorp", "Category":[ { "value":"user", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"AccountsApp_UK_OB_UC", "Guid":"12fc4ebf-fe40-4808-b38f-64f8db5f750d.acmepaymentscorp", "Category":[ { "value":"app", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"Application team for [AccountsApp_UK_OB_UC]", "Guid":"appteam-12fc4ebf-fe40-4808-b38f-64f8db5f750d.acmepaymentscorp", "Category":[ { "value":"group", "domain":"uddi:soa.com:resourcetype" } ] }, { "Title":"v2", "Guid":"pYWxwkusSiUKVRNPundRDauTQKBwLtwIFu8v0XJR.acmepaymentscorp", "Category":[ { "value":"app-version", "domain":"uddi:soa.com:resourcetype" } ] } ], "Marks":{ "Count":0, "IsMarkedByReader":false }, "CommentsPreview":{ "Count":0, "Comment":[ ] }, "Image":{ "Url":"https://acmepaymentscorp.com/akana/api/apps/avatar/_V-kphPbc-fzFAxnwujbxYtw", "Link":"#/app-version/12fc4ebf-fe40-4808-b38f-64f8db5f750d.acmepaymentscorp" } } ] }, "version":"1.0" }
Response Headers
For general information on response header values, refer to HTTP Response Headers.
Header | Description |
---|---|
Content-Type | application/json, text/xml, application/vnd.soa.v71+json, application/vnd.soa.v71+xml, application/vnd.soa.v72+json, application/vnd.soa.v72+xml, application/vnd.soa.v80+json, application/vnd.soa.v80+xml, application/vnd.soa.v81+json, application/vnd.soa.v81+xml |
Response Body
The response body is in the form of an RSS channel, and includes the items listed below. The RSS version is 1.0. The title of the RSS Channel is User Feed, and the channel includes paging values: StartIndex and ItemsPerPage. Each item in the RSS channel represents a home feed entry, and includes the information below.
Name | Description |
---|---|
title | The text title of the feed item. |
description | Descriptive text for the feed item. |
category[ ] |
An array of sets of two name/value pairs, each including Value and Domain, with a value for each. For example: "value" : "GROUP_MEMBER_REQ", "domain" : "uddi:soa.com:resourcetype" The example above indicates a group membership request. |
GUID | GUID for the feed item. |
pubdate | The date/timestamp when the information was generated. |
Entity reference |
An array of one or more entity references for the feed item. Each includes:
|
Error Codes/Messages
If the call is unsuccessful an error code/message is returned. One or more examples of possible errors for this operation are shown below.
Item | Value |
---|---|
401 | Unauthorized. For example, you would get this response if you didn't include the custom X-Csrf-Token_{fedmemberID} header in the request, when it was required by the platform settings; or if you included an invalid or expired value for this header. You would also get this response for any operation that requires login (almost all) if the login cookie was missing. |
500 | An error occurred processing the call. |
More information about Akana API Platform API error messages.