Bluesky endpoints
Bluesky endpoints in the Siar social media API: 2 operations that exist on Bluesky only, with parameters, body fields, responses and curl examples.
Updated
These operations exist for Bluesky only. The shared operations (posts, comments, analytics) are in the API reference; all network-specific areas are listed under network-specific operations.
Operations
| Operation | Method and path |
|---|---|
| Delete a Bluesky post | DELETE /api/v1/misc/bluesky/post |
| Delete a Bluesky comment | DELETE /api/v1/misc/bluesky/comment |
/api/v1/misc/bluesky/post Delete a Bluesky post
misc.bluesky.deletePost · requires x-api-key
Request body application/json
-
teamIdstring required -
postIdstring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/bluesky/post" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"postId": "POST_ID"
}' Response 200
1 top-level fields
-
successboolean required
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error
/api/v1/misc/bluesky/comment Delete a Bluesky comment
misc.bluesky.deleteComment · requires x-api-key
Request body application/json
-
teamIdstring required -
commentIdstring required
Example
curl -X DELETE "https://api.siaran.my/api/v1/misc/bluesky/comment" \
-H "x-api-key: $SIAR_API_KEY" \
-H "content-type: application/json" \
-d '{
"teamId": "TEAM_ID",
"commentId": "COMMENT_ID"
}' Response 200
Same fields as the response of Delete a Bluesky post.
Errors: 400 Validation failed · 401 Missing or invalid API key · 403 Plan limit or permission · 404 Not found · 429 Rate limited · 500 Server error · 502 Network error