AQL is constructed as a set of interconnected domains as displayed in the diagram below. You may run queries only on one domain at a time, and this is referred to as the Primary domain of the query.
The following primary domains are supported:
Domain | Form of Query |
---|---|
Item | items.find(...) |
Build | builds.find(...) NoteTo run queries on the build domain, you must be an admin user. |
Entry | archive.entries.find(...) |
Promotion | build.promotions.find(...) |
Release | releases.find(...) NoteThe Release domain refers to Release Bundles v1, which is created in JFrog Distribution, and not the Release Bundles v2 created in Artifactory. For more information, see Types of Release Bundles. |
You may use fields from other domains as part of your search criteria or to specify fields to display in the output, but in that case, you need to follow the conventions described in Using Fields.