Skip to main content

Search application by name

Search for all versions of an application by name with optional filtering.

Endpoint

GET /search?app_name=<app_name>

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Query Parameters

ParameterTypeRequiredDescription
app_namestringName of the application to search for
limitnumberMaximum number of records to return

Optional Filters

ParameterTypeDescription
channelstringFilter by channel name (e.g., stable, beta)
publishedbooleanSet to true to return only published versions
criticalbooleanSet to true to return only critical versions
platformstringFilter by platform (e.g., linux, windows)
archstringFilter by architecture (e.g., amd64, arm64)

Example Request

curl -X GET --location 'http://localhost:9000/search?app_name=secondapp' \
--header 'Authorization: Bearer <jwt_token>'

Search with Filters

curl -X GET --location 'http://localhost:9000/search?app_name=secondapp&channel=stable&published=true&limit=10' \
--header 'Authorization: Bearer <jwt_token>'

Response

Success Response (200 OK)

{
"apps": [
{
"ID": "653a5e4f51ce5114611f5abb",
"AppName": "secondapp",
"Version": "0.0.1",
"Channel": "stable",
"Published": true,
"Artifacts": [
{
"Link": "https://<bucket_name>.s3.amazonaws.com/secondapp/stable/linux/amd64/secondapp-0.0.1.deb",
"Platform": "linux",
"Arch": "amd64",
"Package": ".deb"
},
{
"Link": "https://<bucket_name>.s3.amazonaws.com/secondapp/stable/linux/amd64/secondapp-0.0.1.rpm",
"Platform": "linux",
"Arch": "amd64",
"Package": ".rpm"
}
],
"Changelog": [
{
"Version": "0.0.1",
"Changes": "### Changelog\n\n- Added new feature X\n- Fixed bug Y",
"Date": "2023-10-26"
}
],
"Updated_at": "2023-10-26T15:40:47.226+03:00"
},
{
"ID": "653a6268f51dee6a99a3d88c",
"AppName": "secondapp",
"Version": "0.0.3",
"Channel": "stable",
"Published": true,
"Artifacts": [
{
"Link": "https://<bucket_name>.s3.amazonaws.com/secondapp/stable/linux/amd64/secondapp-0.0.3.deb",
"Platform": "linux",
"Arch": "amd64",
"Package": ".deb"
},
{
"Link": "https://<bucket_name>.s3.amazonaws.com/secondapp/stable/linux/amd64/secondapp-0.0.3.rpm",
"Platform": "linux",
"Arch": "amd64",
"Package": ".rpm"
}
],
"Changelog": [
{
"Version": "0.0.3",
"Changes": "### Changelog\n\n- Added new feature X\n- Fixed bug Y",
"Date": "2023-10-26"
}
],
"Updated_at": "2023-10-26T15:58:16.999+03:00"
}
]
}

Response Fields

FieldTypeDescription
appsarrayArray of application version objects

Application Version Object Fields

FieldTypeDescription
IDstringUnique identifier of the application version
AppNamestringName of the application
VersionstringVersion number
ChannelstringRelease channel (e.g., stable, nightly)
PublishedbooleanWhether the version is published
ArtifactsarrayArray of artifact objects
ChangelogarrayArray of changelog entries
Updated_atstringLast update timestamp

Artifact Object Fields

FieldTypeDescription
LinkstringDirect download URL for the artifact
PlatformstringTarget platform (e.g., linux, windows)
ArchstringTarget architecture (e.g., amd64, arm64)
PackagestringPackage format (e.g., .deb, .rpm)

Changelog Entry Fields

FieldTypeDescription
VersionstringVersion number
ChangesstringChangelog content in markdown format
DatestringRelease date

Notes

  • Results are typically sorted by version (newest first)
  • The limit parameter helps control response size for applications with many versions
  • Multiple filters can be combined for precise searching
  • Empty results array is returned if no matching applications are found