> ## Documentation Index
> Fetch the complete documentation index at: https://docs.capedigital.co.ke/llms.txt
> Use this file to discover all available pages before exploring further.

# Patch bulletin config

> Base model view set providing standardized CRUD operations and error handling.

This view set enforces consistent response formats, error handling patterns,
and logging across all API endpoints. Subclasses must override the class
variables below.



## OpenAPI

````yaml /openapi/content.yaml patch /api/v1/bulletin-configs/{id}
openapi: 3.0.3
info:
  title: Content Service API
  version: 1.0.0
  description: |2-

        **Content Service API** - Comprehensive content(story) and management system.
        
servers:
  - url: https://api.capedigital.co.ke/content
    description: Production
  - url: http://localhost:8000
    description: Local
security: []
paths:
  /api/v1/bulletin-configs/{id}:
    patch:
      tags:
        - Bulletin Configs
      summary: Patch bulletin config
      description: >-
        Base model view set providing standardized CRUD operations and error
        handling.


        This view set enforces consistent response formats, error handling
        patterns,

        and logging across all API endpoints. Subclasses must override the class

        variables below.
      operationId: bulletin_configs_partial_update
      parameters:
        - in: path
          name: id
          schema:
            type: string
            format: uuid
          description: A UUID string identifying this bulletin config.
          required: true
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PatchedBulletinConfigRequest'
            examples:
              MorningTV:
                value:
                  name: Morning TV Bulletin
                  platform: television
                  slot: morning
                  studio: Studio A
                  slot_duration: '00:30:00'
                  is_active: true
                summary: Morning TV
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/PatchedBulletinConfigRequest'
          multipart/form-data:
            schema:
              $ref: '#/components/schemas/PatchedBulletinConfigRequest'
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BulletinConfig'
              examples:
                MorningTV:
                  value:
                    id: 3c90c3cc-0d44-4b50-8888-8dd25736052a
                    name: Morning TV Bulletin
                    platform: television
                    slot: morning
                    studio: Studio A
                    slot_duration: '00:30:00'
                    is_active: true
                  summary: Morning TV
          description: ''
      security:
        - bearerAuth: []
components:
  schemas:
    PatchedBulletinConfigRequest:
      type: object
      properties:
        name:
          type: string
          minLength: 1
          maxLength: 100
        platform:
          enum:
            - television
            - radio
          type: string
          description: |-
            * `television` - Television
            * `radio` - Radio
          x-spec-enum-id: 562fafbd4b066458
        slot:
          enum:
            - morning
            - midday
            - afternoon
            - evening
            - late_night
            - breaking
          type: string
          description: |-
            * `morning` - Morning
            * `midday` - Midday
            * `afternoon` - Afternoon
            * `evening` - Evening
            * `late_night` - Late Night
            * `breaking` - Breaking
          x-spec-enum-id: c946736aa899c338
        category:
          enum:
            - news
            - sports
            - business
          type: string
          x-spec-enum-id: 66ae5be8ea000669
          description: >-
            Editorial subject of this bulletin (distinct from slot, which is
            time-of-day)


            * `news` - News

            * `sports` - Sports

            * `business` - Business
        studio:
          type: string
          maxLength: 100
        slot_duration:
          type: string
          nullable: true
        is_active:
          type: boolean
    BulletinConfig:
      type: object
      properties:
        id:
          type: string
          format: uuid
          readOnly: true
        name:
          type: string
          maxLength: 100
        platform:
          enum:
            - television
            - radio
          type: string
          description: |-
            * `television` - Television
            * `radio` - Radio
          x-spec-enum-id: 562fafbd4b066458
        slot:
          enum:
            - morning
            - midday
            - afternoon
            - evening
            - late_night
            - breaking
          type: string
          description: |-
            * `morning` - Morning
            * `midday` - Midday
            * `afternoon` - Afternoon
            * `evening` - Evening
            * `late_night` - Late Night
            * `breaking` - Breaking
          x-spec-enum-id: c946736aa899c338
        category:
          enum:
            - news
            - sports
            - business
          type: string
          x-spec-enum-id: 66ae5be8ea000669
          description: >-
            Editorial subject of this bulletin (distinct from slot, which is
            time-of-day)


            * `news` - News

            * `sports` - Sports

            * `business` - Business
        studio:
          type: string
          maxLength: 100
        slot_duration:
          type: string
          nullable: true
        is_active:
          type: boolean
      required:
        - id
        - name
        - platform
        - slot
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: 'Enter your JWT token in the format: Bearer <token>'

````