Feed
Public Feed
Find Community Feed
Returns a list of Community Feed by differents parameters.
-
Page is an optional parameter. Default 0.
-
Size is amount of records wanted to be returned per page. Default 10 records.
-
If you want to sort the records in a specific way, the value "sort" must be defined. It makes reference to the field name in Database.
Resource URL
GET: /feed/public-api/v1/organization-feed
Header Parameters
| Parameter | Optional/Required | Description |
|---|---|---|
|
Required |
Community Token (You can get information on Authentication). |
URL Parameters
| Parameter | Optional/Required | Description |
|---|---|---|
|
Required |
String value with the Hashtag you are looking for. |
|
Optional |
Page to find the records. It starts at 0. Default 0. |
|
Optional |
The amount of records wanted to be returned in the page. Default 10. |
|
Optional |
Field name used for filter by application. Default value is SMU". |
Response
HTTP/1.1 200 OK
Example:
{
"result": [
{
"id": 85734,
"type": "CORE_VALUE",
"date": "Sep 09, 2022 01:32:18 PM",
"application": "StarMeUp",
"data": {
"id": 1629948,
"date": "Sep 09, 2022 06:32:18 PM",
"to": {
"id": 446340,
"firstName": "Arturo dos",
"lastName": "pi",
"fullName": "Arturo dos pi",
"enabled": true,
"identification": "Arturo2",
"profileImageCode": "avatar6",
"uid": "88ac3ba537a87029c22474b15476dfc3"
},
"from": {
"id": 1011568,
"firstName": "JuanDomingo",
"lastName": "Perdon",
"fullName": "JuanDomingo Perdon",
"enabled": true,
"identification": "juandomingo",
"profileImageCode": "fzkutpjzbpuoipdizgsq_jpg",
"uid": "54131cda9f92ee422ae8e5a578acb850"
},
"starMeUpOrganizationStar": {
"id": 170464,
"name": "flyweight backpack",
"imageId": 2,
"imageCode": "kihsnlfzpozkgizcckij",
"backgroundColor": "#ffce7a"
},
"enabled": true,
"typeStar": "C",
"isEditable": false,
"isShareable": false,
"quantityUsersKudos": 0,
"quantityNotShowed": 0,
"comments": [
{
"id": 2198233,
"user": {
"id": 1062153,
"email": "genesis.rodriguez@globant.com",
"firstName": "Usuario",
"lastName": "sin estrellas",
"fullName": "Usuario sin estrellas",
"job": "QC",
"enabled": true,
"identification": "SinE1",
"profileImageId": 1,
"profileImageCode": "bcuybmtopbdmnktpzlwj_png",
"account": "",
"project": "SMU",
"officeName": "BANDERA",
"phoneNumber": "3002062964",
"uid": "dbece8b6f323d3774b10d62b2a430149"
},
"type": "COMMENT",
"dateComment": "Sep 09, 2022 08:08:16 PM",
"comments": "Test #gene2",
"listMentions": [],
"enabled": true,
"imageCode": null
},
{
"id": 2198232,
"user": {
"id": 1069783,
"email": "f.castaneda@globant.com",
"firstName": "Amelie",
"lastName": "Testing",
"fullName": "Amelie Testing",
"job": "QC",
"enabled": true,
"identification": "survey3",
"profileImageId": 209275,
"profileImageCode": "whreaygtocaxbhbitieh_png",
"account": "SMU",
"project": "Rock",
"officeName": "Montevideo",
"uid": "0383088ecd3de077844a4c486b592b71"
},
"type": "COMMENT",
"dateComment": "Sep 09, 2022 07:20:53 PM",
"comments": "tst1",
"listMentions": [],
"enabled": true,
"imageCode": null
},
{
"id": 2198228,
"user": {
"id": 1011568,
"email": "ignacio.mazzola@globant.com",
"firstName": "JuanDomingo",
"lastName": "Perdon",
"fullName": "JuanDomingo Perdon",
"enabled": true,
"identification": "juandomingo",
"profileImageId": 1,
"profileImageCode": "fzkutpjzbpuoipdizgsq_jpg",
"area": "Quality area",
"account": "Account 1",
"project": "SMU",
"officeName": "Laminar",
"phoneNumber": "1234556",
"uid": "54131cda9f92ee422ae8e5a578acb850"
},
"type": "COMMENT",
"dateComment": "Sep 09, 2022 06:32:53 PM",
"comments": "Ccccc",
"listMentions": [],
"enabled": true,
"imageCode": null
}
],
"listUsersKudos": [],
"notes": "Llllllll ",
"listMentions": [],
"liftState": 0,
"usersLift": [],
"quantityUsersLift": 0,
"quantityLikes": 0,
"quantityComments": 3,
"imageCode": null,
"hashtagDTOs": [
{
"hashtag": "gene2",
"hid": null,
"uses": null
}
]
}
}
],
"page": {
"totalElements": 10
}
}
Errors
HTTP/1.1 400 Bad Request, 401 Unauthorized, 403 Forbidden, 404 Not Found, 406 Not Acceptable
Example:
{
"timestamp": "2019-06-26",
"message": "Internal Server Error",
"details": "The hashTag wasn’t found",
"type": "uri=/starmeup/public-api/v1/posts",
"title": "Internal Server Error",
"detail": "An unexpected or uncontrolled error has occurred in the application."
}
