Skip to Content
OpenPerf

Releases

Find a release by version

GET
/api/v1/releases/lookup

Returns the release that a version string names in one project.

Authorization

headerAuthorizationBearer <opaque>

Organization API token (opt_…)

Query Parameters

projectId*string
Match^[\w-]+$
Lengthlength <= 64
version*string
Match^[^\s/]+$
Length1 <= length <= 200

Response Body

application/json
  1. response
id*string
version*string
Example Request
curl -X GET 'https://api.example.com/api/v1/releases/lookup?projectId=string&version=string' \
  -H 'Authorization: Bearer <token>'
Example Response
{
  "id": "string",
  "version": "string"
}