Skip to main content

Get All Platforms

Retrieve a list of all available platforms in the system.

Endpoint

GET /platform/list

Authentication

HeaderValue
AuthorizationBearer <jwt_token>

Example Request

curl -X GET http://localhost:9000/platform/list \
-H "Authorization: Bearer <jwt_token>"

Response

Success Response (200 OK)

{
"platforms": [
{
"ID": "653a52481ff613bed613df58",
"PlatformName": "darwin",
"Updated_at": "2023-10-26T14:49:28.894+03:00"
},
{
"ID": "653a52401ff613bed613df57",
"PlatformName": "linux",
"Updated_at": "2023-10-26T14:49:20.976+03:00"
}
]
}

Response Fields

FieldTypeDescription
platformsarrayArray of platform objects

Platform Object Fields

FieldTypeDescription
IDstringUnique identifier of the platform
PlatformNamestringName of the platform (e.g., linux, darwin)
Updated_atstringLast update timestamp

Notes

  • This endpoint returns all platforms available for application deployment
  • The PlatformName field contains the platform identifier used in uploads and searches
  • Results are typically sorted by creation date (newest first)
  • Empty results array is returned if no platforms are configured