Managing Content
Check out our custom Rad TV Developer API chatbot here. (free or premium OpenAI account required)
Working with Content
The Rad TV Developer API provides robust capabilities for managing content within your channel. Using GraphQL mutations, you can create, update, and organize content programmatically.
Creating Content
To create content, use the createContent
mutation. This operation requires a channel
identifier and a ContentInput
object to specify the content metadata.
GraphQL Mutation Example:
Expected Response:
Updating Content
To update existing content, use the updateContent
mutation. Specify the content ID and the fields to be updated.
GraphQL Mutation Example:
Expected Response:
Best Practices
Validate Content Metadata: Ensure all required fields in the metadata are populated.
Handle Errors Gracefully: Implement error handling for cases like invalid input or insufficient permissions.
Organize Content: Use meaningful names and summaries for easier management and discoverability.
Last updated