Skip to content

Commit 1d2dd5e

Browse files
committed
Update documentation with latest OpenAPI spec
1 parent 1650c45 commit 1d2dd5e

5 files changed

Lines changed: 8 additions & 20 deletions

File tree

openapi.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20493,6 +20493,10 @@
2049320493
"classification" : {
2049420494
"$ref" : "#/components/schemas/NoteClassification"
2049520495
},
20496+
"is_media_note" : {
20497+
"type" : "boolean",
20498+
"description" : "Whether the note is a media note."
20499+
},
2049620500
"misleading_tags" : {
2049720501
"type" : "array",
2049820502
"items" : {

x-api/users/follow-user.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
---
22
openapi: post /2/users/{id}/following
3-
---
4-
5-
<Warning>
6-
This endpoint requires an [Enterprise plan](/enterprise-api/introduction). It is not available on self-serve (pay-per-use) tiers.
7-
</Warning>
3+
---

x-api/users/like-post.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
---
22
openapi: post /2/users/{id}/likes
3-
---
4-
5-
<Warning>
6-
This endpoint requires an [Enterprise plan](/enterprise-api/introduction). It is not available on self-serve (pay-per-use) tiers.
7-
</Warning>
3+
---

x-api/users/unfollow-user.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
---
22
openapi: delete /2/users/{source_user_id}/following/{target_user_id}
3-
---
4-
5-
<Warning>
6-
This endpoint requires an [Enterprise plan](/enterprise-api/introduction). It is not available on self-serve (pay-per-use) tiers.
7-
</Warning>
3+
---

x-api/users/unlike-post.mdx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
11
---
22
openapi: delete /2/users/{id}/likes/{tweet_id}
3-
---
4-
5-
<Warning>
6-
This endpoint requires an [Enterprise plan](/enterprise-api/introduction). It is not available on self-serve (pay-per-use) tiers.
7-
</Warning>
3+
---

0 commit comments

Comments
 (0)