Skip to contents

Retrieves lifecycle information for a ServCat reference from the secure ServCat API. This endpoint requires a valid SERVCAT_API_KEY environment variable unless api_key is supplied directly.

Usage

get_lifecycle(reference_id, api_key = NULL)

Arguments

reference_id

A single ServCat reference ID.

api_key

Optional secure API key. If omitted, the package API-key helper is used.

Value

A named list.

Examples

if (FALSE) { # \dontrun{
# Retrieve lifecycle information from the secure API
get_lifecycle(140411)
} # }