0[GAME THREAD] Miami Marlins (53-40) @ Baltimore Orioles (55-35) - July 15, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAMEDAY THREAD] Miami Marlins (53-39) @ Baltimore Orioles (54-35) - July 14, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[POSTGAME THREAD] The Baltimore Orioles Defeated the Minnesota Twins by a score of 15-2 - July 09, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[POSTGAME THREAD] The Baltimore Orioles Defeated the Minnesota Twins by a score of 15-2 - July 09, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[POSTGAME THREAD] The Baltimore Orioles Defeated the Minnesota Twins by a score of 15-2 - July 09, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[POSTGAME THREAD] The Baltimore Orioles Defeated the Minnesota Twins by a score of 15-2 - July 09, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[POSTGAME THREAD] The Baltimore Orioles Defeated the Minnesota Twins by a score of 15-2 - July 09, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAMEDAY THREAD] Baltimore Orioles (52-35) @ Minnesota Twins (45-44) - July 08, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAME THREAD] Baltimore Orioles (51-35) @ Minnesota Twins (45-43) - July 07, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAMEDAY THREAD] Baltimore Orioles (51-35) @ Minnesota Twins (45-43) - July 07, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
4[POSTGAME THREAD] The Baltimore Orioles Defeated the New York Yankees by a score of 14-1 - July 06, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAME THREAD] Baltimore Orioles (50-35) @ New York Yankees (48-39) - July 06, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[GAMEDAY THREAD] Baltimore Orioles (50-35) @ New York Yankees (48-39) - July 06, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
3[PREGAME THREAD] Baltimore Orioles (50-35) @ New York Yankees (48-39) - July 06, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
2[POSTGAME THREAD] The Baltimore Orioles Defeated the New York Yankees by a score of 6-3 - July 05, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[GAME THREAD] Baltimore Orioles (49-35) @ New York Yankees (48-38) - July 05, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
1[POSTGAME THREAD] The New York Yankees Defeated the Baltimore Orioles by a score of 8-4 - July 04, 2023 c/49a0cc3e · by aa45cc00@lemmy.world · 3y · 0 comments
on How do you edit an existing post via the API? · c/support · 1 pts · 3yOkay, that did it - just like you said: use a requests.put with those parameters and that's all it needs. Thanks!
on How do you edit an existing post via the API? · c/support · 1 pts · 3yThat's almost certainly what's going wrong. I'm working off of a very basic Python interface for the API that I found. Now I need to figure out how to send PUTs with Python's requests library....
on How do you edit an existing post via the API? · c/support · 1 pts · 3yWait - never mind. It's just creating new posts and not editing the existing one...
on How do you edit an existing post via the API? · c/support · 1 pts · 3yThank you! I got it. I thought all it needed was the id and the body, but you have to supply the name and the community_id as well.
on How do you edit an existing post via the API? · c/support · 1 pts · 3yI should have been more clear - I meant how do you edit an existing post.
Okay, that did it - just like you said: use a requests.put with those parameters and that's all it needs. Thanks!
That's almost certainly what's going wrong. I'm working off of a very basic Python interface for the API that I found. Now I need to figure out how to send PUTs with Python's requests library....
Wait - never mind. It's just creating new posts and not editing the existing one...
Thank you! I got it. I thought all it needed was the id and the body, but you have to supply the name and the community_id as well.I should have been more clear - I meant how do you edit an existing post.
Yes it does!