info:
  name: Get Media Rating
  type: http
  seq: 18

http:
  method: GET
  url: "{{base_url}}/api/media-items/{{media_item_id}}/rating"
  headers:
    - name: ""
      value: application/json
  auth: inherit

runtime:
  scripts:
    - type: tests
      code: |-
        test_get_media_rating_success(status, headers, body) {
            if (status !== 200) {
              throw new Error("Expected status 200, got " + status);

settings:
  encodeUrl: true
  timeout: 0
  followRedirects: true
  maxRedirects: 5

docs: |-
  ## Get Media Rating
    
    Retrieves a user's rating for a specific media item.
    
    **Method:** GET
    
    **Endpoint:** /api/media-items/{id
