Skip to content

Commit ecc6a16

Browse files
committed
add examples for polls
1 parent 6bbf4f7 commit ecc6a16

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

postman/threads-api.postman_collection.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,7 +1646,7 @@
16461646
}
16471647
],
16481648
"cookie": [],
1649-
"body": "{\n \"id\": \"string\",\n \"media_product_type\": \"THREADS\",\n \"media_type\": \"TEXT_POST\",\n \"permalink\": \"string\",\n \"owner\": {\n \"id\": \"string\"\n },\n \"username\": \"string\",\n \"text\": \"This is a test post\",\n \"timestamp\": \"2024-09-12T23:17:39+0000\",\n \"shortcode\": \"string\",\n \"is_quote_post\": false,\n \"has_replies\": false\n}"
1649+
"body": "{\n \"id\": \"string\",\n \"media_product_type\": \"THREADS\",\n \"media_type\": \"TEXT_POST\",\n \"permalink\": \"string\",\n \"owner\": {\n \"id\": \"string\"\n },\n \"username\": \"string\",\n \"text\": \"This is a test post\",\n \"timestamp\": \"2024-09-12T23:17:39+0000\",\n \"shortcode\": \"string\",\n \"is_quote_post\": false,\n \"has_replies\": false,\n \"poll_attachment\": {\n \"option_a\": \"first\",\n \"option_b\": \"second\",\n \"option_c\": \"third\",\n \"option_d\": \"fourth\",\n \"option_a_votes_percentage\": 0.25,\n \"option_b_votes_percentage\": 0.25,\n \"option_c_votes_percentage\": 0.25,\n \"option_d_votes_percentage\": 0.25,\n \"expiration_timestamp\": \"2024-09-12T23:17:39+0000\"\n }\n}"
16501650
}
16511651
]
16521652
},
@@ -1769,7 +1769,7 @@
17691769
}
17701770
],
17711771
"cookie": [],
1772-
"body": "{\n \"data\": [\n {\n \"id\": \"string\",\n \"media_product_type\": \"THREADS\",\n \"media_type\": \"TEXT_POST\",\n \"permalink\": \"string\",\n \"owner\": {\n \"id\": \"string\"\n },\n \"username\": \"string\",\n \"text\": \"This is a test post\",\n \"timestamp\": \"2024-09-12T23:17:39+0000\",\n \"shortcode\": \"string\",\n \"is_quote_post\": false,\n \"has_replies\": false\n }\n ],\n \"paging\": {\n \"cursors\": {\n \"before\": \"string\",\n \"after\": \"string\"\n }\n }\n}"
1772+
"body": "{\n \"data\": [\n {\n \"id\": \"string\",\n \"media_product_type\": \"THREADS\",\n \"media_type\": \"TEXT_POST\",\n \"permalink\": \"string\",\n \"owner\": {\n \"id\": \"string\"\n },\n \"username\": \"string\",\n \"text\": \"This is a test post\",\n \"timestamp\": \"2024-09-12T23:17:39+0000\",\n \"shortcode\": \"string\",\n \"is_quote_post\": false,\n \"has_replies\": false,\n \"poll_attachment\": {\n \"option_a\": \"first\",\n \"option_b\": \"second\",\n \"option_c\": \"third\",\n \"option_d\": \"fourth\",\n \"option_a_votes_percentage\": 0.25,\n \"option_b_votes_percentage\": 0.25,\n \"option_c_votes_percentage\": 0.25,\n \"option_d_votes_percentage\": 0.25,\n \"expiration_timestamp\": \"2024-09-12T23:17:39+0000\"\n }\n }\n ],\n \"paging\": {\n \"cursors\": {\n \"before\": \"string\",\n \"after\": \"string\"\n }\n }\n}"
17731773
}
17741774
]
17751775
}

0 commit comments

Comments
 (0)