aql
[!TIP|label:references:]
syntax
item
repo
String
item
path
String
item
name
String
item
created
Date
item
modified
Date
item
updated
Date
item
created_by
String
item
modified_by
String
item
type
Enum
item
depth
Int
item
original_md5
String
item
actual_md5
String
item
original_sha1
String
item
actual_sha1
String
item
sha256
String
item
size
Long
item
virtual_repos
String
entry
name
String
entry
path
String
promotion
created
String
promotion
created_by
String
promotion
status
String
promotion
repo
String
promotion
comment
String
promotion
user
String
build
url
String
build
name
String
build
number
String
build
created
Date
build
created_by
String
build
modified
Date
build
modified_by
String
build
Started
Date
property
key
String
property
value
String
stat
downloaded
Date
stat
downloads
Int
stat
downloaded_by
String
stat
remote_downloads
Int
stat
remote_downloaded
Date
stat
remote_downloaded_by
String
stat
remote_origin
String
stat
remote_path
String
artifact
name
String
artifact
type
String
artifact
sha1
String
artifact
md5
String
module
name
String
dependency
name
String
dependency
scope
String
dependency
type
String
dependency
sha1
String
dependency
md5
String
release
name
String
release
version
String
release
status
String
release
created
String
release
signature
String
release_artifact
path
String
$ne
string, date, int, long
$eq
string, date, int, long
$gt
string, date, int, long
$gte
string, date, int, long
$lt
string, date, int, long
$lte
string, date, int, long
$match
string, date, int, long
$nmatch
string, date, int, long
[!NOTE|label:references:]
AQL supports specifying time intervals for queries using relative time. In other words, the time interval for the query will always be relative to the time that the query is run, so you don't have to change or formulate the time period, in some other way, each time the query is run. For example, you may want to run a query over the last day, or for the time period up to two weeks ago.
Relative time is specified using the following two operators:
$before
The query is run over complete period up to specified time.
$last
The query is run over period from the specified time until the query is run
Time periods are specified with a number and one of the following suffixes:
milliseconds
"mills", "ms"
seconds
"seconds", "s"
minutes
"minutes"
days
"days", "d"
weeks
"weeks", "w"
months
"months", "mo"
years
"years", "y"
find in files by name/pattern
running via
curl -d
running via
curl -T
in same repo
in different repo
find items (folder) some times ago by aql
find root folder && 4 weeks ago (by using
-T, --upload-file
)
-T, --upload-file This transfers the specified local file to the remote URL. If there is no file part in the specified URL, curl will append the local file name. NOTE that you must use a trailing / on the last directory to really prove to Curl that there is no file name or curl will think that your last directory name is the remote file name to use. That will most likely cause the upload operation to fail. If this is used on an HTTP(S) server, the PUT command will be used.
search by using
-d, --data
d, --data (HTTP) Sends the specified data in a POST request to the HTTP server, in the same way that a browser does when a user has filled in an HTML form and presses the submit button. This will cause curl to pass the data to the server using the content-type application/x-www-form- urlencoded. Compare to -F, --form.
or
or (with sort and limit)
Artifactory query language (AQL). How to write a not match query with $nmatch
or
-d @<filename>
Last updated