Skip to content

Commit 16b42e4

Browse files
authored
Merge pull request #42 from fbsamples/resync-postman-collection
Re-sync the Postman collection
2 parents cf00f03 + 0e41653 commit 16b42e4

1 file changed

Lines changed: 85 additions & 13 deletions

File tree

postman/threads-api.postman_collection.json

Lines changed: 85 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,8 @@
504504
},
505505
{
506506
"key": "auto_publish_text",
507-
"value": "true"
507+
"value": "true",
508+
"description": "When this optional flag is passed, a Threads post is published automatically when a Threads media container is created without needing to go through the extra publish step."
508509
}
509510
]
510511
}
@@ -595,7 +596,7 @@
595596
},
596597
{
597598
"key": "location_id",
598-
"value": null,
599+
"value": "{{location_id}}",
599600
"description": "The ID of the location being tagged.",
600601
"disabled": true
601602
}
@@ -650,6 +651,18 @@
650651
"value": null,
651652
"description": "Required if replying to a specific post.",
652653
"disabled": true
654+
},
655+
{
656+
"key": "topic_tag",
657+
"value": "ThreadsAPI",
658+
"description": "The topic to add to a post.",
659+
"disabled": true
660+
},
661+
{
662+
"key": "location_id",
663+
"value": "{{location_id}}",
664+
"description": "The ID of the location being tagged.",
665+
"disabled": true
653666
}
654667
]
655668
}
@@ -740,7 +753,7 @@
740753
},
741754
{
742755
"key": "location_id",
743-
"value": null,
756+
"value": "{{location_id}}",
744757
"description": "The ID of the location being tagged.",
745758
"disabled": true
746759
}
@@ -795,6 +808,18 @@
795808
"value": null,
796809
"description": "Required if replying to a specific post.",
797810
"disabled": true
811+
},
812+
{
813+
"key": "topic_tag",
814+
"value": "ThreadsAPI",
815+
"description": "The topic to add to a post.",
816+
"disabled": true
817+
},
818+
{
819+
"key": "location_id",
820+
"value": "{{location_id}}",
821+
"description": "The ID of the location being tagged.",
822+
"disabled": true
798823
}
799824
]
800825
}
@@ -1184,6 +1209,30 @@
11841209
"key": "text",
11851210
"value": "This is a carousel.",
11861211
"description": "The text associated with the post. This is optional on carousel posts."
1212+
},
1213+
{
1214+
"key": "reply_control",
1215+
"value": "everyone",
1216+
"description": "Can be used to specify who can reply to a post.",
1217+
"disabled": true
1218+
},
1219+
{
1220+
"key": "reply_to_id",
1221+
"value": null,
1222+
"description": "Required if replying to a specific post.",
1223+
"disabled": true
1224+
},
1225+
{
1226+
"key": "topic_tag",
1227+
"value": "ThreadsAPI",
1228+
"description": "The topic to add to a post.",
1229+
"disabled": true
1230+
},
1231+
{
1232+
"key": "location_id",
1233+
"value": "{{location_id}}",
1234+
"description": "The ID of the location being tagged.",
1235+
"disabled": true
11871236
}
11881237
]
11891238
},
@@ -1219,6 +1268,30 @@
12191268
"key": "text",
12201269
"value": "This is a carousel",
12211270
"description": "(Optional.) The text associated with the post."
1271+
},
1272+
{
1273+
"key": "reply_control",
1274+
"value": "everyone",
1275+
"description": "Can be used to specify who can reply to a post.",
1276+
"disabled": true
1277+
},
1278+
{
1279+
"key": "reply_to_id",
1280+
"value": null,
1281+
"description": "Required if replying to a specific post.",
1282+
"disabled": true
1283+
},
1284+
{
1285+
"key": "topic_tag",
1286+
"value": "ThreadsAPI",
1287+
"description": "The topic to add to a post.",
1288+
"disabled": true
1289+
},
1290+
{
1291+
"key": "location_id",
1292+
"value": "{{location_id}}",
1293+
"description": "The ID of the location being tagged.",
1294+
"disabled": true
12221295
}
12231296
]
12241297
}
@@ -1619,7 +1692,7 @@
16191692
"method": "GET",
16201693
"header": [],
16211694
"url": {
1622-
"raw": "{{api_host}}/location_search?q=Menlo Park&fields={{fields_locations}}",
1695+
"raw": "{{api_host}}/location_search?q=Menlo Park&fields={{fields_location}}",
16231696
"host": [
16241697
"{{api_host}}"
16251698
],
@@ -1646,7 +1719,7 @@
16461719
},
16471720
{
16481721
"key": "fields",
1649-
"value": "{{fields_locations}}",
1722+
"value": "{{fields_location}}",
16501723
"description": "List of comma-separated fields for a location."
16511724
}
16521725
]
@@ -1659,7 +1732,7 @@
16591732
"method": "GET",
16601733
"header": [],
16611734
"url": {
1662-
"raw": "{{api_host}}/location_search?q=Menlo Park&fields={{fields_locations}}",
1735+
"raw": "{{api_host}}/location_search?q=Menlo Park&fields={{fields_location}}",
16631736
"host": [
16641737
"{{api_host}}"
16651738
],
@@ -1686,8 +1759,7 @@
16861759
},
16871760
{
16881761
"key": "fields",
1689-
"value": "{{fields_locations}}",
1690-
"description": "List of comma-separated fields for a location."
1762+
"value": "{{fields_location}}"
16911763
}
16921764
]
16931765
}
@@ -1709,7 +1781,7 @@
17091781
"method": "GET",
17101782
"header": [],
17111783
"url": {
1712-
"raw": "{{api_host}}/{{location_id}}?fields={{fields_locations}}",
1784+
"raw": "{{api_host}}/{{location_id}}?fields={{fields_location}}",
17131785
"host": [
17141786
"{{api_host}}"
17151787
],
@@ -1719,7 +1791,7 @@
17191791
"query": [
17201792
{
17211793
"key": "fields",
1722-
"value": "{{fields_locations}}",
1794+
"value": "{{fields_location}}",
17231795
"description": "List of comma-separated fields for a location."
17241796
}
17251797
]
@@ -1732,7 +1804,7 @@
17321804
"method": "GET",
17331805
"header": [],
17341806
"url": {
1735-
"raw": "{{api_host}}/{{location_id}}?fields={{fields_locations}}",
1807+
"raw": "{{api_host}}/{{location_id}}?fields={{fields_location}}",
17361808
"host": [
17371809
"{{api_host}}"
17381810
],
@@ -1742,7 +1814,7 @@
17421814
"query": [
17431815
{
17441816
"key": "fields",
1745-
"value": "{{fields_locations}}",
1817+
"value": "{{fields_location}}",
17461818
"description": "List of comma-separated fields for a location."
17471819
}
17481820
]
@@ -3517,7 +3589,7 @@
35173589
"type": "string"
35183590
},
35193591
{
3520-
"key": "fields_locations",
3592+
"key": "fields_location",
35213593
"value": "id,address,city,country,name,latitude,longitude,postal_code",
35223594
"type": "string"
35233595
},

0 commit comments

Comments
 (0)