Skip to content

Get an OCM repository

GET
/api/admin/migration/ocm/{config_id}/repository/{repo_id}
curl --request GET \
--url https://example.com/api/admin/migration/ocm/example/repository/example \
--header 'Authorization: Bearer <token>'

Retrieves a single repository from the OCM source instance

config_id
required

Repository configuration ID

string
repo_id
required

OCM repository ID

string

OCM repository retrieved successfully

Media typeapplication/json

A single OCM repository from the source instance

object
id

OCM repository ID

string
name

OCM repository name

string
Examplegenerated
{
"id": "example",
"name": "example"
}