Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Store Customization > Enable DELETE request for the ai/patterns endpoint #11873

@nefeline

Description

@nefeline

Enable the DELETE request for the ai/patterns route within Store API to ensure all patterns have content reset to default. This goal can be achieved by simply deleting the post with the type 'patterns_ai_data' from the database (when this post doesn't exist, patterns are rendered based on the info provided by the patterns dictionary instead - the Patterns/dictionary.json file).

The DELETE request is required to ensure that if, for some reason, AI is not available, the user can still be guided to the Assembler with the patterns rendering their native/default content.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions