-
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
2 changed files
with
47 additions
and
2 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
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"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": { | ||
"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" | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"entityTypeId" | ||
] | ||
} |