-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MODFQMMGR-392:Add endpoint to upgrade a provided query
- Loading branch information
Showing
3 changed files
with
37 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,29 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"title": "IDs of deleted queries", | ||
"description": "IDs of deleted queries", | ||
"title": "Entity Upgrade Request", | ||
"description": "Schema for a request to upgrade an entity payload, including an entity type ID, FQL query, and list of fields.", | ||
"type": "object", | ||
"properties": { | ||
"deletedQueryIds": { | ||
"description": "Ids of the deleted queries", | ||
"entityTypeId": { | ||
"description": "ID of the entity type to be upgraded", | ||
"type": "string", | ||
"format": "UUID" | ||
}, | ||
"fqlQuery": { | ||
"description": "FQL query string to be used for the upgrade", | ||
"type": "string" | ||
}, | ||
"fields": { | ||
"description": "List of fields to be included in the upgrade", | ||
"type": "array", | ||
"items": { | ||
"type": "string", | ||
"format": "UUID" | ||
"type": "string" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"deletedQueryIds" | ||
"entityTypeId", | ||
"fqlQuery", | ||
"fields" | ||
] | ||
} |