Skip to content

Retrieve summary statistics on the metadata for each program, as well as the current site.

GET
/discovery/programs
curl --request GET \
--url https://your-candig-domain/query/discovery/programs

Retrieve summary statistics on the metadata for each program, as well as the current site.

Summary statistics

Media typeapplication/json

Discovery programs

object
site

Whole-site summary statistics

object
programs

Per-program summary statistics

array
Examplegenerated
{
"site": {},
"programs": [
"example"
]
}

Unspecified server error encountered

Media typeapplication/json
object
query
required

Error object container

object
error
required

Name/type of the error that occurred

string
message
required

Message explaining why the error occurred

string
Example
{
"query": {
"error": "ServerError",
"message": "An unspecified server error occurred"
}
}