v24
Public Feeds
An overview of Public feeds
Public feeds are JSON feeds provided as an alternative way for a client app to access published content and listings by client applications. They are hosted on a CDN and have high-volume capacity.
There Are two types of feeds:
  • All Elements - includes all elements.
  • All Published - includes only published elements.

An example of feed json file:

1
{
2
"generated_at": 1555658936,
3
"elements": [
4
{
5
"id": "c1ca0c7b-cf71-4c38-bc36-6a7329038af6",
6
"frame_type": "rpoll",
7
"is_published": true,
8
"start_mode": "timecode",
9
"updated_at": 1555658664,
10
"updated_at_iso": "2019-04-19T07:24:24Z",
11
"duration": 270,
12
"results": [
13
{
14
"votes": 0,
15
"percentage": 0
16
},
17
{
18
"votes": 0,
19
"percentage": 0
20
}
21
],
22
"results_per_source": [
23
{
24
"source": "regular",
25
"voters": 0,
26
"results": [
27
{
28
"votes": 0,
29
"percentage": 0
30
},
31
{
32
"votes": 0,
33
"percentage": 0
34
}
35
]
36
}
37
],
38
"results_are_final": true,
39
"votes": 0,
40
"min_options_per_vote": 1,
41
"max_options_per_vote": 2,
42
"question": {
43
"en": {
44
"text": "What is the best pet in the World?"
45
},
46
"all": {
47
"text": "What is the best pet in the World?"
48
}
49
},
50
"options": {
51
"en": [
52
{
53
"text": "Dog"
54
},
55
{
56
"text": "Cat"
57
}
58
],
59
"all": [
60
{
61
"text": "Dog"
62
},
63
{
64
"text": "Cat"
65
}
66
]
67
},
68
"max_votes_per_user": 2,
69
"max_votes_per_option": 1,
70
"reveal_results_mode": "vote",
71
"labels": {
72
"element": "What is the best pet in the World?",
73
"question": "What is the best pet in the World?",
74
"options": [
75
"Dog",
76
"Cat"
77
]
78
},
79
"fixed": true,
80
"use_certification": false,
81
"requires_validated_user": false,
82
"content_type": "rpoll-custom",
83
"custom_fields": {
84
"en": {
85
"text_during_poll": "Make your decision now...",
86
"text_after_poll": "Poll closed",
87
"text_after_answering": "Thanks for answering"
88
},
89
"all": {
90
"text_during_poll": "Make your decision now...",
91
"text_after_poll": "Poll closed",
92
"text_after_answering": "Thanks for answering"
93
}
94
}
95
}
96
]
97
}
Copied!

Do not use PRIVATE feeds for end-user access

Public feeds can be used by client apps, but Private feeds are intended for server-to-server low volume communication.
Last modified 2yr ago