Skip to contents

Get event subscription

Usage

get_event_subscription(subscriptionId, as = "data.frame", env = "production")

Arguments

subscriptionId

(numeric) Event subscription identifier

as

(character) Format of the returned object. Can be: "data.frame" or "xml".

env

(character) Repository environment. Can be: "production", "staging", or "development".

Value

(data.frame or xml_document) Subscription metadata

Note

User authentication is required (see login())

Examples

if (FALSE) {

login()

# Get subscription
subscription <- get_event_subscription(
  subscriptionId = 21,
  env = "staging"
)

logout()
}