[issue2551415] Can not create rest endpoint using documentation

Magnus Silfversparre <[email protected]> Wed, 08 Apr 2026 14:21:00 +0000
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
New submission from Magnus Silfversparre:

Hi,

I can create a working rest endpoint (summary2) using the documentation with version 2.4 of Roundup. I can not create the same 
endpoint from the documentation using Roundup 2.5.
Is anything broken? I only get 400, 'An error occurred. Please check the server log' and  there is nothing more in the server log.
All the rest endpoints from Roundup 2.5 works fine but I can not  create  a working custom endpoint. I use the same Headers when 
trying to use summary2 as when I access the other Roundup rest endpoints.

This is the data from apache ssl_error_log:

File '/usr/local/python_roundup/lib64/python3.9/site-packages/roundup/rest.py', line 72, in format_object
code, data = func(self, *args, **kwargs)
TypeError: summary2() got an unexpected keyword argument 'input_payload'

Best regards,
Magnus

----------
components: API
messages: 8426
nosy: zapper63
severity: urgent
status: new
title: Can not create rest endpoint using documentation
type: behavior
versions: 2.5.0

_________________________________________________
Roundup tracker <[email protected]>
<https://issues.roundup-tracker.org/issue2551415>
_________________________________________________