Skip to content

Commit 22a0731

Browse files
chore: sync OpenAPI spec and generated SDK v3.0.41
# OpenAPI Sync Summary - Paths: 324 -> 325 - Tags: 34 -> 34 - Added operationId count: 1 - Removed operationId count: 0 - Changed operationId count: 0 ## Added operationId - getApiFacebookGetCommentRepliesV1 [GET /api/facebook/get-comment-replies/v1] ## Removed operationId - None ## Changed operationId - None
1 parent f36764b commit 22a0731

4 files changed

Lines changed: 205 additions & 3 deletions

File tree

justoneapi/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "3.0.40"
1+
__version__ = "3.0.41"

justoneapi/generated/resources/facebook.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,29 @@ def get_post_comments_v1(
103103
"cursor": cursor,
104104
},
105105
)
106+
107+
def get_comment_replies_v1(
108+
self,
109+
*,
110+
post_id: str,
111+
comment_id: str,
112+
expansion_token: str,
113+
) -> ApiResponse[Any]:
114+
"""
115+
Comment Replies
116+
117+
Retrieves replies to a specific Facebook post comment using the legacy post ID, comment ID, and expansion token. Use it to inspect a known comment's nested discussion.
118+
119+
Args:
120+
post_id: The legacy numeric identifier of the Facebook post.
121+
comment_id: The unique identifier of the parent Facebook comment.
122+
expansion_token: The expansion token associated with the parent Facebook comment.
123+
"""
124+
return self._get(
125+
"/api/facebook/get-comment-replies/v1",
126+
{
127+
"postId": post_id,
128+
"commentId": comment_id,
129+
"expansionToken": expansion_token,
130+
},
131+
)

openapi/public-api.json

Lines changed: 88 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8882,6 +8882,93 @@
88828882
]
88838883
}
88848884
},
8885+
"/api/facebook/get-comment-replies/v1": {
8886+
"get": {
8887+
"description": "Retrieves replies to a specific Facebook post comment using the legacy post ID, comment ID, and expansion token. Use it to inspect a known comment's nested discussion.",
8888+
"operationId": "getApiFacebookGetCommentRepliesV1",
8889+
"parameters": [
8890+
{
8891+
"description": "User security token for API access authentication.",
8892+
"in": "query",
8893+
"name": "token",
8894+
"required": true,
8895+
"schema": {
8896+
"type": "string"
8897+
}
8898+
},
8899+
{
8900+
"description": "The legacy numeric identifier of the Facebook post.",
8901+
"in": "query",
8902+
"name": "postId",
8903+
"required": true,
8904+
"schema": {
8905+
"type": "string"
8906+
}
8907+
},
8908+
{
8909+
"description": "The unique identifier of the parent Facebook comment.",
8910+
"in": "query",
8911+
"name": "commentId",
8912+
"required": true,
8913+
"schema": {
8914+
"type": "string"
8915+
}
8916+
},
8917+
{
8918+
"description": "The expansion token associated with the parent Facebook comment.",
8919+
"in": "query",
8920+
"name": "expansionToken",
8921+
"required": true,
8922+
"schema": {
8923+
"type": "string"
8924+
}
8925+
}
8926+
],
8927+
"responses": {
8928+
"200": {
8929+
"content": {
8930+
"application/json": {
8931+
"schema": {
8932+
"$ref": "#/components/schemas/Result"
8933+
}
8934+
}
8935+
},
8936+
"description": "OK"
8937+
},
8938+
"400": {
8939+
"$ref": "#/components/responses/ResultBadRequestResponse"
8940+
},
8941+
"401": {
8942+
"$ref": "#/components/responses/ResultUnauthorizedResponse"
8943+
},
8944+
"403": {
8945+
"$ref": "#/components/responses/ResultForbiddenResponse"
8946+
},
8947+
"429": {
8948+
"$ref": "#/components/responses/ResultTooManyRequestsResponse"
8949+
},
8950+
"500": {
8951+
"$ref": "#/components/responses/ResultInternalServerErrorResponse"
8952+
}
8953+
},
8954+
"summary": "Comment Replies",
8955+
"tags": [
8956+
"Facebook"
8957+
],
8958+
"x-api-version": "v1",
8959+
"x-endpoint-family": "facebook_get_comment_replies",
8960+
"x-highlights": [],
8961+
"x-order": "30001040",
8962+
"x-search-aliases": [
8963+
"Facebook comment replies API",
8964+
"Facebook nested comments",
8965+
"Facebook replies by comment ID",
8966+
"Facebook 评论回复",
8967+
"Facebook 二级评论",
8968+
"Facebook 按评论 ID 查询回复"
8969+
]
8970+
}
8971+
},
88858972
"/api/facebook/get-post-comments/v1": {
88868973
"get": {
88878974
"description": "Retrieves comments for a Facebook post ID with cursor pagination. Use it to review discussion associated with a known public post or continue through subsequent comment pages.",
@@ -29851,5 +29938,5 @@
2985129938
"x-platform-id": "1688"
2985229939
}
2985329940
],
29854-
"x-openapi-release-id": "d911484136a76293"
29941+
"x-openapi-release-id": "11ecad97c23ac56c"
2985529942
}

openapi/public-api.normalized.json

Lines changed: 90 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9042,6 +9042,95 @@
90429042
]
90439043
}
90449044
},
9045+
"/api/facebook/get-comment-replies/v1": {
9046+
"get": {
9047+
"description": "Retrieves replies to a specific Facebook post comment using the legacy post ID, comment ID, and expansion token. Use it to inspect a known comment's nested discussion.",
9048+
"operationId": "getApiFacebookGetCommentRepliesV1",
9049+
"parameters": [
9050+
{
9051+
"description": "The legacy numeric identifier of the Facebook post.",
9052+
"in": "query",
9053+
"name": "postId",
9054+
"required": true,
9055+
"schema": {
9056+
"type": "string"
9057+
},
9058+
"x-sdk-python-name": "post_id"
9059+
},
9060+
{
9061+
"description": "The unique identifier of the parent Facebook comment.",
9062+
"in": "query",
9063+
"name": "commentId",
9064+
"required": true,
9065+
"schema": {
9066+
"type": "string"
9067+
},
9068+
"x-sdk-python-name": "comment_id"
9069+
},
9070+
{
9071+
"description": "The expansion token associated with the parent Facebook comment.",
9072+
"in": "query",
9073+
"name": "expansionToken",
9074+
"required": true,
9075+
"schema": {
9076+
"type": "string"
9077+
},
9078+
"x-sdk-python-name": "expansion_token"
9079+
}
9080+
],
9081+
"responses": {
9082+
"200": {
9083+
"content": {
9084+
"application/json": {
9085+
"schema": {
9086+
"$ref": "#/components/schemas/Result"
9087+
}
9088+
}
9089+
},
9090+
"description": "OK"
9091+
},
9092+
"400": {
9093+
"$ref": "#/components/responses/ResultBadRequestResponse"
9094+
},
9095+
"401": {
9096+
"$ref": "#/components/responses/ResultUnauthorizedResponse"
9097+
},
9098+
"403": {
9099+
"$ref": "#/components/responses/ResultForbiddenResponse"
9100+
},
9101+
"429": {
9102+
"$ref": "#/components/responses/ResultTooManyRequestsResponse"
9103+
},
9104+
"500": {
9105+
"$ref": "#/components/responses/ResultInternalServerErrorResponse"
9106+
}
9107+
},
9108+
"security": [
9109+
{
9110+
"tokenAuth": []
9111+
}
9112+
],
9113+
"summary": "Comment Replies",
9114+
"tags": [
9115+
"Facebook"
9116+
],
9117+
"x-api-version": "v1",
9118+
"x-endpoint-family": "facebook_get_comment_replies",
9119+
"x-highlights": [],
9120+
"x-order": "30001040",
9121+
"x-sdk-class-name": "FacebookResource",
9122+
"x-sdk-method-name": "get_comment_replies_v1",
9123+
"x-sdk-resource": "facebook",
9124+
"x-search-aliases": [
9125+
"Facebook comment replies API",
9126+
"Facebook nested comments",
9127+
"Facebook replies by comment ID",
9128+
"Facebook 评论回复",
9129+
"Facebook 二级评论",
9130+
"Facebook 按评论 ID 查询回复"
9131+
]
9132+
}
9133+
},
90459134
"/api/facebook/get-post-comments/v1": {
90469135
"get": {
90479136
"description": "Retrieves comments for a Facebook post ID with cursor pagination. Use it to review discussion associated with a known public post or continue through subsequent comment pages.",
@@ -30453,5 +30542,5 @@
3045330542
"x-platform-id": "1688"
3045430543
}
3045530544
],
30456-
"x-openapi-release-id": "d911484136a76293"
30545+
"x-openapi-release-id": "11ecad97c23ac56c"
3045730546
}

0 commit comments

Comments
 (0)