| 
      
            Lines 78-83
          
      
      
        Link Here
      
     | 
  
        
          | 78 | 
                    type: string  | 
          78 | 
                    type: string  | 
        
        
          | 79 | 
                    enum:  | 
          79 | 
                    enum:  | 
        
        
          | 80 | 
                      - issuer  | 
          80 | 
                      - issuer  | 
        
            
               | 
               | 
              81 | 
                          - renewals  | 
            
        
          | 81 | 
                  collectionFormat: csv  | 
          82 | 
                  collectionFormat: csv  | 
        
        
          | 82 | 
              produces:  | 
          83 | 
              produces:  | 
        
        
          | 83 | 
                - application/json  | 
          84 | 
                - application/json  | 
        
  
    | 
      
            Lines 147-152
          
      
      
        Link Here
      
     | 
  
        
          | 147 | 
              x-koha-authorization:  | 
          148 | 
              x-koha-authorization:  | 
        
        
          | 148 | 
                permissions:  | 
          149 | 
                permissions:  | 
        
        
          | 149 | 
                  circulate: circulate_remaining_permissions  | 
          150 | 
                  circulate: circulate_remaining_permissions  | 
        
            
               | 
               | 
              151 | 
              "/checkouts/{checkout_id}/renewals": | 
            
            
              | 152 | 
                get:  | 
            
            
              | 153 | 
                  x-mojo-to: Checkouts#get_renewals  | 
            
            
              | 154 | 
                  operationId: getRenewals  | 
            
            
              | 155 | 
                  tags:  | 
            
            
              | 156 | 
                    - checkouts  | 
            
            
              | 157 | 
                  summary: List renewals for a checkout  | 
            
            
              | 158 | 
                  parameters:  | 
            
            
              | 159 | 
                    - $ref: ../parameters.yaml#/checkout_id_pp  | 
            
            
              | 160 | 
                  produces:  | 
            
            
              | 161 | 
                    - application/json  | 
            
            
              | 162 | 
                  responses:  | 
            
            
              | 163 | 
                    "200":  | 
            
            
              | 164 | 
                      description: List of checkouts renewals  | 
            
            
              | 165 | 
                      schema:  | 
            
            
              | 166 | 
                        $ref: ../definitions.yaml#/renewal  | 
            
            
              | 167 | 
                    "403":  | 
            
            
              | 168 | 
                      description: Access forbidden  | 
            
            
              | 169 | 
                      schema:  | 
            
            
              | 170 | 
                        $ref: ../definitions.yaml#/error  | 
            
            
              | 171 | 
                    "404":  | 
            
            
              | 172 | 
                      description: Checkout not found  | 
            
            
              | 173 | 
                      schema:  | 
            
            
              | 174 | 
                        $ref: ../definitions.yaml#/error  | 
            
            
              | 175 | 
                    "500":  | 
            
            
              | 176 | 
                      description: |  | 
            
            
              | 177 | 
                        Internal server error. Possible `error_code` attribute values:  | 
            
            
              | 178 | 
               | 
            
            
              | 179 | 
                        * `internal_server_error`  | 
            
            
              | 180 | 
                      schema:  | 
            
            
              | 181 | 
                        $ref: ../definitions.yaml#/error  | 
            
            
              | 182 | 
                    "503":  | 
            
            
              | 183 | 
                      description: Under maintenance  | 
            
            
              | 184 | 
                      schema:  | 
            
            
              | 185 | 
                        $ref: ../definitions.yaml#/error  | 
            
            
              | 186 | 
                  x-koha-authorization:  | 
            
            
              | 187 | 
                    permissions:  | 
            
            
              | 188 | 
                      circulate: circulate_remaining_permissions  | 
            
            
              | 189 | 
                  x-koha-embed:  | 
            
            
              | 190 | 
                      - renewer  | 
            
        
          | 150 | 
          "/checkouts/{checkout_id}/allows_renewal": | 
          191 | 
          "/checkouts/{checkout_id}/allows_renewal": | 
        
        
          | 151 | 
            get:  | 
          192 | 
            get:  | 
        
        
          | 152 | 
              x-mojo-to: Checkouts#allows_renewal  | 
          193 | 
              x-mojo-to: Checkouts#allows_renewal  | 
        
            
              | 153 | 
              -   | 
               | 
               |