Skip to content

[CAT] Standardise endpoints #2

@piotrwyrw

Description

@piotrwyrw

Some Catalyst routes utilise UUIDs of sequential elements for performing data manipulation. This, however, shall not be the case anymore; CAT endpoints shall utilise the unique handles of the elements (The handles are unique on per-article level).
New endpoints shall take the ID of the article and the handle of the requested element for performing the operations. This also forces the backend programmer to check for element availability, which in turn increases security and prevents unauthorised users from modifying unrelated articles. This is somewhat related with a security system (or security improvement patch) that needs to be implemented at some time in the future anyway.

Note

This issue is related to the OpenAPI spec submodule repo.
-> Make sure to update the submodule ref in the related repos!

Metadata

Metadata

Assignees

Labels

EssentialAn essential feature required for proper operation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions