Skip to content

Why do we use job_ids as Query and not as Body? #585

@aldbr

Description

@aldbr

This generates queries that can quickly become very long and very limited by the URL max length:

https://diracx.app/api/jobs/?job_ids=0&job_ids=12&job_ids=...

Trying to delete 1,000 elements in a single call generates an error for instance.
@TheauW bumps into the issue while making tests with diracx-web.

Is there any particular reason not to use the body here?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions