Skip to main content
POST
/
api
/
v4
/
ppm
/
search
Search PPM Snapshots with Workspace Repository Targeting
curl --request POST \
  --url https://api.example.com/api/v4/ppm/search \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "constraints": "<string>",
  "biocVersion": "<string>",
  "forwardLookingSnapshotSearch": false,
  "minRVersion": "<string>",
  "repo": "<string>",
  "repoAllowlist": [
    "<string>"
  ],
  "workspaceRepos": [
    {
      "baseUrl": "<string>",
      "currentSnapshot": "<string>",
      "fullUrl": "<string>",
      "repoName": "<string>"
    }
  ]
}
'
{
  "repos": [
    {
      "fullRepoUrl": "<string>",
      "message": "<string>",
      "repoName": "<string>"
    }
  ],
  "snapshots": [
    {
      "packages": [
        "<string>"
      ],
      "repo": "<string>",
      "snapshot": "<string>"
    }
  ]
}

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json
constraints
string
required

Comma-separated package constraints (e.g., "ggplot2==3.5.0,dplyr>=1.0.0,sf")

biocVersion
string

Bioconductor version for Bioconductor repositories (e.g., "3.19", "3.20"). If omitted, auto-discovers latest version

If true, uses currentSnapshot from workspaceRepos as starting point for forward search. Requires workspaceRepos to be provided

minRVersion
string

Minimum R version for filtering packages (e.g., "4.0", "3.5.0"). If provided, only packages that require this R version or greater will be returned

repo
string

Specific repository name filter (e.g., "cran", "bioconductor", "pypi"). If omitted, query all enabled repos

repoAllowlist
string[]

Optional list of allowed repository URLs. If provided and non-empty, only results from repos matching these URLs will be returned

repoType
enum<string>

Repository type filter. If omitted, query all repository types

Available options:
R,
Bioconductor,
Python
workspaceRepos
object[]

Array of workspace repositories from renv.lock. If provided, search is limited to matching server repositories

Response

Success

repos
object[]
required
snapshots
object[]
required