Skip to content

Commit 7ce9f2c

Browse files
committed
Update docs
1 parent fcaaee7 commit 7ce9f2c

37 files changed

+588
-103
lines changed

.github/workflows/update-docs.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,6 @@ jobs:
3131
if [ -d "api-reference/tweets" ]; then
3232
mv api-reference/tweets api-reference/posts
3333
fi
34-
if [ -d "api-reference/mediaupload" ]; then
35-
mv api-reference/mediaupload/* api-reference/media
36-
fi
37-
if [ -d "api-reference/aaasubscriptions" ]; then
38-
mv api-reference/aaasubscriptions api-reference/account-activity
39-
fi
4034
# Add more rename commands here if needed, e.g.:
4135
# if [ -d "api-reference/other" ]; then
4236
# mv api-reference/other api-reference/newname

docs.json

Lines changed: 129 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -254,9 +254,9 @@
254254
"x-api/posts/timelines/integrate"
255255
]
256256
},
257-
"x-api/posts/get-posts",
258-
"x-api/posts/get-mentions",
259-
"x-api/posts/get-timeline"
257+
"x-api/users/get-posts",
258+
"x-api/users/get-mentions",
259+
"x-api/users/get-timeline"
260260
]
261261
},
262262
{
@@ -294,13 +294,13 @@
294294
{
295295
"group": "Bookmark Folders",
296296
"pages": [
297-
"x-api/bookmarks/get-bookmark-folders",
297+
"x-api/users/get-bookmark-folders",
298298
"x-api/bookmarks/get-bookmarks-by-folder-id"
299299
]
300300
},
301-
"x-api/bookmarks/get-bookmarks",
302-
"x-api/bookmarks/create-bookmark",
303-
"x-api/bookmarks/delete-bookmark"
301+
"x-api/users/get-bookmarks",
302+
"x-api/users/create-bookmark",
303+
"x-api/users/delete-bookmark"
304304
]
305305
},
306306
{
@@ -336,9 +336,9 @@
336336
"x-api/posts/retweets/integrate"
337337
]
338338
},
339-
"x-api/users/get-reposted-by",
340-
"x-api/posts/repost-post",
341-
"x-api/posts/unrepost-post",
339+
"x-api/posts/get-reposted-by",
340+
"x-api/users/repost-post",
341+
"x-api/users/unrepost-post",
342342
"x-api/posts/get-reposts",
343343
"x-api/users/get-reposts-of-me"
344344
]
@@ -530,10 +530,10 @@
530530
}
531531
]
532532
},
533-
"x-api/posts/get-liked-posts",
534-
"x-api/users/get-liking-users",
535-
"x-api/posts/like-post",
536-
"x-api/posts/unlike-post"
533+
"x-api/users/get-liked-posts",
534+
"x-api/posts/get-liking-users",
535+
"x-api/users/like-post",
536+
"x-api/users/unlike-post"
537537
]
538538
},
539539
{
@@ -551,8 +551,8 @@
551551
]
552552
},
553553
"x-api/lists/get-list-by-id",
554-
"x-api/lists/get-followed-lists",
555-
"x-api/lists/get-owned-lists"
554+
"x-api/users/get-followed-lists",
555+
"x-api/users/get-owned-lists"
556556
]
557557
},
558558
{
@@ -566,7 +566,7 @@
566566
"x-api/lists/list-tweets/integrate"
567567
]
568568
},
569-
"x-api/posts/get-list-posts"
569+
"x-api/lists/get-list-posts"
570570
]
571571
},
572572
{
@@ -583,8 +583,8 @@
583583
"x-api/lists/create-list",
584584
"x-api/lists/update-list",
585585
"x-api/lists/delete-list",
586-
"x-api/lists/follow-list",
587-
"x-api/lists/unfollow-list"
586+
"x-api/users/follow-list",
587+
"x-api/users/unfollow-list"
588588
]
589589
},
590590
{
@@ -615,9 +615,9 @@
615615
{
616616
"group": "Lookup",
617617
"pages": [
618-
"x-api/lists/get-list-memberships",
619-
"x-api/users/get-list-followers",
620-
"x-api/users/get-list-members"
618+
"x-api/users/get-list-memberships",
619+
"x-api/lists/get-list-followers",
620+
"x-api/lists/get-list-members"
621621
]
622622
}
623623
]
@@ -640,9 +640,9 @@
640640
"x-api/lists/pinned-lists/integrate"
641641
]
642642
},
643-
"x-api/lists/get-pinned-lists",
644-
"x-api/lists/pin-list",
645-
"x-api/lists/unpin-list"
643+
"x-api/users/get-pinned-lists",
644+
"x-api/users/pin-list",
645+
"x-api/users/unpin-list"
646646
]
647647
}
648648
]
@@ -1578,6 +1578,110 @@
15781578
{
15791579
"source": "/x-api/webhooks/webhook-crc-check",
15801580
"destination": "/x-api/webhooks/validate-webhook"
1581+
},
1582+
{
1583+
"source": "/x-api/posts/get-posts",
1584+
"destination": "/x-api/users/get-posts"
1585+
},
1586+
{
1587+
"source": "/x-api/posts/get-mentions",
1588+
"destination": "/x-api/users/get-mentions"
1589+
},
1590+
{
1591+
"source": "/x-api/posts/get-timeline",
1592+
"destination": "/x-api/users/get-timeline"
1593+
},
1594+
{
1595+
"source": "/x-api/bookmarks/get-bookmark-folders",
1596+
"destination": "/x-api/users/get-bookmark-folders"
1597+
},
1598+
{
1599+
"source": "/x-api/bookmarks/get-bookmarks-by-folder-id",
1600+
"destination": "/x-api/users/get-bookmarks-by-folder-id"
1601+
},
1602+
{
1603+
"source": "/x-api/bookmarks/get-bookmarks",
1604+
"destination": "/x-api/users/get-bookmarks"
1605+
},
1606+
{
1607+
"source": "/x-api/bookmarks/create-bookmark",
1608+
"destination": "/x-api/users/create-bookmark"
1609+
},
1610+
{
1611+
"source": "/x-api/bookmarks/delete-bookmark",
1612+
"destination": "/x-api/users/delete-bookmark"
1613+
},
1614+
{
1615+
"source": "/x-api/users/get-reposted-by",
1616+
"destination": "/x-api/posts/get-reposted-by"
1617+
},
1618+
{
1619+
"source": "/x-api/posts/repost-post",
1620+
"destination": "/x-api/users/repost-post"
1621+
},
1622+
{
1623+
"source": "/x-api/posts/unrepost-post",
1624+
"destination": "/x-api/users/unrepost-post"
1625+
},
1626+
{
1627+
"source": "/x-api/posts/get-liked-posts",
1628+
"destination": "/x-api/users/get-liked-posts"
1629+
},
1630+
{
1631+
"source": "/x-api/users/get-liking-users",
1632+
"destination": "/x-api/posts/get-liking-users"
1633+
},
1634+
{
1635+
"source": "/x-api/posts/like-post",
1636+
"destination": "/x-api/users/like-post"
1637+
},
1638+
{
1639+
"source": "/x-api/posts/unlike-post",
1640+
"destination": "/x-api/users/unlike-post"
1641+
},
1642+
{
1643+
"source": "/x-api/lists/get-followed-lists",
1644+
"destination": "/x-api/users/get-followed-lists"
1645+
},
1646+
{
1647+
"source": "/x-api/lists/get-owned-lists",
1648+
"destination": "/x-api/users/get-owned-lists"
1649+
},
1650+
{
1651+
"source": "/x-api/posts/get-list-posts",
1652+
"destination": "/x-api/lists/get-list-posts"
1653+
},
1654+
{
1655+
"source": "/x-api/lists/follow-list",
1656+
"destination": "/x-api/users/follow-list"
1657+
},
1658+
{
1659+
"source": "/x-api/lists/unfollow-list",
1660+
"destination": "/x-api/users/unfollow-list"
1661+
},
1662+
{
1663+
"source": "/x-api/lists/get-list-memberships",
1664+
"destination": "/x-api/users/get-list-memberships"
1665+
},
1666+
{
1667+
"source": "/x-api/users/get-list-followers",
1668+
"destination": "/x-api/lists/get-list-followers"
1669+
},
1670+
{
1671+
"source": "/x-api/users/get-list-members",
1672+
"destination": "/x-api/lists/get-list-members"
1673+
},
1674+
{
1675+
"source": "/x-api/lists/get-pinned-lists",
1676+
"destination": "/x-api/users/get-pinned-lists"
1677+
},
1678+
{
1679+
"source": "/x-api/lists/pin-list",
1680+
"destination": "/x-api/users/pin-list"
1681+
},
1682+
{
1683+
"source": "/x-api/lists/unpin-list",
1684+
"destination": "/x-api/users/unpin-list"
15811685
}
15821686
]
15831687
}

0 commit comments

Comments
 (0)