This is an API to search through a DiamondFire action dump.
This API provides access to a collection of actions, codeblocks, and events. It supports retrieving all items in each category or searching within them based on specific criteria.
- Method: GET
- Description: Retrieves the entire JSON data.
- Response:
200 OK
: JSON data of the entire action dump.
- Method: GET
- Description: Retrieves all codeblocks.
- Response:
200 OK
: JSON data of all codeblocks.
- Method: GET
- Description: Searches within codeblocks based on a query.
- Query Parameters:
q
: The search query string.
- Response:
200 OK
: JSON data of matching codeblocks.
- Method: GET
- Description: Retrieves all events.
- Response:
200 OK
: JSON data of all events.
- Method: GET
- Description: Searches within events based on various criteria.
- Query Parameters:
q
: The search query string.requiredrank
: Filters events by the required rank.
- Response:
200 OK
: JSON data of matching events.
- Method: GET
- Description: Retrieves all actions.
- Response:
200 OK
: JSON data of all actions.
- Method: GET
- Description: Searches within actions based on various criteria.
- Query Parameters:
q
: The search query string.requiredrank
: Filters actions by the required rank.workswith
: Filters actions by compatibility.
- Response:
200 OK
: JSON data of matching actions.
jsonResponse(data)
: Returns a JSON formatted response containing the data.- Search functionality is provided using
ActionDump.search()
, which filters the data based on specified fields and query parameters.
- Codeblocks: Searches by name and item description.
- Events: Searches by name, aliases, icon name, icon description, and optional rank.
- Actions: Searches by name, icon name, aliases, icon description, and filters by rank and compatibility attributes.