LogoLogo
What's New?Connect Agent ReleasesBook a DemoPricing
  • Documentation
  • Developers
  • Administration
  • API Reference
    • Connect API Reference
      • Devices
      • Deployments
      • Device Files
      • Port Tunneling
      • API Reference v1 (Legacy)
        • Device state
        • Bulk devices state
        • Get devices details
        • Change devices details
        • Deploy Update
        • Update Trigger
        • Tags
        • Apps
    • Create Access Token
  • GitHub Action
    • Deploy Device Update
Powered by GitBook
On this page
  • Authorization
  • Base URL
  • Cloud
  • Self-Hosted
  • What's Next?

Was this helpful?

Export as PDF
  1. API Reference

Connect API Reference

JFrog Connect REST API v2

NextDevices

Was this helpful?

The JFrog Connect API v2 enables programmatic access to and control of Connect’s basic functions, which is ideal for managing your fleet of devices. The automation capabilities that the REST API provides are crucial for the management of large fleets of edge devices.

The API enables you to embed Connect functionality into your CI/CD pipeline and to deploy OTA updates as part of new application releases. You can also use the API to create a custom dashboard or integrate Connect information with an existing dashboard.

The v2 API has API calls that enable you to get information about your devices, update device information, add tags and apps to devices, get monitoring and health info, and deploy that you have defined in the web UI.

Authorization

You will need to from the Connect web UI to use the Connect API v2. The v1 token will not work for v2.

Important: For security reasons, the new token generated by Connect will not be stored. Ensure that you copy the token and save it in a safe place.

Base URL

In the Connect API v2, the URLs have the form:

{{base_url}}/api/v2/...

For example, a URL for Get Device, using "demo" as project_key and "d-feaf-d9aa" as device_uuid would be:

{{base_url}}/api/v2/demo/devices/d-feaf-d9aa

Cloud

If you are a cloud user of Connect (i.e., multi-tenant SaaS), the base_url is:

https://api.connect.jfrog.io

So an example of the full URL for the above request would be:

https://api.connect.jfrog.io/api/v2/demo/devices/d-feaf-d9aa

This is the base URL used throughout the API reference documentation.

Self-Hosted

If you are a self-hosted user of Connect, the base URL will be different from the example above and will depend on the environment of your organization. You will need to use the base URL for your organization in the API requests.

What's Next?

Learn how to for using the API.

software update flows
get an access token
get an access token