Appearance
Curl SDK - Feeds API
About 478 wordsAbout 2 min
Comprehensive code examples for the Stream feeds curl SDK.
Quick Navigation
- Common (43 methods)
- Feeds (69 methods)
- Moderation (12 methods)
- Types Reference - interfaces for API requests/responses
Overview
This documentation covers 124 API methods across 3 categories.
Installation
See SDK documentation for installation instructions.
Basic Setup
See SDK documentation for setup instructions.
Categories
Common
GetApp()- Retrieve the current application settings to understand and verify the configuration of your app. Use this method when you need to access or review the app's settings for troubleshooting or validation purposes.ListBlockLists()- Obtain a list of all block lists to manage or review the existing lists effectively. Use this method when you need a comprehensive overview of all block lists in your system.CreateBlockList()- Establish a new block list to prevent certain elements from interacting with your application. This method is essential when introducing new restrictions or security measures.UpdateBlockList()- Modify an existing block list to add, remove, or change its entries. This is useful when updating the list to reflect new restrictions or allow previously blocked interactions.DeleteBlockList()- Remove a block list to eliminate its restrictions from your application. Use this method when a block list is no longer needed, or when consolidating lists for efficiency.- ... and 38 more methods
Feeds
AddActivity()- Add a single activity to a feed, allowing users to share updates or events. Use this when you want to introduce new content to a feed.UpsertActivities()- Add or update multiple activities in a batch, optimizing feed management by ensuring activities are current and efficiently handled. Use this for bulk operations where activities might need to be created or modified.DeleteActivities()- Remove multiple activities from a feed to keep it relevant and tidy. Use this when you need to clear outdated or unwanted content from a feed.TrackActivityMetrics()- Monitors and records user interactions with activities, providing insights into user engagement and behavior. Use this to analyze activity trends and optimize content strategy.QueryActivities()- Retrieve a list of activities based on specific criteria, enabling users to access relevant content quickly. Use this to filter and display activities that match certain conditions.- ... and 64 more methods
Moderation
appeal()- Submit a request to review and potentially overturn a moderation decision; use this when you believe a moderation action was taken in error.get_appeal()- Retrieve details about a specific appeal, allowing you to track the status and outcome of your request for review.query_appeals()- Search and filter through multiple appeals to manage and assess ongoing or past moderation challenges effectively.ban()- Restrict a user from accessing services or content, useful when enforcing community guidelines and maintaining a safe environment.upsert_config()- Create or update rules for content moderation, enabling customization and refinement of moderation strategies to suit specific needs.- ... and 7 more methods
Generated from Stream OpenAPI specification